diff --git a/.env b/.env index 55ec662f24..88dec63b1c 100644 --- a/.env +++ b/.env @@ -21,13 +21,13 @@ _APP_OPTIONS_ROUTER_PROTECTION=disabled _APP_OPTIONS_FORCE_HTTPS=disabled _APP_OPTIONS_ROUTER_FORCE_HTTPS=disabled _APP_OPENSSL_KEY_V1=your-secret-key -_APP_DNS=8.8.8.8 +_APP_DNS=172.16.238.100 # CoreDNS _APP_DOMAIN=appwrite.test _APP_CONSOLE_DOMAIN=localhost _APP_DOMAIN_FUNCTIONS=functions.localhost _APP_DOMAIN_SITES=sites.localhost -_APP_DOMAIN_TARGET_CNAME=test.localhost -_APP_DOMAIN_TARGET_A=127.0.0.1 +_APP_DOMAIN_TARGET_CNAME=cname.localhost +_APP_DOMAIN_TARGET_A=203.0.0.1 _APP_DOMAIN_TARGET_AAAA=::1 _APP_DOMAIN_TARGET_CAA=digicert.com _APP_RULES_FORMAT=md5 @@ -69,8 +69,8 @@ _APP_STORAGE_ANTIVIRUS_PORT=3310 _APP_SMTP_HOST=maildev _APP_SMTP_PORT=1025 _APP_SMTP_SECURE= -_APP_SMTP_USERNAME= -_APP_SMTP_PASSWORD= +_APP_SMTP_USERNAME=user +_APP_SMTP_PASSWORD=password _APP_SMS_PROVIDER=sms://username:password@mock _APP_SMS_FROM=+123456789 _APP_SMS_PROJECTS_DENY_LIST= @@ -101,6 +101,7 @@ _APP_USAGE_AGGREGATION_INTERVAL=30 _APP_STATS_RESOURCES_INTERVAL=30 _APP_MAINTENANCE_RETENTION_USAGE_HOURLY=8640000 _APP_MAINTENANCE_RETENTION_SCHEDULES=86400 +_APP_INTERVAL_DOMAIN_VERIFICATION=60 _APP_USAGE_STATS=enabled _APP_LOGGING_CONFIG= _APP_LOGGING_CONFIG_REALTIME= @@ -125,3 +126,4 @@ _APP_WEBHOOK_MAX_FAILED_ATTEMPTS=10 _APP_PROJECT_REGIONS=default _APP_FUNCTIONS_CREATION_ABUSE_LIMIT=5000 _APP_STATS_USAGE_DUAL_WRITING_DBS=database_db_main +_APP_TRUSTED_HEADERS=x-forwarded-for \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000..a0ffdbea4c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,73 @@ +# AGENTS.md + +Appwrite is an end-to-end backend server for web, mobile, native, and backend apps. This guide provides context and instructions for AI coding agents working on the Appwrite codebase. + +## Project Overview + +Appwrite is a self-hosted Backend-as-a-Service (BaaS) platform that provides developers with a set of APIs and tools to build secure, scalable applications. The project uses a hybrid monolithic-microservice architecture built with PHP, running on Swoole for high performance. + +**Key Technologies:** +- **Backend:** PHP 8.3+, Swoole +- **Libraries:** Utopia PHP +- **Database:** MariaDB, Redis +- **Cache:** Redis +- **Queue:** Redis +- **Containers:** Docker + +## Development Commands + +```bash +# Run Appwrite +docker compose up -d --force-recreate --build + +# Run specific test +docker compose exec appwrite test /usr/src/code/tests/e2e/Services/[ServiceName] --filter=[FunctionName] + +# Format code +composer format +``` + +## Code Style Guidelines + +- Follow [PSR-12](https://www.php-fig.org/psr/psr-12/) coding standard +- Use PSR-4 autoloading +- Strict type declarations where applicable +- Comprehensive PHPDoc comments + +### Naming Conventions + +#### `resourceType` Naming Rule + +When a collection has a combination of `resourceType`, `resourceId`, and/or `resourceInternalId`, the value of `resourceType` MUST always be **plural** - for example: `functions`, `sites`, `deployments`. + +Examples: +```php +'resourceType' => 'functions' +'resourceType' => 'sites' +'resourceType' => 'deployments' +``` + +## Security Considerations + +### Critical Security Practices + +- **Never hardcode credentials** - Use environment variables +- **Rate limiting** - Respect abuse prevention mechanisms + +## Dependencies + +Avoid introducing new dependencies other than utopia-php. + +## Pull Request Guidelines +### Before Submitting + +- Run `composer format` +- Update documentation if adding features +- Add/update tests for your changes +- Check that Docker build succeeds +`docs/specs/authentication.drawio.svg` + +## Known Issues and Gotchas + +- **Hot Reload:** Code changes require container restart in some cases +- **Logging:** There is no central place for logs, so when debugging, ensure to check all possibly relevant containers diff --git a/Dockerfile b/Dockerfile index e146008222..ecc5112cc4 100755 --- a/Dockerfile +++ b/Dockerfile @@ -57,6 +57,7 @@ RUN mkdir -p /storage/uploads && \ # Executables RUN chmod +x /usr/local/bin/doctor && \ chmod +x /usr/local/bin/install && \ + chmod +x /usr/local/bin/interval && \ chmod +x /usr/local/bin/maintenance && \ chmod +x /usr/local/bin/migrate && \ chmod +x /usr/local/bin/realtime && \ diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index b839e51622..e919df8e1a 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -6,7 +6,7 @@ use Utopia\Database\Helpers\ID; $providers = Config::getParam('oAuthProviders', []); -return [ +$platformCollections = [ 'projects' => [ '$collection' => ID::custom(Database::METADATA), '$id' => ID::custom('projects'), @@ -643,6 +643,39 @@ return [ 'array' => false, 'filters' => [], ], + [ + '$id' => 'resourceType', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], + [ + '$id' => 'resourceId', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], + [ + '$id' => 'resourceInternalId', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], [ '$id' => ID::custom('name'), 'type' => Database::VAR_STRING, @@ -718,6 +751,13 @@ return [ 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], + [ + '$id' => '_key_resource', + 'type' => Database::INDEX_KEY, + 'attributes' => ['resourceType', 'resourceInternalId'], + 'lengths' => [Database::LENGTH_KEY], + 'orders' => [Database::ORDER_ASC], + ], [ '$id' => '_key_accessedAt', 'type' => Database::INDEX_KEY, @@ -1317,6 +1357,17 @@ return [ 'array' => false, 'filters' => [], ], + [ + '$id' => ID::custom('logs'), + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => 1000000, + 'signed' => true, + 'required' => false, + 'default' => '', + 'array' => false, + 'filters' => [], + ], ], 'indexes' => [ [ @@ -1892,3 +1943,31 @@ return [ 'indexes' => [] ], ]; + +// Organization API keys subquery +$platformCollections['teams']['attributes'][] = [ + '$id' => ID::custom('keys'), + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => 16384, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => ['subQueryOrganizationKeys'], +]; + +// Account API keys subquery +$platformCollections['users']['attributes'][] = [ + '$id' => ID::custom('keys'), + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => 16384, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => ['subQueryAccountKeys'], +]; + +return $platformCollections; diff --git a/app/config/locale/templates/email-base-styled.tpl b/app/config/locale/templates/email-base-styled.tpl index 1979d560b5..81964b968f 100644 --- a/app/config/locale/templates/email-base-styled.tpl +++ b/app/config/locale/templates/email-base-styled.tpl @@ -187,7 +187,7 @@ Appwrite logo @@ -225,7 +225,7 @@ @@ -234,7 +234,7 @@ @@ -242,7 +242,7 @@ @@ -252,15 +252,15 @@ - + - +
TermsTerms
|
PrivacyPrivacy

- © {{year}} Appwrite | 251 Little Falls Drive, Wilmington 19808, + © {{year}} {{platform}} | 251 Little Falls Drive, Wilmington 19808, Delaware, United States

diff --git a/app/config/oAuthProviders.php b/app/config/oAuthProviders.php index d8dfc807b1..e6acd08c54 100644 --- a/app/config/oAuthProviders.php +++ b/app/config/oAuthProviders.php @@ -462,4 +462,15 @@ return [ 'mock' => true, 'class' => 'Appwrite\\Auth\\OAuth2\\Mock', ], + 'mock-unverified' => [ + 'name' => 'MockUnverified', + 'developers' => 'https://appwrite.io', + 'icon' => 'icon-appwrite', + 'enabled' => true, + 'sandbox' => false, + 'form' => false, + 'beta' => false, + 'mock' => true, + 'class' => 'Appwrite\\Auth\\OAuth2\\MockUnverified', + ], ]; diff --git a/app/config/platform.php b/app/config/platform.php index b9d9dccbef..e44eaefa89 100644 --- a/app/config/platform.php +++ b/app/config/platform.php @@ -22,4 +22,5 @@ return [ 'termsUrl' => APP_EMAIL_TERMS_URL, 'privacyUrl' => APP_EMAIL_PRIVACY_URL, 'websiteUrl' => 'https://' . APP_DOMAIN, + 'emailSenderName' => APP_EMAIL_PLATFORM_NAME, ]; diff --git a/app/config/roles.php b/app/config/roles.php index 3bf2297550..25a6bac4da 100644 --- a/app/config/roles.php +++ b/app/config/roles.php @@ -58,6 +58,8 @@ $admins = [ 'projects.write', 'keys.read', 'keys.write', + 'devKeys.read', + 'devKeys.write', 'webhooks.read', 'webhooks.write', 'locale.read', diff --git a/app/config/sdks.php b/app/config/sdks.php index b8b66efa39..9b5d17176f 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -1,8 +1,8 @@ [ - 'key' => APP_PLATFORM_CLIENT, + APP_SDK_PLATFORM_CLIENT => [ + 'key' => APP_SDK_PLATFORM_CLIENT, 'name' => 'Client', 'description' => 'Client libraries for integrating with Appwrite to build client-based applications and websites. Read the [getting started for web](https://appwrite.io/docs/getting-started-for-web) or [getting started for Flutter](https://appwrite.io/docs/getting-started-for-flutter) tutorials to start building your first application.', 'enabled' => true, @@ -18,7 +18,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'javascript', 'source' => \realpath(__DIR__ . '/../sdks/client-web'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-web.git', @@ -67,7 +67,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'dart', 'source' => \realpath(__DIR__ . '/../sdks/client-flutter'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-flutter.git', @@ -86,7 +86,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'swift', 'source' => \realpath(__DIR__ . '/../sdks/client-apple'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-apple.git', @@ -104,7 +104,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => '', 'source' => false, 'gitUrl' => 'git@github.com:appwrite/sdk-for-objective-c.git', @@ -116,6 +116,7 @@ return [ [ 'key' => 'android', 'name' => 'Android', + 'namespace' => 'io.appwrite', 'version' => '11.4.0', 'url' => 'https://github.com/appwrite/sdk-for-android', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android', @@ -123,7 +124,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'kotlin', 'source' => \realpath(__DIR__ . '/../sdks/client-android'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-android.git', @@ -146,7 +147,7 @@ return [ 'beta' => true, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'javascript', 'source' => \realpath(__DIR__ . '/../sdks/client-react-native'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-react-native.git', @@ -165,7 +166,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => true, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'graphql', 'source' => \realpath(__DIR__ . '/../sdks/client-graphql'), 'gitUrl' => '', @@ -185,7 +186,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => true, - 'family' => APP_PLATFORM_CLIENT, + 'family' => APP_SDK_PLATFORM_CLIENT, 'prism' => 'http', 'source' => \realpath(__DIR__ . '/../sdks/client-rest'), 'gitUrl' => '', @@ -198,8 +199,8 @@ return [ ], ], - APP_PLATFORM_CONSOLE => [ - 'key' => APP_PLATFORM_CONSOLE, + APP_SDK_PLATFORM_CONSOLE => [ + 'key' => APP_SDK_PLATFORM_CONSOLE, 'name' => 'Console', 'enabled' => false, 'beta' => false, @@ -214,7 +215,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => true, - 'family' => APP_PLATFORM_CONSOLE, + 'family' => APP_SDK_PLATFORM_CONSOLE, 'prism' => 'javascript', 'source' => \realpath(__DIR__ . '/../sdks/console-web'), 'gitUrl' => '', @@ -233,7 +234,7 @@ return [ 'beta' => true, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_CONSOLE, + 'family' => APP_SDK_PLATFORM_CONSOLE, 'prism' => 'bash', 'source' => \realpath(__DIR__ . '/../sdks/console-cli'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-cli.git', @@ -252,8 +253,8 @@ return [ ], ], - APP_PLATFORM_SERVER => [ - 'key' => APP_PLATFORM_SERVER, + APP_SDK_PLATFORM_SERVER => [ + 'key' => APP_SDK_PLATFORM_SERVER, 'name' => 'Server', 'description' => 'Libraries for integrating with Appwrite to build server side integrations. Read the [getting started for server](https://appwrite.io/docs/getting-started-for-server) tutorial to start building your first server integration.', 'enabled' => true, @@ -262,14 +263,14 @@ return [ [ 'key' => 'nodejs', 'name' => 'Node.js', - 'version' => '21.0.0', + 'version' => '21.1.0', 'url' => 'https://github.com/appwrite/sdk-for-node', 'package' => 'https://www.npmjs.com/package/node-appwrite', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'javascript', 'source' => \realpath(__DIR__ . '/../sdks/server-nodejs'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-node.git', @@ -281,14 +282,14 @@ return [ [ 'key' => 'php', 'name' => 'PHP', - 'version' => '19.0.0', + 'version' => '19.1.0', 'url' => 'https://github.com/appwrite/sdk-for-php', 'package' => 'https://packagist.org/packages/appwrite/appwrite', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'php', 'source' => \realpath(__DIR__ . '/../sdks/server-php'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-php.git', @@ -300,14 +301,14 @@ return [ [ 'key' => 'python', 'name' => 'Python', - 'version' => '14.0.0', + 'version' => '14.1.0', 'url' => 'https://github.com/appwrite/sdk-for-python', 'package' => 'https://pypi.org/project/appwrite/', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'python', 'source' => \realpath(__DIR__ . '/../sdks/server-python'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-python.git', @@ -319,14 +320,14 @@ return [ [ 'key' => 'ruby', 'name' => 'Ruby', - 'version' => '20.0.0', + 'version' => '20.1.0', 'url' => 'https://github.com/appwrite/sdk-for-ruby', 'package' => 'https://rubygems.org/gems/appwrite', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'ruby', 'source' => \realpath(__DIR__ . '/../sdks/server-ruby'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-ruby.git', @@ -338,14 +339,14 @@ return [ [ 'key' => 'go', 'name' => 'Go', - 'version' => 'v0.15.0', + 'version' => 'v0.16.0', 'url' => 'https://github.com/appwrite/sdk-for-go', 'package' => 'https://github.com/appwrite/sdk-for-go', 'enabled' => true, 'beta' => true, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'go', 'source' => \realpath(__DIR__ . '/../sdks/server-go'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-go.git', @@ -357,14 +358,14 @@ return [ [ 'key' => 'dotnet', 'name' => '.NET', - 'version' => '0.23.0', + 'version' => '0.24.0', 'url' => 'https://github.com/appwrite/sdk-for-dotnet', 'package' => 'https://www.nuget.org/packages/Appwrite', 'enabled' => true, 'beta' => true, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'csharp', 'source' => \realpath(__DIR__ . '/../sdks/server-dotnet'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-dotnet.git', @@ -376,14 +377,14 @@ return [ [ 'key' => 'dart', 'name' => 'Dart', - 'version' => '20.0.0', + 'version' => '20.1.0', 'url' => 'https://github.com/appwrite/sdk-for-dart', 'package' => 'https://pub.dev/packages/dart_appwrite', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'dart', 'source' => \realpath(__DIR__ . '/../sdks/server-dart'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-dart.git', @@ -395,14 +396,15 @@ return [ [ 'key' => 'kotlin', 'name' => 'Kotlin', - 'version' => '13.0.0', + 'namespace' => 'io.appwrite', + 'version' => '13.1.0', 'url' => 'https://github.com/appwrite/sdk-for-kotlin', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'kotlin', 'source' => \realpath(__DIR__ . '/../sdks/server-kotlin'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-kotlin.git', @@ -418,14 +420,14 @@ return [ [ 'key' => 'swift', 'name' => 'Swift', - 'version' => '14.0.0', + 'version' => '14.1.0', 'url' => 'https://github.com/appwrite/sdk-for-swift', 'package' => 'https://github.com/appwrite/sdk-for-swift', 'enabled' => true, 'beta' => false, 'dev' => false, 'hidden' => false, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'swift', 'source' => \realpath(__DIR__ . '/../sdks/server-swift'), 'gitUrl' => 'git@github.com:appwrite/sdk-for-swift.git', @@ -444,7 +446,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => true, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'graphql', 'source' => \realpath(__DIR__ . '/../sdks/server-graphql'), 'gitUrl' => '', @@ -464,7 +466,7 @@ return [ 'beta' => false, 'dev' => false, 'hidden' => true, - 'family' => APP_PLATFORM_SERVER, + 'family' => APP_SDK_PLATFORM_SERVER, 'prism' => 'http', 'source' => \realpath(__DIR__ . '/../sdks/server-rest'), 'gitUrl' => '', diff --git a/app/config/services.php b/app/config/services.php index 5f8651e59f..e4bbf9b6f6 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -13,19 +13,21 @@ return [ 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'web/console' => [ 'key' => 'web/console', 'name' => 'Console', 'subtitle' => '', 'description' => '', - 'controller' => 'web/console.php', + 'controller' => '', // Uses modules 'sdk' => false, 'docs' => false, 'docsUrl' => '', 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'account' => [ 'key' => 'account', @@ -39,6 +41,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/account.png', + 'platforms' => ['client', 'server', 'console'], ], 'avatars' => [ 'key' => 'avatars', @@ -52,6 +55,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/avatars.png', + 'platforms' => ['client', 'server', 'console'], ], 'databases' => [ 'key' => 'databases', @@ -65,6 +69,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/databases.png', + 'platforms' => ['client', 'server', 'console'], ], 'tablesdb' => [ 'key' => 'tablesdb', @@ -78,6 +83,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/databases.png', + 'platforms' => ['client', 'server', 'console'], ], 'locale' => [ 'key' => 'locale', @@ -91,6 +97,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/locale.png', + 'platforms' => ['client', 'server', 'console'], ], 'health' => [ 'key' => 'health', @@ -104,6 +111,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/health.png', + 'platforms' => ['client', 'server', 'console'], ], 'projects' => [ 'key' => 'projects', @@ -117,6 +125,7 @@ return [ 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'project' => [ 'key' => 'project', @@ -130,19 +139,21 @@ return [ 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'storage' => [ 'key' => 'storage', 'name' => 'Storage', 'subtitle' => 'The Storage service allows you to manage your project files.', 'description' => '/docs/services/storage.md', - 'controller' => 'api/storage.php', + 'controller' => '', 'sdk' => true, 'docs' => true, 'docsUrl' => 'https://appwrite.io/docs/client/storage', 'tests' => false, 'optional' => true, 'icon' => '/images/services/storage.png', + 'platforms' => ['client', 'server', 'console'], ], 'teams' => [ 'key' => 'teams', @@ -156,6 +167,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/teams.png', + 'platforms' => ['client', 'server', 'console'], ], 'users' => [ 'key' => 'users', @@ -169,6 +181,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/users.png', + 'platforms' => ['client', 'server', 'console'], ], 'vcs' => [ 'key' => 'vcs', @@ -182,6 +195,7 @@ return [ 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'sites' => [ 'key' => 'sites', @@ -195,6 +209,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/sites.png', + 'platforms' => ['client', 'server', 'console'], ], 'functions' => [ 'key' => 'functions', @@ -208,6 +223,7 @@ return [ 'tests' => false, 'optional' => true, 'icon' => '/images/services/functions.png', + 'platforms' => ['client', 'server', 'console'], ], 'proxy' => [ 'key' => 'proxy', @@ -221,6 +237,7 @@ return [ 'tests' => false, 'optional' => false, 'icon' => '/images/services/proxy.png', + 'platforms' => ['client', 'server', 'console'], ], 'mock' => [ 'key' => 'mock', @@ -234,6 +251,7 @@ return [ 'tests' => true, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'graphql' => [ 'key' => 'graphql', @@ -247,19 +265,21 @@ return [ 'tests' => true, 'optional' => true, 'icon' => '/images/services/graphql.png', + 'platforms' => ['client', 'server', 'console'], ], 'console' => [ 'key' => 'console', 'name' => 'Console', - 'subtitle' => 'The Console service allows you to interact with console relevant informations.', + 'subtitle' => 'The Console service allows you to interact with console relevant information.', 'description' => '', - 'controller' => 'api/console.php', + 'controller' => '', // Uses modules 'sdk' => true, 'docs' => true, 'docsUrl' => '', 'tests' => false, 'optional' => false, 'icon' => '', + 'platforms' => ['client', 'server', 'console'], ], 'migrations' => [ 'key' => 'migrations', @@ -273,6 +293,7 @@ return [ 'tests' => true, 'optional' => false, 'icon' => '/images/services/migrations.png', + 'platforms' => ['client', 'server', 'console'], ], 'messaging' => [ 'key' => 'messaging', @@ -286,5 +307,6 @@ return [ 'tests' => true, 'optional' => true, 'icon' => '/images/services/messaging.png', + 'platforms' => ['client', 'server', 'console'], ] ]; diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index fe3f2f50ad..953c76da26 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -102,24 +103,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -188,17 +192,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -265,17 +270,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -336,17 +342,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -400,26 +407,45 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -450,17 +476,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -524,21 +551,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -595,21 +623,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -718,21 +747,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -857,21 +887,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -980,21 +1011,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1057,7 +1089,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -1111,21 +1145,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1248,21 +1283,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1348,21 +1384,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1446,21 +1483,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1544,21 +1582,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1648,17 +1687,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1719,17 +1759,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1795,17 +1836,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1872,17 +1914,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -1922,17 +1965,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -1993,7 +2037,6 @@ "cookies": false, "type": "", "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": [ @@ -2002,11 +2045,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2071,17 +2116,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2154,17 +2200,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2197,17 +2244,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2249,24 +2297,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2299,24 +2350,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2374,17 +2428,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2395,7 +2450,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2446,24 +2503,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2514,7 +2574,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -2589,17 +2650,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2610,7 +2672,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2668,24 +2732,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2743,17 +2810,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2805,17 +2873,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2860,17 +2929,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -2924,17 +2994,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -2976,16 +3047,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3056,16 +3128,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3128,16 +3201,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3190,7 +3264,6 @@ "cookies": false, "type": "", "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": [ @@ -3199,18 +3272,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3273,7 +3350,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3282,18 +3358,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3354,24 +3434,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3422,7 +3505,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3497,7 +3581,6 @@ "cookies": false, "type": "", "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": [ @@ -3506,18 +3589,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3575,17 +3662,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3696,17 +3784,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3829,7 +3918,6 @@ "cookies": false, "type": "", "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": [ @@ -3838,11 +3926,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -3882,17 +3972,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -3952,18 +4043,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4079,18 +4171,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4212,18 +4305,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4271,18 +4365,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4760,18 +4855,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4843,18 +4939,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -4936,18 +5033,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5029,18 +5127,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5744,7 +5843,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5777,22 +5876,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -5843,22 +5943,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -5912,22 +6013,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -5975,22 +6077,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6052,22 +6155,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6117,22 +6221,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6201,22 +6306,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -6312,22 +6418,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -6472,22 +6579,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -6582,22 +6690,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -6621,8 +6730,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -6691,7 +6799,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6708,10 +6816,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -6740,22 +6845,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -6812,7 +6918,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6851,22 +6957,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -6957,11 +7064,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -6974,6 +7080,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -7084,11 +7191,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7101,6 +7207,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -7211,16 +7318,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -7298,16 +7405,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -7416,16 +7523,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -7491,22 +7598,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7544,22 +7652,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7601,18 +7710,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -7654,18 +7764,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -7707,18 +7818,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -7760,18 +7872,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -7813,18 +7926,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -7866,18 +7980,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -7919,18 +8034,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -7972,18 +8088,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -8021,11 +8138,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -8038,6 +8154,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -8105,11 +8222,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -8122,6 +8238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -8185,18 +8302,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -8283,18 +8401,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -8383,18 +8502,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -8456,18 +8576,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -8548,18 +8669,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -8616,18 +8738,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -8695,18 +8818,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -8924,18 +9048,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -9006,11 +9131,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9019,12 +9143,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -9075,11 +9201,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9088,12 +9213,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -9147,11 +9274,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9160,12 +9286,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -9213,11 +9341,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9226,12 +9353,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -9293,11 +9422,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9306,12 +9434,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -9361,11 +9491,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9374,12 +9503,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -9448,11 +9579,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9461,12 +9591,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -9558,11 +9690,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9571,12 +9702,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -9713,11 +9846,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9726,12 +9858,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -9822,11 +9956,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9835,12 +9968,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -9925,7 +10060,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9971,11 +10106,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9984,12 +10118,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -10042,7 +10178,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -10081,11 +10217,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10094,12 +10229,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -10186,11 +10323,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10206,6 +10342,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -10312,11 +10449,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10332,6 +10468,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -10442,18 +10579,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -10530,18 +10668,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -10616,18 +10755,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -10679,18 +10819,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -10754,18 +10895,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -10819,18 +10961,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -10917,18 +11060,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -11036,18 +11180,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -11109,18 +11254,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -11204,18 +11350,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -11279,17 +11426,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -11378,17 +11526,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -11440,17 +11589,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index d436913e90..e0ab50c73a 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -101,24 +102,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -178,7 +181,6 @@ "cookies": false, "type": "", "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}", @@ -188,6 +190,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", "auth": { "Project": [] } @@ -227,17 +230,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -303,17 +307,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -373,17 +378,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -436,26 +442,44 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -486,17 +510,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -559,21 +584,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -629,21 +655,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -751,21 +778,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -889,21 +917,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1011,21 +1040,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1088,7 +1118,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -1142,21 +1173,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1278,21 +1310,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1377,21 +1410,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1474,21 +1508,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1571,21 +1606,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1674,17 +1710,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1744,17 +1781,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1819,17 +1857,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1895,17 +1934,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -1944,17 +1984,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2014,7 +2055,6 @@ "cookies": false, "type": "", "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": [ @@ -2023,11 +2063,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2091,17 +2133,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2173,17 +2216,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2215,17 +2259,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2266,24 +2311,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ] } @@ -2316,24 +2363,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2391,17 +2440,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2412,7 +2462,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2463,24 +2514,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2531,7 +2584,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -2606,17 +2660,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2627,7 +2682,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2685,24 +2741,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2760,17 +2818,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2821,17 +2880,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2875,17 +2935,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -2938,17 +2999,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -2989,16 +3051,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3068,16 +3131,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3139,16 +3203,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3200,7 +3265,6 @@ "cookies": false, "type": "", "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": [ @@ -3209,18 +3273,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3283,7 +3350,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3292,18 +3358,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3364,24 +3433,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3432,7 +3503,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3507,7 +3579,6 @@ "cookies": false, "type": "", "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": [ @@ -3516,18 +3587,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3585,17 +3659,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3705,17 +3780,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3837,7 +3913,6 @@ "cookies": false, "type": "", "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": [ @@ -3846,11 +3921,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -3889,17 +3966,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -3958,18 +4036,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4085,18 +4164,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4218,18 +4298,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4277,18 +4358,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4766,18 +4848,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4849,18 +4932,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -4942,18 +5026,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5035,18 +5120,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5750,7 +5836,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5776,11 +5862,10 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "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}", @@ -5790,6 +5875,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", "auth": { "Project": [] } @@ -5837,11 +5923,10 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "console\/get-resource.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCheck if a resource ID is available.", "rate-limit": 120, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -5913,11 +5998,10 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "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}", @@ -5927,6 +6011,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", "auth": { "Project": [] } @@ -5962,20 +6047,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -6080,20 +6166,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -6196,22 +6283,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -6262,22 +6350,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6331,22 +6420,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6394,22 +6484,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6471,22 +6562,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6536,22 +6628,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6620,11 +6713,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 323, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -6634,6 +6726,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listUsage" @@ -6724,20 +6817,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6817,20 +6911,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6930,20 +7025,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -7024,20 +7120,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -7123,20 +7220,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -7200,7 +7298,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "x-example": null, "items": { "type": "object" @@ -7249,20 +7347,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -7323,20 +7422,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -7428,20 +7528,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7504,20 +7605,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7604,20 +7706,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7716,20 +7819,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7833,20 +7937,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7945,20 +8050,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -8062,20 +8168,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -8174,20 +8281,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -8291,20 +8399,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -8412,20 +8521,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8538,20 +8648,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8662,20 +8773,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8791,20 +8903,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8915,20 +9028,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -9044,20 +9158,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -9156,20 +9271,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -9273,20 +9389,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -9387,20 +9504,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9510,20 +9628,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9624,20 +9743,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9747,20 +9867,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9861,20 +9982,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9984,20 +10106,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -10122,20 +10245,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -10245,20 +10369,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -10368,20 +10493,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -10480,20 +10606,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10628,20 +10755,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10704,20 +10832,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10789,20 +10918,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10904,22 +11034,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -11015,22 +11146,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -11205,11 +11337,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11220,6 +11351,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -11342,11 +11474,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11357,6 +11488,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -11402,7 +11534,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -11447,11 +11579,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11462,6 +11593,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11549,22 +11681,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11659,22 +11792,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11698,8 +11832,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11768,7 +11901,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11785,10 +11918,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -11817,22 +11947,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11889,7 +12020,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11928,22 +12059,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -12034,11 +12166,10 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "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}", @@ -12048,6 +12179,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRowLogs" @@ -12132,11 +12264,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12149,6 +12280,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -12259,11 +12391,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12276,6 +12407,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -12386,20 +12518,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -12484,20 +12617,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12624,20 +12758,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12700,20 +12835,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12785,11 +12921,10 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "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}", @@ -12799,6 +12934,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTableLogs" @@ -12873,11 +13009,10 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 330, + "weight": 331, "cookies": false, "type": "", "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}", @@ -12887,6 +13022,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTableUsage" @@ -12970,11 +13106,10 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 321, + "weight": 322, "cookies": false, "type": "", "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}", @@ -12984,6 +13119,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listDatabaseLogs" @@ -13078,11 +13214,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 322, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/get-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}", @@ -13092,6 +13227,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getUsage" @@ -13195,16 +13331,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13280,16 +13416,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13575,16 +13711,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -13625,11 +13761,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13676,11 +13811,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "functions\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13869,11 +14003,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "functions\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13930,11 +14063,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "functions\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -14003,16 +14135,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14063,16 +14195,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14355,16 +14487,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14417,16 +14549,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14498,16 +14630,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14593,16 +14725,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -14692,16 +14824,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14778,16 +14910,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14895,16 +15027,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14993,16 +15125,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15056,16 +15188,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15121,16 +15253,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server", "server" ], @@ -15212,16 +15344,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15284,16 +15416,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -15371,16 +15503,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -15489,16 +15621,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -15555,16 +15687,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15627,11 +15759,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "functions\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -15710,16 +15841,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15770,16 +15901,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15862,16 +15993,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15932,16 +16063,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16026,16 +16157,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16098,22 +16229,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16151,22 +16283,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16208,16 +16341,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [] } @@ -16258,16 +16392,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [] } @@ -16308,16 +16443,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [] } @@ -16358,16 +16494,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [] } @@ -16419,16 +16556,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [] } @@ -16469,16 +16607,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [] } @@ -16519,16 +16658,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [] } @@ -16582,16 +16722,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [] } @@ -16645,16 +16786,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [] } @@ -16719,16 +16861,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [] } @@ -16782,16 +16925,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [] } @@ -16871,16 +17015,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [] } @@ -16934,16 +17079,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [] } @@ -16997,16 +17143,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [] } @@ -17060,16 +17207,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [] } @@ -17123,16 +17271,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [] } @@ -17186,16 +17335,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [] } @@ -17249,16 +17399,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [] } @@ -17312,16 +17463,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [] } @@ -17375,16 +17527,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [] } @@ -17425,16 +17578,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [] } @@ -17475,16 +17629,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [] } @@ -17525,18 +17680,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -17578,18 +17734,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -17631,18 +17788,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -17684,18 +17842,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -17737,18 +17896,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -17790,18 +17950,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -17843,18 +18004,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -17896,18 +18058,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -17945,11 +18108,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -17960,6 +18122,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [] } @@ -18033,11 +18196,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -18048,6 +18210,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [] } @@ -18179,11 +18342,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -18194,6 +18356,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [] } @@ -18337,11 +18500,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -18352,6 +18514,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [] } @@ -18514,11 +18677,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -18529,6 +18691,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [] } @@ -18711,11 +18874,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -18726,6 +18888,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -18892,11 +19055,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -18907,6 +19069,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -19079,11 +19242,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -19094,6 +19256,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [] } @@ -19133,11 +19296,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -19148,6 +19310,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [] } @@ -19196,11 +19359,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -19211,6 +19373,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [] } @@ -19283,11 +19446,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -19298,6 +19460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [] } @@ -19370,11 +19533,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -19385,6 +19547,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [] } @@ -19458,11 +19621,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -19473,6 +19635,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -19637,11 +19800,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -19652,6 +19814,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -19818,11 +19981,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -19833,6 +19995,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -19970,11 +20133,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -19985,6 +20147,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -20123,11 +20286,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -20138,6 +20300,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [] } @@ -20241,11 +20404,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -20256,6 +20418,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [] } @@ -20362,11 +20525,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -20377,6 +20539,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [] } @@ -20459,11 +20622,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -20474,6 +20636,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [] } @@ -20559,11 +20722,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20574,6 +20736,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [] } @@ -20666,11 +20829,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20681,6 +20843,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [] } @@ -20776,11 +20939,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -20791,6 +20953,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [] } @@ -20883,11 +21046,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -20898,6 +21060,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [] } @@ -20993,11 +21156,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -21008,6 +21170,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -21224,11 +21387,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -21239,6 +21401,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -21455,11 +21618,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -21470,6 +21632,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [] } @@ -21552,11 +21715,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -21567,6 +21729,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [] } @@ -21652,11 +21815,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -21667,6 +21829,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [] } @@ -21749,11 +21912,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -21764,6 +21926,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [] } @@ -21849,11 +22012,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -21864,6 +22026,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [] } @@ -21946,11 +22109,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -21961,6 +22123,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [] } @@ -22046,11 +22209,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -22061,6 +22223,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [] } @@ -22143,11 +22306,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -22158,6 +22320,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [] } @@ -22243,11 +22406,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -22258,6 +22420,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [] } @@ -22297,11 +22460,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -22312,6 +22474,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [] } @@ -22360,11 +22523,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -22375,6 +22537,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [] } @@ -22447,11 +22610,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -22462,6 +22624,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [] } @@ -22534,11 +22697,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -22549,6 +22711,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [] } @@ -22620,11 +22783,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -22635,6 +22797,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [] } @@ -22704,11 +22867,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -22719,6 +22881,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [] } @@ -22765,11 +22928,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -22780,6 +22942,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [] } @@ -22845,11 +23008,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -22860,6 +23022,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [] } @@ -22908,11 +23071,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -22923,6 +23085,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [] } @@ -22995,11 +23158,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -23010,6 +23172,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [] } @@ -23091,11 +23254,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -23108,6 +23270,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -23182,11 +23345,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -23197,6 +23359,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [] } @@ -23246,11 +23409,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -23263,6 +23425,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -23322,11 +23485,10 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 250, + "weight": 251, "cookies": false, "type": "", "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}", @@ -23336,6 +23498,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", "auth": { "Project": [] } @@ -23408,11 +23571,10 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 244, + "weight": 245, "cookies": false, "type": "", "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}", @@ -23422,6 +23584,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", "auth": { "Project": [] } @@ -23517,11 +23680,10 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 252, + "weight": 253, "cookies": false, "type": "", "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}", @@ -23531,6 +23693,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", "auth": { "Project": [] } @@ -23631,11 +23794,10 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 249, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23645,6 +23807,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "auth": { "Project": [] } @@ -23746,11 +23909,10 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 248, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23760,6 +23922,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "auth": { "Project": [] } @@ -23831,11 +23994,10 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 245, + "weight": 246, "cookies": false, "type": "", "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}", @@ -23845,6 +24007,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", "auth": { "Project": [] } @@ -23922,11 +24085,10 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 253, + "weight": 254, "cookies": false, "type": "", "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}", @@ -23936,6 +24098,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", "auth": { "Project": [] } @@ -24009,11 +24172,10 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 247, + "weight": 248, "cookies": false, "type": "", "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}", @@ -24023,6 +24185,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", "auth": { "Project": [] } @@ -24136,11 +24299,10 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 255, + "weight": 256, "cookies": false, "type": "", "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}", @@ -24150,6 +24312,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", "auth": { "Project": [] } @@ -24285,11 +24448,10 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 246, + "weight": 247, "cookies": false, "type": "", "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}", @@ -24299,6 +24461,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", "auth": { "Project": [] } @@ -24406,11 +24569,10 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 254, + "weight": 255, "cookies": false, "type": "", "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}", @@ -24420,6 +24582,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", "auth": { "Project": [] } @@ -24546,11 +24709,10 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 251, + "weight": 252, "cookies": false, "type": "", "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}", @@ -24560,6 +24722,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", "auth": { "Project": [] } @@ -24605,11 +24768,10 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 256, + "weight": 257, "cookies": false, "type": "", "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}", @@ -24619,6 +24781,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", "auth": { "Project": [] } @@ -24657,11 +24820,10 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 257, + "weight": 258, "cookies": false, "type": "", "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}", @@ -24671,6 +24833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", "auth": { "Project": [] } @@ -24722,7 +24885,6 @@ "cookies": false, "type": "", "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}", @@ -24732,6 +24894,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", "auth": { "Project": [] } @@ -24811,7 +24974,6 @@ "cookies": false, "type": "", "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}", @@ -24821,6 +24983,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", "auth": { "Project": [] } @@ -24858,7 +25021,6 @@ "cookies": false, "type": "", "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}", @@ -24868,6 +25030,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", "auth": { "Project": [] } @@ -24937,7 +25100,6 @@ "cookies": false, "type": "", "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}", @@ -24947,6 +25109,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", "auth": { "Project": [] } @@ -24996,7 +25159,6 @@ "cookies": false, "type": "", "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}", @@ -25006,6 +25168,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", "auth": { "Project": [] } @@ -25079,7 +25242,6 @@ "cookies": false, "type": "", "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}", @@ -25089,6 +25251,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", "auth": { "Project": [] } @@ -25136,11 +25299,10 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25224,7 +25386,6 @@ "cookies": false, "type": "", "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}", @@ -25234,6 +25395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", "auth": { "Project": [] } @@ -25359,7 +25521,6 @@ "cookies": false, "type": "", "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}", @@ -25369,6 +25530,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", "auth": { "Project": [] } @@ -25418,7 +25580,6 @@ "cookies": false, "type": "", "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}", @@ -25428,6 +25589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", "auth": { "Project": [] } @@ -25534,7 +25696,6 @@ "cookies": false, "type": "", "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}", @@ -25544,6 +25705,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", "auth": { "Project": [] } @@ -25595,7 +25757,6 @@ "cookies": false, "type": "", "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}", @@ -25605,6 +25766,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatus" @@ -25752,7 +25914,6 @@ "cookies": false, "type": "", "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}", @@ -25762,6 +25923,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatusAll" @@ -25892,7 +26054,6 @@ "cookies": false, "type": "", "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}", @@ -25902,6 +26063,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", "auth": { "Project": [] } @@ -25972,7 +26134,6 @@ "cookies": false, "type": "", "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}", @@ -25982,6 +26143,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", "auth": { "Project": [] } @@ -26052,7 +26214,6 @@ "cookies": false, "type": "", "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}", @@ -26062,6 +26223,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", "auth": { "Project": [] } @@ -26132,7 +26294,6 @@ "cookies": false, "type": "", "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}", @@ -26142,6 +26303,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", "auth": { "Project": [] } @@ -26224,7 +26386,6 @@ "cookies": false, "type": "", "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}", @@ -26234,6 +26395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", "auth": { "Project": [] } @@ -26307,7 +26469,6 @@ "cookies": false, "type": "", "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}", @@ -26317,6 +26478,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", "auth": { "Project": [] } @@ -26387,7 +26549,6 @@ "cookies": false, "type": "", "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}", @@ -26397,6 +26558,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", "auth": { "Project": [] } @@ -26467,7 +26629,6 @@ "cookies": false, "type": "", "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}", @@ -26477,6 +26638,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", "auth": { "Project": [] } @@ -26547,7 +26709,6 @@ "cookies": false, "type": "", "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}", @@ -26557,6 +26718,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", "auth": { "Project": [] } @@ -26627,7 +26789,6 @@ "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26637,6 +26798,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "auth": { "Project": [] } @@ -26707,7 +26869,6 @@ "cookies": false, "type": "", "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}", @@ -26717,6 +26878,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", "auth": { "Project": [] } @@ -26804,15 +26966,14 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList 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.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -26876,15 +27037,14 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -26962,15 +27122,14 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 449, + "weight": 450, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -27031,15 +27190,14 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a project\\'s dev key by its unique ID. Use this endpoint to update a project\\'s dev key name or expiration time.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27118,15 +27276,14 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27193,7 +27350,6 @@ "cookies": false, "type": "", "demo": "projects\/create-jwt.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}", @@ -27203,6 +27359,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", "auth": { "Project": [] } @@ -27340,7 +27497,6 @@ "cookies": false, "type": "", "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}", @@ -27350,6 +27506,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", "auth": { "Project": [] } @@ -27410,7 +27567,6 @@ "cookies": false, "type": "", "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}", @@ -27420,6 +27576,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", "auth": { "Project": [] } @@ -27565,7 +27722,6 @@ "cookies": false, "type": "", "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}", @@ -27575,6 +27731,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", "auth": { "Project": [] } @@ -27634,7 +27791,6 @@ "cookies": false, "type": "", "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}", @@ -27644,6 +27800,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", "auth": { "Project": [] } @@ -27790,7 +27947,6 @@ "cookies": false, "type": "", "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}", @@ -27800,6 +27956,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", "auth": { "Project": [] } @@ -27861,7 +28018,6 @@ "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.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}", @@ -27871,6 +28027,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", "auth": { "Project": [] } @@ -27942,7 +28099,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -28003,7 +28161,6 @@ "cookies": false, "type": "", "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}", @@ -28013,6 +28170,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", "auth": { "Project": [] } @@ -28073,7 +28231,6 @@ "cookies": false, "type": "", "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}", @@ -28083,6 +28240,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", "auth": { "Project": [] } @@ -28193,7 +28351,6 @@ "cookies": false, "type": "", "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}", @@ -28203,6 +28360,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", "auth": { "Project": [] } @@ -28262,7 +28420,6 @@ "cookies": false, "type": "", "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}", @@ -28272,6 +28429,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", "auth": { "Project": [] } @@ -28358,7 +28516,6 @@ "cookies": false, "type": "", "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}", @@ -28368,6 +28525,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", "auth": { "Project": [] } @@ -28429,7 +28587,6 @@ "cookies": false, "type": "", "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}", @@ -28439,6 +28596,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", "auth": { "Project": [] } @@ -28532,7 +28690,6 @@ "cookies": false, "type": "", "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}", @@ -28542,6 +28699,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", "auth": { "Project": [] } @@ -28612,7 +28770,6 @@ "cookies": false, "type": "", "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}", @@ -28622,6 +28779,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMTP" @@ -28807,7 +28965,6 @@ "cookies": false, "type": "", "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}", @@ -28817,6 +28974,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.createSMTPTest" @@ -29019,7 +29177,6 @@ "cookies": false, "type": "", "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}", @@ -29029,6 +29186,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", "auth": { "Project": [] } @@ -29099,7 +29257,6 @@ "cookies": false, "type": "", "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}", @@ -29109,6 +29266,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", "auth": { "Project": [] } @@ -29324,7 +29482,6 @@ "cookies": false, "type": "", "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}", @@ -29334,6 +29491,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", "auth": { "Project": [] } @@ -29589,7 +29747,6 @@ "cookies": false, "type": "", "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}", @@ -29599,6 +29756,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", "auth": { "Project": [] } @@ -29816,7 +29974,6 @@ "cookies": false, "type": "", "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}", @@ -29826,6 +29983,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.getSMSTemplate" @@ -30102,7 +30260,6 @@ "cookies": false, "type": "", "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}", @@ -30112,6 +30269,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMSTemplate" @@ -30411,7 +30569,6 @@ "cookies": false, "type": "", "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}", @@ -30421,6 +30578,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.deleteSMSTemplate" @@ -30699,7 +30857,6 @@ "cookies": false, "type": "", "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}", @@ -30709,6 +30866,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", "auth": { "Project": [] } @@ -30769,7 +30927,6 @@ "cookies": false, "type": "", "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}", @@ -30779,6 +30936,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", "auth": { "Project": [] } @@ -30885,7 +31043,6 @@ "cookies": false, "type": "", "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}", @@ -30895,6 +31052,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", "auth": { "Project": [] } @@ -30954,7 +31112,6 @@ "cookies": false, "type": "", "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}", @@ -30964,6 +31121,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", "auth": { "Project": [] } @@ -31071,7 +31229,6 @@ "cookies": false, "type": "", "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}", @@ -31081,6 +31238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", "auth": { "Project": [] } @@ -31142,7 +31300,6 @@ "cookies": false, "type": "", "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}", @@ -31152,6 +31309,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", "auth": { "Project": [] } @@ -31209,11 +31367,10 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the proxy rules. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31295,11 +31452,10 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite's API on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31363,11 +31519,10 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for executing Appwrite Function on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31442,11 +31597,10 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for to redirect from custom domain to another domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31556,11 +31710,10 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite Site on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31635,11 +31788,10 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31687,11 +31839,10 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31748,11 +31899,10 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterRetry 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31809,16 +31959,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -31894,16 +32044,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32147,16 +32297,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -32197,11 +32347,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32248,11 +32397,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "sites\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available site templates. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32378,11 +32526,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "sites\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site template using ID. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32439,11 +32586,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "sites\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32512,16 +32658,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -32572,16 +32718,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32821,16 +32967,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32883,16 +33029,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32964,16 +33110,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33059,16 +33205,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -33164,16 +33310,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33245,16 +33391,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33362,16 +33508,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33461,16 +33607,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33524,16 +33670,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33589,16 +33735,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server", "server" ], @@ -33680,16 +33826,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33752,16 +33898,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33838,16 +33984,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33901,16 +34047,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33973,11 +34119,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "sites\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -34056,16 +34201,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34116,16 +34261,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34208,16 +34353,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34278,16 +34423,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34372,16 +34517,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34448,16 +34593,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [] } @@ -34533,16 +34679,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [] } @@ -34667,16 +34814,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [] } @@ -34727,16 +34875,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [] } @@ -34858,16 +35007,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [] } @@ -34920,18 +35070,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -35018,18 +35169,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -35118,18 +35270,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -35191,18 +35344,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -35283,18 +35437,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -35351,18 +35506,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -35430,18 +35586,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -35659,18 +35816,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -35745,7 +35903,6 @@ "cookies": false, "type": "", "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}", @@ -35755,6 +35912,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", "auth": { "Project": [] } @@ -35818,7 +35976,6 @@ "cookies": false, "type": "", "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}", @@ -35828,6 +35985,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", "auth": { "Project": [] } @@ -35897,20 +36055,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [] } @@ -35982,20 +36141,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [] } @@ -36062,11 +36222,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36075,12 +36234,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -36131,11 +36292,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36144,12 +36304,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -36203,11 +36365,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36216,12 +36377,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -36269,11 +36432,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36282,12 +36444,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -36349,11 +36513,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36362,12 +36525,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -36417,11 +36582,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36430,12 +36594,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -36504,11 +36670,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 388, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36521,6 +36686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "methods": [ { "name": "listUsage", @@ -36603,20 +36769,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [] } @@ -36663,20 +36830,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [] } @@ -36740,20 +36908,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [] } @@ -36802,11 +36971,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36815,10 +36983,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [] } @@ -36900,11 +37070,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36913,10 +37082,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [] } @@ -37025,11 +37196,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37038,10 +37208,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [] } @@ -37098,11 +37270,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37111,10 +37282,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [] } @@ -37202,11 +37375,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37215,10 +37387,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [] } @@ -37277,11 +37451,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37290,10 +37463,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [] } @@ -37376,11 +37551,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37389,10 +37563,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [] } @@ -37487,11 +37663,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37500,10 +37675,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [] } @@ -37603,11 +37780,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37616,10 +37792,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [] } @@ -37714,11 +37892,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37727,10 +37904,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [] } @@ -37830,11 +38009,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37843,10 +38021,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [] } @@ -37941,11 +38121,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37954,10 +38133,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [] } @@ -38057,11 +38238,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38070,10 +38250,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [] } @@ -38177,11 +38359,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38190,10 +38371,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [] } @@ -38302,11 +38485,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38315,10 +38497,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [] } @@ -38425,11 +38609,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38438,10 +38621,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [] } @@ -38553,11 +38738,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38566,10 +38750,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [] } @@ -38676,11 +38862,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38689,10 +38874,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [] } @@ -38804,11 +38991,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38817,10 +39003,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [] } @@ -38915,11 +39103,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38928,10 +39115,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [] } @@ -39031,11 +39220,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39044,10 +39232,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [] } @@ -39144,11 +39334,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39157,10 +39346,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [] } @@ -39266,11 +39457,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39279,10 +39469,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [] } @@ -39379,11 +39571,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39392,10 +39583,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [] } @@ -39501,11 +39694,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39514,10 +39706,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [] } @@ -39614,11 +39808,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39627,10 +39820,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [] } @@ -39736,11 +39931,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39749,10 +39943,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [] } @@ -39873,11 +40069,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39886,10 +40081,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [] } @@ -39995,11 +40192,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40008,10 +40204,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [] } @@ -40117,11 +40315,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40130,10 +40327,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [] } @@ -40228,11 +40427,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40241,10 +40439,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [] } @@ -40375,11 +40575,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40388,10 +40587,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [] } @@ -40450,11 +40651,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40463,10 +40663,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [] } @@ -40534,11 +40736,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40547,10 +40748,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [] } @@ -40648,11 +40851,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40661,10 +40863,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [] } @@ -40745,11 +40949,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40758,10 +40961,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [] } @@ -40884,11 +41089,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40897,10 +41101,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [] } @@ -40959,11 +41165,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40972,10 +41177,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [] } @@ -41043,11 +41250,10 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41060,6 +41266,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "auth": { "Project": [] } @@ -41130,11 +41337,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41143,12 +41349,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -41240,11 +41448,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41253,12 +41460,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -41421,11 +41630,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41439,6 +41647,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -41553,11 +41762,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41571,6 +41779,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [] } @@ -41612,7 +41821,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -41657,11 +41866,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41675,6 +41883,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [] } @@ -41758,11 +41967,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41771,12 +41979,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -41867,11 +42077,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41880,12 +42089,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -41970,7 +42181,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42016,11 +42227,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42029,12 +42239,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -42087,7 +42299,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42126,11 +42338,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42139,12 +42350,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -42231,11 +42444,10 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42248,6 +42460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "auth": { "Project": [] } @@ -42328,11 +42541,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42348,6 +42560,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -42454,11 +42667,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42474,6 +42686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -42580,11 +42793,10 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 395, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42597,6 +42809,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "auth": { "Project": [] } @@ -42676,11 +42889,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 387, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42693,6 +42905,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "methods": [ { "name": "getUsage", @@ -42792,18 +43005,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -42880,18 +43094,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -42966,18 +43181,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -43029,18 +43245,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -43104,18 +43321,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -43169,7 +43387,6 @@ "cookies": false, "type": "", "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}", @@ -43179,6 +43396,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", "auth": { "Project": [] } @@ -43254,18 +43472,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -43352,18 +43571,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -43471,18 +43691,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -43544,18 +43765,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -43639,18 +43861,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -43714,17 +43937,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -43812,17 +44036,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -43873,17 +44098,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } @@ -43951,11 +44177,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44046,11 +44271,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44136,11 +44360,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44197,11 +44420,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44268,11 +44490,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44335,16 +44556,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [] } @@ -44420,16 +44642,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [] } @@ -44511,16 +44734,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [] } @@ -44597,16 +44821,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [] } @@ -44683,16 +44908,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [] } @@ -44763,16 +44989,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [] } @@ -44825,16 +45052,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [] } @@ -44911,16 +45139,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [] } @@ -44997,16 +45226,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [] } @@ -45113,16 +45343,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [] } @@ -45217,16 +45448,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [] } @@ -45323,7 +45555,6 @@ "cookies": false, "type": "", "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}", @@ -45333,6 +45564,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", "auth": { "Project": [] } @@ -45396,16 +45628,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [] } @@ -45449,16 +45682,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [] } @@ -45511,16 +45745,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [] } @@ -45592,16 +45827,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [] } @@ -45675,16 +45911,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [] } @@ -45759,16 +45996,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [] } @@ -45845,16 +46083,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [] } @@ -45942,16 +46181,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -46076,16 +46316,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -46211,16 +46452,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -46329,16 +46571,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -46445,16 +46688,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -46561,16 +46805,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -46679,16 +46924,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [] } @@ -46760,16 +47006,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [] } @@ -46841,16 +47088,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [] } @@ -46922,16 +47170,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [] } @@ -46982,16 +47231,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [] } @@ -47063,16 +47313,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [] } @@ -47134,16 +47385,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [] } @@ -47187,16 +47439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [] } @@ -47242,16 +47495,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [] } @@ -47314,16 +47568,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [] } @@ -47395,7 +47650,6 @@ "cookies": false, "type": "", "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}", @@ -47406,6 +47660,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [] } @@ -47480,7 +47735,6 @@ "cookies": false, "type": "", "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}", @@ -47491,6 +47745,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [] } @@ -47591,7 +47846,6 @@ "cookies": false, "type": "", "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}", @@ -47602,6 +47856,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [] } @@ -47662,7 +47917,6 @@ "cookies": false, "type": "", "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}", @@ -47673,6 +47927,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [] } @@ -47752,7 +48007,6 @@ "cookies": false, "type": "", "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}", @@ -47763,6 +48017,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [] } @@ -47825,16 +48080,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [] } @@ -47908,16 +48164,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [] } @@ -47989,16 +48246,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [] } @@ -48070,7 +48328,6 @@ "cookies": false, "type": "", "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}", @@ -48080,6 +48337,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", "auth": { "Project": [] } @@ -48167,7 +48425,6 @@ "cookies": false, "type": "", "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}", @@ -48177,6 +48434,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", "auth": { "Project": [] } @@ -48266,7 +48524,6 @@ "cookies": false, "type": "", "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}", @@ -48276,6 +48533,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", "auth": { "Project": [] } @@ -48352,7 +48610,6 @@ "cookies": false, "type": "", "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}", @@ -48362,6 +48619,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", "auth": { "Project": [] } @@ -48423,7 +48681,6 @@ "cookies": false, "type": "", "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}", @@ -48433,6 +48690,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", "auth": { "Project": [] } @@ -48494,7 +48752,6 @@ "cookies": false, "type": "", "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}", @@ -48504,6 +48761,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", "auth": { "Project": [] } @@ -48580,7 +48838,6 @@ "cookies": false, "type": "", "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}", @@ -48590,6 +48847,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", "auth": { "Project": [] } @@ -48670,7 +48928,6 @@ "cookies": false, "type": "", "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}", @@ -48680,6 +48937,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", "auth": { "Project": [] } @@ -48756,7 +49014,6 @@ "cookies": false, "type": "", "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}", @@ -48766,6 +49023,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", "auth": { "Project": [] } @@ -48808,7 +49066,6 @@ "cookies": false, "type": "", "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}", @@ -48818,6 +49075,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", "auth": { "Project": [] } @@ -60391,8 +60649,8 @@ }, "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." + "description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.", + "x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record." }, "renewAt": { "type": "string", @@ -60431,7 +60689,7 @@ "deploymentResourceId": "n3u9feiwmf", "deploymentVcsProviderBranch": "main", "status": "verified", - "logs": "HTTP challegne failed.", + "logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.", "renewAt": "datetime" } }, diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 485766809e..3c9c19bd5d 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [], "Session": [] @@ -103,24 +104,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -189,17 +194,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [], "Session": [] @@ -267,17 +273,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [], "Session": [] @@ -339,17 +346,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [], "Session": [] @@ -404,26 +412,46 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -454,17 +482,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [], "Session": [] @@ -529,21 +558,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [], "Session": [] @@ -601,21 +631,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -727,21 +758,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -869,21 +901,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -995,21 +1028,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1020,7 +1054,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1047,7 +1082,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1067,12 +1103,15 @@ } ], "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -1126,21 +1165,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1266,21 +1306,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1369,21 +1410,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1470,21 +1512,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1571,21 +1614,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1678,17 +1722,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [], "Session": [] @@ -1750,17 +1795,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [], "Session": [] @@ -1827,17 +1873,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [], "Session": [] @@ -1905,17 +1952,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [], "Session": [] @@ -1956,17 +2004,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [], "Session": [] @@ -2028,7 +2077,6 @@ "cookies": false, "type": "", "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": [ @@ -2037,11 +2085,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [], "Session": [] @@ -2107,17 +2157,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [], "Session": [] @@ -2191,17 +2242,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [], "Session": [] @@ -2235,17 +2287,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [], "Session": [] @@ -2288,24 +2341,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2338,24 +2395,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2413,28 +2474,32 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2492,28 +2557,32 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2571,24 +2640,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2646,17 +2719,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [], "Session": [] @@ -2709,17 +2783,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [], "Session": [] @@ -2765,17 +2840,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [], "Session": [] @@ -2830,17 +2906,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [], "Session": [] @@ -2883,7 +2960,6 @@ "cookies": false, "type": "", "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": [ @@ -2892,18 +2968,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2966,7 +3047,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -2975,18 +3055,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3047,24 +3132,28 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3115,7 +3204,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3190,7 +3280,6 @@ "cookies": false, "type": "", "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": [ @@ -3199,18 +3288,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3268,17 +3362,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3392,17 +3487,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3528,7 +3624,6 @@ "cookies": false, "type": "", "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": [ @@ -3537,11 +3632,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3582,17 +3679,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3653,18 +3751,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [], "Session": [] @@ -3782,18 +3881,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [], "Session": [] @@ -3917,18 +4017,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [], "Session": [] @@ -3978,18 +4079,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [], "Session": [] @@ -4469,18 +4571,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [], "Session": [] @@ -4554,18 +4657,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [], "Session": [] @@ -4649,18 +4753,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [], "Session": [] @@ -4744,18 +4849,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [], "Session": [] @@ -5461,7 +5567,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5494,20 +5600,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -5614,20 +5721,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -5732,22 +5840,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -5800,22 +5909,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -5871,22 +5981,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -5936,22 +6047,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -6015,22 +6127,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -6082,22 +6195,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -6168,20 +6282,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6263,20 +6378,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6378,20 +6494,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -6474,20 +6591,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -6574,20 +6692,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -6652,7 +6771,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "x-example": null, "items": { "type": "object" @@ -6701,20 +6820,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -6776,20 +6896,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -6882,20 +7003,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -6959,20 +7081,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7060,20 +7183,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7173,20 +7297,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7291,20 +7416,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7404,20 +7530,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -7522,20 +7649,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -7635,20 +7763,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -7753,20 +7882,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -7875,20 +8005,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8002,20 +8133,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8127,20 +8259,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8257,20 +8390,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8382,20 +8516,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -8512,20 +8647,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -8625,20 +8761,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -8743,20 +8880,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -8858,20 +8996,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -8982,20 +9121,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9097,20 +9237,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9221,20 +9362,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9336,20 +9478,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9460,20 +9603,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -9599,20 +9743,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -9723,20 +9868,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -9847,20 +9993,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -9960,20 +10107,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10109,20 +10257,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10186,20 +10335,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10272,20 +10422,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10388,22 +10539,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -10501,22 +10653,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -10695,11 +10848,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10710,6 +10862,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -10834,11 +10987,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10849,6 +11001,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -10895,7 +11048,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -10940,11 +11093,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10955,6 +11107,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11043,22 +11196,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11155,22 +11309,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11195,8 +11350,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11267,7 +11421,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11284,10 +11438,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -11316,22 +11467,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11390,7 +11542,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11429,22 +11581,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -11537,11 +11690,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11554,6 +11706,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -11666,11 +11819,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11683,6 +11835,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -11795,20 +11948,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -11894,20 +12048,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12035,20 +12190,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12112,20 +12268,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12198,16 +12355,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12284,16 +12441,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -12580,16 +12737,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -12631,11 +12788,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12683,16 +12839,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12744,16 +12900,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13037,16 +13193,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13100,16 +13256,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13182,16 +13338,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13278,16 +13434,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -13378,16 +13534,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13465,16 +13621,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13583,16 +13739,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13682,16 +13838,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13746,16 +13902,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13812,16 +13968,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server", "server" ], @@ -13904,16 +14060,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13977,16 +14133,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -14066,16 +14222,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -14186,16 +14342,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -14254,16 +14410,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14327,16 +14483,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14388,16 +14544,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14481,16 +14637,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14552,16 +14708,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14647,16 +14803,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14720,22 +14876,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14775,22 +14932,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14834,16 +14992,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [], "Key": [] @@ -14885,16 +15044,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [], "Key": [] @@ -14936,16 +15096,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [], "Key": [] @@ -14987,16 +15148,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [], "Key": [] @@ -15049,16 +15211,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [], "Key": [] @@ -15100,16 +15263,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [], "Key": [] @@ -15151,16 +15315,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [], "Key": [] @@ -15215,16 +15380,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [], "Key": [] @@ -15279,16 +15445,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [], "Key": [] @@ -15354,16 +15521,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [], "Key": [] @@ -15418,16 +15586,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [], "Key": [] @@ -15508,16 +15677,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [], "Key": [] @@ -15572,16 +15742,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [], "Key": [] @@ -15636,16 +15807,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [], "Key": [] @@ -15700,16 +15872,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [], "Key": [] @@ -15764,16 +15937,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [], "Key": [] @@ -15828,16 +16002,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [], "Key": [] @@ -15892,16 +16067,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [], "Key": [] @@ -15956,16 +16132,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [], "Key": [] @@ -16020,16 +16197,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [], "Key": [] @@ -16071,16 +16249,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [], "Key": [] @@ -16122,16 +16301,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [], "Key": [] @@ -16173,18 +16353,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [], "Session": [] @@ -16228,18 +16409,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [], "Session": [] @@ -16283,18 +16465,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [], "Session": [] @@ -16338,18 +16521,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [], "Session": [] @@ -16393,18 +16577,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [], "Session": [] @@ -16448,18 +16633,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [], "Session": [] @@ -16503,18 +16689,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [], "Session": [] @@ -16558,18 +16745,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [], "Session": [] @@ -16609,11 +16797,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -16624,6 +16811,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [], "Key": [] @@ -16698,11 +16886,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -16713,6 +16900,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [], "Key": [] @@ -16845,11 +17033,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -16860,6 +17047,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [], "Key": [] @@ -17004,11 +17192,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -17019,6 +17206,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [], "Key": [] @@ -17182,11 +17370,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -17197,6 +17384,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [], "Key": [] @@ -17380,11 +17568,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -17395,6 +17582,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -17564,11 +17752,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -17579,6 +17766,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -17754,11 +17942,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -17769,6 +17956,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [], "Key": [] @@ -17809,11 +17997,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -17824,6 +18011,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [], "Key": [] @@ -17873,11 +18061,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -17888,6 +18075,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [], "Key": [] @@ -17961,11 +18149,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -17976,6 +18163,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [], "Key": [] @@ -18049,11 +18237,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -18064,6 +18251,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [], "Key": [] @@ -18138,11 +18326,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -18153,6 +18340,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -18320,11 +18508,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -18335,6 +18522,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -18504,11 +18692,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -18519,6 +18706,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -18659,11 +18847,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -18674,6 +18861,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -18815,11 +19003,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -18830,6 +19017,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -18934,11 +19122,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -18949,6 +19136,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -19056,11 +19244,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -19071,6 +19258,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19154,11 +19342,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -19169,6 +19356,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19255,11 +19443,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19270,6 +19457,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19363,11 +19551,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19378,6 +19565,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19474,11 +19662,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -19489,6 +19676,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19582,11 +19770,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -19597,6 +19784,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19693,11 +19881,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -19708,6 +19895,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -19927,11 +20115,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -19942,6 +20129,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -20161,11 +20349,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -20176,6 +20363,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20259,11 +20447,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -20274,6 +20461,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20360,11 +20548,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -20375,6 +20562,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20458,11 +20646,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -20473,6 +20660,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20559,11 +20747,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -20574,6 +20761,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20657,11 +20845,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -20672,6 +20859,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20758,11 +20946,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -20773,6 +20960,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -20856,11 +21044,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -20871,6 +21058,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -20957,11 +21145,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -20972,6 +21159,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [], "Key": [] @@ -21012,11 +21200,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -21027,6 +21214,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [], "Key": [] @@ -21076,11 +21264,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -21091,6 +21278,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [], "Key": [] @@ -21164,11 +21352,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -21179,6 +21366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [], "Key": [] @@ -21252,11 +21440,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -21267,6 +21454,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [], "Key": [] @@ -21339,11 +21527,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -21354,6 +21541,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [], "Key": [] @@ -21424,11 +21612,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -21439,6 +21626,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [], "Key": [] @@ -21486,11 +21674,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -21501,6 +21688,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [], "Key": [] @@ -21567,11 +21755,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -21582,6 +21769,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [], "Key": [] @@ -21631,11 +21819,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -21646,6 +21833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [], "Key": [] @@ -21719,11 +21907,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -21734,6 +21921,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [], "Key": [] @@ -21816,11 +22004,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -21833,6 +22020,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -21909,11 +22097,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -21924,6 +22111,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [], "Key": [] @@ -21974,11 +22162,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -21991,6 +22178,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22052,16 +22240,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22138,16 +22326,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22392,16 +22580,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -22443,11 +22631,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22495,16 +22682,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22556,16 +22743,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22806,16 +22993,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22869,16 +23056,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22951,16 +23138,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23047,16 +23234,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -23153,16 +23340,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23235,16 +23422,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23353,16 +23540,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23453,16 +23640,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23517,16 +23704,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23583,16 +23770,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server", "server" ], @@ -23675,16 +23862,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23748,16 +23935,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23835,16 +24022,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23899,16 +24086,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23972,16 +24159,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24033,16 +24220,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24126,16 +24313,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24197,16 +24384,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24292,16 +24479,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24369,16 +24556,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [], "Key": [] @@ -24455,16 +24643,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [], "Key": [] @@ -24590,16 +24779,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [], "Key": [] @@ -24651,16 +24841,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [], "Key": [] @@ -24783,16 +24974,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [], "Key": [] @@ -24846,18 +25038,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [], "Session": [] @@ -24946,18 +25139,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [], "Session": [] @@ -25048,18 +25242,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [], "Session": [] @@ -25123,18 +25318,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [], "Session": [] @@ -25217,18 +25413,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [], "Session": [] @@ -25287,18 +25484,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [], "Session": [] @@ -25368,18 +25566,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [], "Session": [] @@ -25599,18 +25798,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [], "Session": [] @@ -25683,20 +25883,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [], "Key": [] @@ -25769,20 +25970,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [], "Key": [] @@ -25850,11 +26052,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25863,12 +26064,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -25921,11 +26124,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25934,12 +26136,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -25995,11 +26199,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26008,12 +26211,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -26063,11 +26268,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26076,12 +26280,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -26145,11 +26351,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26158,12 +26363,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -26215,11 +26422,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26228,12 +26434,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -26304,20 +26512,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [], "Key": [] @@ -26365,20 +26574,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [], "Key": [] @@ -26443,20 +26653,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [], "Key": [] @@ -26506,11 +26717,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26519,10 +26729,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [], "Key": [] @@ -26605,11 +26817,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26618,10 +26829,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [], "Key": [] @@ -26731,11 +26944,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26744,10 +26956,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [], "Key": [] @@ -26805,11 +27019,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26818,10 +27031,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [], "Key": [] @@ -26910,11 +27125,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26923,10 +27137,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [], "Key": [] @@ -26986,11 +27202,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26999,10 +27214,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [], "Key": [] @@ -27086,11 +27303,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27099,10 +27315,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27198,11 +27416,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27211,10 +27428,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27315,11 +27534,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27328,10 +27546,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27427,11 +27647,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27440,10 +27659,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27544,11 +27765,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27557,10 +27777,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [], "Key": [] @@ -27656,11 +27878,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27669,10 +27890,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [], "Key": [] @@ -27773,11 +27996,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27786,10 +28008,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [], "Key": [] @@ -27894,11 +28118,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27907,10 +28130,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [], "Key": [] @@ -28020,11 +28245,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28033,10 +28257,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [], "Key": [] @@ -28144,11 +28370,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28157,10 +28382,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [], "Key": [] @@ -28273,11 +28500,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28286,10 +28512,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28397,11 +28625,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28410,10 +28637,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28526,11 +28755,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28539,10 +28767,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28638,11 +28868,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28651,10 +28880,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28755,11 +28986,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28768,10 +28998,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [], "Key": [] @@ -28869,11 +29101,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28882,10 +29113,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [], "Key": [] @@ -28992,11 +29225,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29005,10 +29237,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [], "Key": [] @@ -29106,11 +29340,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29119,10 +29352,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [], "Key": [] @@ -29229,11 +29464,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29242,10 +29476,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29343,11 +29579,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29356,10 +29591,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29466,11 +29703,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29479,10 +29715,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -29604,11 +29842,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29617,10 +29854,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [], "Key": [] @@ -29727,11 +29966,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29740,10 +29978,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [], "Key": [] @@ -29850,11 +30090,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29863,10 +30102,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [], "Key": [] @@ -29962,11 +30203,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29975,10 +30215,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [], "Key": [] @@ -30110,11 +30352,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30123,10 +30364,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [], "Key": [] @@ -30186,11 +30429,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30199,10 +30441,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [], "Key": [] @@ -30271,11 +30515,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30284,10 +30527,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -30386,11 +30631,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30399,10 +30643,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [], "Key": [] @@ -30484,11 +30730,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30497,10 +30742,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [], "Key": [] @@ -30624,11 +30871,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30637,10 +30883,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [], "Key": [] @@ -30700,11 +30948,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30713,10 +30960,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [], "Key": [] @@ -30785,11 +31034,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30798,12 +31046,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [], "Session": [] @@ -30897,11 +31147,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -30910,12 +31159,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -31082,11 +31333,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31100,6 +31350,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -31216,11 +31467,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31234,6 +31484,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [], "Key": [] @@ -31276,7 +31527,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -31321,11 +31572,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31339,6 +31589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [], "Key": [] @@ -31423,11 +31674,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31436,12 +31686,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [], "Session": [] @@ -31534,11 +31786,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31547,12 +31798,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -31640,7 +31893,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31686,11 +31939,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31699,12 +31951,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [], "Session": [] @@ -31759,7 +32013,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31798,11 +32052,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31811,12 +32064,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [], "Session": [] @@ -31905,11 +32160,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31925,6 +32179,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [], "Session": [] @@ -32033,11 +32288,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -32053,6 +32307,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [], "Session": [] @@ -32165,18 +32420,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [], "Session": [] @@ -32255,18 +32511,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [], "Session": [] @@ -32343,18 +32600,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [], "Session": [] @@ -32408,18 +32666,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [], "Session": [] @@ -32485,18 +32744,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [], "Session": [] @@ -32552,18 +32812,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [], "Session": [] @@ -32652,18 +32913,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32773,18 +33035,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [], "Session": [] @@ -32848,18 +33111,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32945,18 +33209,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [], "Session": [] @@ -33022,17 +33287,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [], "Session": [] @@ -33122,17 +33388,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33185,17 +33452,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33265,11 +33533,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33361,11 +33628,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33452,11 +33718,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33514,11 +33779,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33586,11 +33850,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33654,16 +33917,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [], "Key": [] @@ -33740,16 +34004,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [], "Key": [] @@ -33832,16 +34097,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [], "Key": [] @@ -33919,16 +34185,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34006,16 +34273,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [], "Key": [] @@ -34087,16 +34355,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [], "Key": [] @@ -34150,16 +34419,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [], "Key": [] @@ -34237,16 +34507,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [], "Key": [] @@ -34324,16 +34595,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34441,16 +34713,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [], "Key": [] @@ -34546,16 +34819,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [], "Key": [] @@ -34653,16 +34927,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [], "Key": [] @@ -34707,16 +34982,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [], "Key": [] @@ -34770,16 +35046,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [], "Key": [] @@ -34852,16 +35129,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [], "Key": [] @@ -34936,16 +35214,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [], "Key": [] @@ -35021,16 +35300,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [], "Key": [] @@ -35108,16 +35388,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [], "Key": [] @@ -35206,16 +35487,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -35343,16 +35625,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -35481,16 +35764,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -35602,16 +35886,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -35721,16 +36006,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -35840,16 +36126,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -35961,16 +36248,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [], "Key": [] @@ -36043,16 +36331,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [], "Key": [] @@ -36125,16 +36414,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [], "Key": [] @@ -36207,16 +36497,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36268,16 +36559,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36350,16 +36642,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36422,16 +36715,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [], "Key": [] @@ -36476,16 +36770,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36532,16 +36827,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [], "Key": [] @@ -36605,16 +36901,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [], "Key": [] @@ -36687,7 +36984,6 @@ "cookies": false, "type": "", "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}", @@ -36698,6 +36994,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [], "Key": [] @@ -36773,7 +37070,6 @@ "cookies": false, "type": "", "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}", @@ -36784,6 +37080,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [], "Key": [] @@ -36885,7 +37182,6 @@ "cookies": false, "type": "", "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}", @@ -36896,6 +37192,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [], "Key": [] @@ -36957,7 +37254,6 @@ "cookies": false, "type": "", "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}", @@ -36968,6 +37264,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [], "Key": [] @@ -37048,7 +37345,6 @@ "cookies": false, "type": "", "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}", @@ -37059,6 +37355,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [], "Key": [] @@ -37122,16 +37419,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [], "Key": [] @@ -37206,16 +37504,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [], "Key": [] @@ -37288,16 +37587,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [], "Key": [] diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index fe3f2f50ad..953c76da26 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -102,24 +103,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -188,17 +192,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -265,17 +270,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -336,17 +342,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -400,26 +407,45 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -450,17 +476,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -524,21 +551,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -595,21 +623,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -718,21 +747,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -857,21 +887,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -980,21 +1011,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1057,7 +1089,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -1111,21 +1145,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1248,21 +1283,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1348,21 +1384,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1446,21 +1483,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1544,21 +1582,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1648,17 +1687,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1719,17 +1759,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1795,17 +1836,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1872,17 +1914,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -1922,17 +1965,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -1993,7 +2037,6 @@ "cookies": false, "type": "", "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": [ @@ -2002,11 +2045,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2071,17 +2116,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2154,17 +2200,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2197,17 +2244,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2249,24 +2297,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2299,24 +2350,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2374,17 +2428,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2395,7 +2450,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2446,24 +2503,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2514,7 +2574,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -2589,17 +2650,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2610,7 +2672,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2668,24 +2732,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2743,17 +2810,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2805,17 +2873,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2860,17 +2929,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -2924,17 +2994,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -2976,16 +3047,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3056,16 +3128,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3128,16 +3201,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3190,7 +3264,6 @@ "cookies": false, "type": "", "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": [ @@ -3199,18 +3272,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3273,7 +3350,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3282,18 +3358,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3354,24 +3434,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3422,7 +3505,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3497,7 +3581,6 @@ "cookies": false, "type": "", "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": [ @@ -3506,18 +3589,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3575,17 +3662,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3696,17 +3784,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3829,7 +3918,6 @@ "cookies": false, "type": "", "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": [ @@ -3838,11 +3926,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -3882,17 +3972,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -3952,18 +4043,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4079,18 +4171,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4212,18 +4305,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4271,18 +4365,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4760,18 +4855,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4843,18 +4939,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -4936,18 +5033,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5029,18 +5127,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5744,7 +5843,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5777,22 +5876,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -5843,22 +5943,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -5912,22 +6013,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -5975,22 +6077,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6052,22 +6155,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6117,22 +6221,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6201,22 +6306,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -6312,22 +6418,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -6472,22 +6579,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -6582,22 +6690,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -6621,8 +6730,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -6691,7 +6799,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6708,10 +6816,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -6740,22 +6845,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -6812,7 +6918,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6851,22 +6957,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -6957,11 +7064,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -6974,6 +7080,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -7084,11 +7191,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7101,6 +7207,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -7211,16 +7318,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -7298,16 +7405,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -7416,16 +7523,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -7491,22 +7598,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7544,22 +7652,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7601,18 +7710,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -7654,18 +7764,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -7707,18 +7818,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -7760,18 +7872,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -7813,18 +7926,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -7866,18 +7980,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -7919,18 +8034,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -7972,18 +8088,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -8021,11 +8138,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -8038,6 +8154,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -8105,11 +8222,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -8122,6 +8238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -8185,18 +8302,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -8283,18 +8401,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -8383,18 +8502,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -8456,18 +8576,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -8548,18 +8669,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -8616,18 +8738,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -8695,18 +8818,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -8924,18 +9048,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -9006,11 +9131,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9019,12 +9143,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -9075,11 +9201,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9088,12 +9213,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -9147,11 +9274,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9160,12 +9286,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -9213,11 +9341,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9226,12 +9353,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -9293,11 +9422,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9306,12 +9434,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -9361,11 +9491,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9374,12 +9503,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -9448,11 +9579,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9461,12 +9591,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -9558,11 +9690,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9571,12 +9702,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -9713,11 +9846,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9726,12 +9858,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -9822,11 +9956,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9835,12 +9968,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -9925,7 +10060,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9971,11 +10106,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9984,12 +10118,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -10042,7 +10178,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -10081,11 +10217,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10094,12 +10229,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -10186,11 +10323,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10206,6 +10342,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -10312,11 +10449,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10332,6 +10468,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -10442,18 +10579,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -10530,18 +10668,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -10616,18 +10755,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -10679,18 +10819,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -10754,18 +10895,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -10819,18 +10961,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -10917,18 +11060,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -11036,18 +11180,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -11109,18 +11254,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -11204,18 +11350,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -11279,17 +11426,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -11378,17 +11526,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -11440,17 +11589,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index d436913e90..e0ab50c73a 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -101,24 +102,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -178,7 +181,6 @@ "cookies": false, "type": "", "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}", @@ -188,6 +190,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", "auth": { "Project": [] } @@ -227,17 +230,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -303,17 +307,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -373,17 +378,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -436,26 +442,44 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -486,17 +510,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -559,21 +584,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -629,21 +655,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -751,21 +778,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -889,21 +917,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1011,21 +1040,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1088,7 +1118,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -1142,21 +1173,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1278,21 +1310,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1377,21 +1410,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1474,21 +1508,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1571,21 +1606,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1674,17 +1710,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1744,17 +1781,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1819,17 +1857,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1895,17 +1934,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -1944,17 +1984,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2014,7 +2055,6 @@ "cookies": false, "type": "", "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": [ @@ -2023,11 +2063,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2091,17 +2133,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2173,17 +2216,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2215,17 +2259,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2266,24 +2311,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ] } @@ -2316,24 +2363,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2391,17 +2440,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2412,7 +2462,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2463,24 +2514,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2531,7 +2584,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -2606,17 +2660,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2627,7 +2682,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2685,24 +2741,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -2760,17 +2818,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2821,17 +2880,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2875,17 +2935,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -2938,17 +2999,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -2989,16 +3051,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3068,16 +3131,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3139,16 +3203,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3200,7 +3265,6 @@ "cookies": false, "type": "", "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": [ @@ -3209,18 +3273,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3283,7 +3350,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3292,18 +3358,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3364,24 +3433,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3432,7 +3503,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3507,7 +3579,6 @@ "cookies": false, "type": "", "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": [ @@ -3516,18 +3587,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "requestBody": { @@ -3585,17 +3659,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3705,17 +3780,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3837,7 +3913,6 @@ "cookies": false, "type": "", "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": [ @@ -3846,11 +3921,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -3889,17 +3966,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -3958,18 +4036,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4085,18 +4164,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4218,18 +4298,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4277,18 +4358,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4766,18 +4848,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4849,18 +4932,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -4942,18 +5026,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5035,18 +5120,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5750,7 +5836,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5776,11 +5862,10 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "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}", @@ -5790,6 +5875,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", "auth": { "Project": [] } @@ -5837,11 +5923,10 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "console\/get-resource.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCheck if a resource ID is available.", "rate-limit": 120, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -5913,11 +5998,10 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "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}", @@ -5927,6 +6011,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", "auth": { "Project": [] } @@ -5962,20 +6047,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -6080,20 +6166,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -6196,22 +6283,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -6262,22 +6350,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6331,22 +6420,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6394,22 +6484,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6471,22 +6562,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6536,22 +6628,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6620,11 +6713,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 323, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -6634,6 +6726,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listUsage" @@ -6724,20 +6817,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6817,20 +6911,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6930,20 +7025,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -7024,20 +7120,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -7123,20 +7220,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -7200,7 +7298,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "x-example": null, "items": { "type": "object" @@ -7249,20 +7347,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -7323,20 +7422,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -7428,20 +7528,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7504,20 +7605,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7604,20 +7706,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7716,20 +7819,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7833,20 +7937,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7945,20 +8050,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -8062,20 +8168,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -8174,20 +8281,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -8291,20 +8399,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -8412,20 +8521,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8538,20 +8648,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8662,20 +8773,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8791,20 +8903,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8915,20 +9028,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -9044,20 +9158,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -9156,20 +9271,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -9273,20 +9389,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -9387,20 +9504,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9510,20 +9628,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9624,20 +9743,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9747,20 +9867,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9861,20 +9982,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9984,20 +10106,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -10122,20 +10245,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -10245,20 +10369,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -10368,20 +10493,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -10480,20 +10606,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10628,20 +10755,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10704,20 +10832,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10789,20 +10918,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10904,22 +11034,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -11015,22 +11146,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -11205,11 +11337,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11220,6 +11351,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -11342,11 +11474,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11357,6 +11488,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -11402,7 +11534,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -11447,11 +11579,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11462,6 +11593,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11549,22 +11681,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11659,22 +11792,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11698,8 +11832,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11768,7 +11901,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11785,10 +11918,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -11817,22 +11947,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11889,7 +12020,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11928,22 +12059,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -12034,11 +12166,10 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "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}", @@ -12048,6 +12179,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRowLogs" @@ -12132,11 +12264,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12149,6 +12280,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -12259,11 +12391,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12276,6 +12407,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -12386,20 +12518,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -12484,20 +12617,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12624,20 +12758,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12700,20 +12835,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12785,11 +12921,10 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "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}", @@ -12799,6 +12934,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTableLogs" @@ -12873,11 +13009,10 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 330, + "weight": 331, "cookies": false, "type": "", "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}", @@ -12887,6 +13022,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTableUsage" @@ -12970,11 +13106,10 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 321, + "weight": 322, "cookies": false, "type": "", "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}", @@ -12984,6 +13119,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listDatabaseLogs" @@ -13078,11 +13214,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 322, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/get-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}", @@ -13092,6 +13227,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getUsage" @@ -13195,16 +13331,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13280,16 +13416,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13575,16 +13711,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -13625,11 +13761,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13676,11 +13811,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "functions\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13869,11 +14003,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "functions\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13930,11 +14063,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "functions\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -14003,16 +14135,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14063,16 +14195,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14355,16 +14487,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14417,16 +14549,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14498,16 +14630,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14593,16 +14725,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -14692,16 +14824,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14778,16 +14910,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14895,16 +15027,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14993,16 +15125,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15056,16 +15188,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15121,16 +15253,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server", "server" ], @@ -15212,16 +15344,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15284,16 +15416,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -15371,16 +15503,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -15489,16 +15621,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -15555,16 +15687,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15627,11 +15759,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "functions\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -15710,16 +15841,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15770,16 +15901,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15862,16 +15993,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15932,16 +16063,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16026,16 +16157,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16098,22 +16229,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16151,22 +16283,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16208,16 +16341,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [] } @@ -16258,16 +16392,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [] } @@ -16308,16 +16443,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [] } @@ -16358,16 +16494,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [] } @@ -16419,16 +16556,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [] } @@ -16469,16 +16607,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [] } @@ -16519,16 +16658,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [] } @@ -16582,16 +16722,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [] } @@ -16645,16 +16786,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [] } @@ -16719,16 +16861,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [] } @@ -16782,16 +16925,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [] } @@ -16871,16 +17015,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [] } @@ -16934,16 +17079,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [] } @@ -16997,16 +17143,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [] } @@ -17060,16 +17207,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [] } @@ -17123,16 +17271,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [] } @@ -17186,16 +17335,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [] } @@ -17249,16 +17399,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [] } @@ -17312,16 +17463,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [] } @@ -17375,16 +17527,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [] } @@ -17425,16 +17578,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [] } @@ -17475,16 +17629,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [] } @@ -17525,18 +17680,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -17578,18 +17734,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -17631,18 +17788,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -17684,18 +17842,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -17737,18 +17896,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -17790,18 +17950,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -17843,18 +18004,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -17896,18 +18058,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -17945,11 +18108,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -17960,6 +18122,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [] } @@ -18033,11 +18196,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -18048,6 +18210,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [] } @@ -18179,11 +18342,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -18194,6 +18356,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [] } @@ -18337,11 +18500,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -18352,6 +18514,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [] } @@ -18514,11 +18677,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -18529,6 +18691,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [] } @@ -18711,11 +18874,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -18726,6 +18888,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -18892,11 +19055,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -18907,6 +19069,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -19079,11 +19242,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -19094,6 +19256,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [] } @@ -19133,11 +19296,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -19148,6 +19310,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [] } @@ -19196,11 +19359,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -19211,6 +19373,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [] } @@ -19283,11 +19446,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -19298,6 +19460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [] } @@ -19370,11 +19533,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -19385,6 +19547,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [] } @@ -19458,11 +19621,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -19473,6 +19635,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -19637,11 +19800,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -19652,6 +19814,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -19818,11 +19981,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -19833,6 +19995,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -19970,11 +20133,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -19985,6 +20147,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -20123,11 +20286,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -20138,6 +20300,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [] } @@ -20241,11 +20404,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -20256,6 +20418,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [] } @@ -20362,11 +20525,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -20377,6 +20539,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [] } @@ -20459,11 +20622,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -20474,6 +20636,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [] } @@ -20559,11 +20722,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20574,6 +20736,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [] } @@ -20666,11 +20829,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20681,6 +20843,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [] } @@ -20776,11 +20939,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -20791,6 +20953,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [] } @@ -20883,11 +21046,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -20898,6 +21060,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [] } @@ -20993,11 +21156,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -21008,6 +21170,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -21224,11 +21387,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -21239,6 +21401,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -21455,11 +21618,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -21470,6 +21632,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [] } @@ -21552,11 +21715,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -21567,6 +21729,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [] } @@ -21652,11 +21815,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -21667,6 +21829,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [] } @@ -21749,11 +21912,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -21764,6 +21926,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [] } @@ -21849,11 +22012,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -21864,6 +22026,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [] } @@ -21946,11 +22109,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -21961,6 +22123,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [] } @@ -22046,11 +22209,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -22061,6 +22223,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [] } @@ -22143,11 +22306,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -22158,6 +22320,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [] } @@ -22243,11 +22406,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -22258,6 +22420,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [] } @@ -22297,11 +22460,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -22312,6 +22474,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [] } @@ -22360,11 +22523,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -22375,6 +22537,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [] } @@ -22447,11 +22610,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -22462,6 +22624,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [] } @@ -22534,11 +22697,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -22549,6 +22711,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [] } @@ -22620,11 +22783,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -22635,6 +22797,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [] } @@ -22704,11 +22867,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -22719,6 +22881,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [] } @@ -22765,11 +22928,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -22780,6 +22942,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [] } @@ -22845,11 +23008,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -22860,6 +23022,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [] } @@ -22908,11 +23071,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -22923,6 +23085,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [] } @@ -22995,11 +23158,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -23010,6 +23172,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [] } @@ -23091,11 +23254,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -23108,6 +23270,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -23182,11 +23345,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -23197,6 +23359,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [] } @@ -23246,11 +23409,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -23263,6 +23425,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -23322,11 +23485,10 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 250, + "weight": 251, "cookies": false, "type": "", "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}", @@ -23336,6 +23498,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", "auth": { "Project": [] } @@ -23408,11 +23571,10 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 244, + "weight": 245, "cookies": false, "type": "", "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}", @@ -23422,6 +23584,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", "auth": { "Project": [] } @@ -23517,11 +23680,10 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 252, + "weight": 253, "cookies": false, "type": "", "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}", @@ -23531,6 +23693,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", "auth": { "Project": [] } @@ -23631,11 +23794,10 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 249, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23645,6 +23807,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "auth": { "Project": [] } @@ -23746,11 +23909,10 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 248, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23760,6 +23922,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "auth": { "Project": [] } @@ -23831,11 +23994,10 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 245, + "weight": 246, "cookies": false, "type": "", "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}", @@ -23845,6 +24007,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", "auth": { "Project": [] } @@ -23922,11 +24085,10 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 253, + "weight": 254, "cookies": false, "type": "", "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}", @@ -23936,6 +24098,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", "auth": { "Project": [] } @@ -24009,11 +24172,10 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 247, + "weight": 248, "cookies": false, "type": "", "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}", @@ -24023,6 +24185,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", "auth": { "Project": [] } @@ -24136,11 +24299,10 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 255, + "weight": 256, "cookies": false, "type": "", "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}", @@ -24150,6 +24312,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", "auth": { "Project": [] } @@ -24285,11 +24448,10 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 246, + "weight": 247, "cookies": false, "type": "", "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}", @@ -24299,6 +24461,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", "auth": { "Project": [] } @@ -24406,11 +24569,10 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 254, + "weight": 255, "cookies": false, "type": "", "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}", @@ -24420,6 +24582,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", "auth": { "Project": [] } @@ -24546,11 +24709,10 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 251, + "weight": 252, "cookies": false, "type": "", "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}", @@ -24560,6 +24722,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", "auth": { "Project": [] } @@ -24605,11 +24768,10 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 256, + "weight": 257, "cookies": false, "type": "", "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}", @@ -24619,6 +24781,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", "auth": { "Project": [] } @@ -24657,11 +24820,10 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 257, + "weight": 258, "cookies": false, "type": "", "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}", @@ -24671,6 +24833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", "auth": { "Project": [] } @@ -24722,7 +24885,6 @@ "cookies": false, "type": "", "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}", @@ -24732,6 +24894,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", "auth": { "Project": [] } @@ -24811,7 +24974,6 @@ "cookies": false, "type": "", "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}", @@ -24821,6 +24983,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", "auth": { "Project": [] } @@ -24858,7 +25021,6 @@ "cookies": false, "type": "", "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}", @@ -24868,6 +25030,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", "auth": { "Project": [] } @@ -24937,7 +25100,6 @@ "cookies": false, "type": "", "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}", @@ -24947,6 +25109,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", "auth": { "Project": [] } @@ -24996,7 +25159,6 @@ "cookies": false, "type": "", "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}", @@ -25006,6 +25168,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", "auth": { "Project": [] } @@ -25079,7 +25242,6 @@ "cookies": false, "type": "", "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}", @@ -25089,6 +25251,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", "auth": { "Project": [] } @@ -25136,11 +25299,10 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25224,7 +25386,6 @@ "cookies": false, "type": "", "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}", @@ -25234,6 +25395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", "auth": { "Project": [] } @@ -25359,7 +25521,6 @@ "cookies": false, "type": "", "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}", @@ -25369,6 +25530,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", "auth": { "Project": [] } @@ -25418,7 +25580,6 @@ "cookies": false, "type": "", "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}", @@ -25428,6 +25589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", "auth": { "Project": [] } @@ -25534,7 +25696,6 @@ "cookies": false, "type": "", "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}", @@ -25544,6 +25705,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", "auth": { "Project": [] } @@ -25595,7 +25757,6 @@ "cookies": false, "type": "", "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}", @@ -25605,6 +25766,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatus" @@ -25752,7 +25914,6 @@ "cookies": false, "type": "", "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}", @@ -25762,6 +25923,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatusAll" @@ -25892,7 +26054,6 @@ "cookies": false, "type": "", "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}", @@ -25902,6 +26063,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", "auth": { "Project": [] } @@ -25972,7 +26134,6 @@ "cookies": false, "type": "", "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}", @@ -25982,6 +26143,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", "auth": { "Project": [] } @@ -26052,7 +26214,6 @@ "cookies": false, "type": "", "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}", @@ -26062,6 +26223,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", "auth": { "Project": [] } @@ -26132,7 +26294,6 @@ "cookies": false, "type": "", "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}", @@ -26142,6 +26303,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", "auth": { "Project": [] } @@ -26224,7 +26386,6 @@ "cookies": false, "type": "", "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}", @@ -26234,6 +26395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", "auth": { "Project": [] } @@ -26307,7 +26469,6 @@ "cookies": false, "type": "", "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}", @@ -26317,6 +26478,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", "auth": { "Project": [] } @@ -26387,7 +26549,6 @@ "cookies": false, "type": "", "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}", @@ -26397,6 +26558,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", "auth": { "Project": [] } @@ -26467,7 +26629,6 @@ "cookies": false, "type": "", "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}", @@ -26477,6 +26638,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", "auth": { "Project": [] } @@ -26547,7 +26709,6 @@ "cookies": false, "type": "", "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}", @@ -26557,6 +26718,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", "auth": { "Project": [] } @@ -26627,7 +26789,6 @@ "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26637,6 +26798,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "auth": { "Project": [] } @@ -26707,7 +26869,6 @@ "cookies": false, "type": "", "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}", @@ -26717,6 +26878,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", "auth": { "Project": [] } @@ -26804,15 +26966,14 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList 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.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -26876,15 +27037,14 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -26962,15 +27122,14 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 449, + "weight": 450, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -27031,15 +27190,14 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a project\\'s dev key by its unique ID. Use this endpoint to update a project\\'s dev key name or expiration time.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27118,15 +27276,14 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27193,7 +27350,6 @@ "cookies": false, "type": "", "demo": "projects\/create-jwt.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}", @@ -27203,6 +27359,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", "auth": { "Project": [] } @@ -27340,7 +27497,6 @@ "cookies": false, "type": "", "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}", @@ -27350,6 +27506,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", "auth": { "Project": [] } @@ -27410,7 +27567,6 @@ "cookies": false, "type": "", "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}", @@ -27420,6 +27576,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", "auth": { "Project": [] } @@ -27565,7 +27722,6 @@ "cookies": false, "type": "", "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}", @@ -27575,6 +27731,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", "auth": { "Project": [] } @@ -27634,7 +27791,6 @@ "cookies": false, "type": "", "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}", @@ -27644,6 +27800,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", "auth": { "Project": [] } @@ -27790,7 +27947,6 @@ "cookies": false, "type": "", "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}", @@ -27800,6 +27956,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", "auth": { "Project": [] } @@ -27861,7 +28018,6 @@ "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.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}", @@ -27871,6 +28027,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", "auth": { "Project": [] } @@ -27942,7 +28099,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -28003,7 +28161,6 @@ "cookies": false, "type": "", "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}", @@ -28013,6 +28170,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", "auth": { "Project": [] } @@ -28073,7 +28231,6 @@ "cookies": false, "type": "", "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}", @@ -28083,6 +28240,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", "auth": { "Project": [] } @@ -28193,7 +28351,6 @@ "cookies": false, "type": "", "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}", @@ -28203,6 +28360,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", "auth": { "Project": [] } @@ -28262,7 +28420,6 @@ "cookies": false, "type": "", "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}", @@ -28272,6 +28429,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", "auth": { "Project": [] } @@ -28358,7 +28516,6 @@ "cookies": false, "type": "", "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}", @@ -28368,6 +28525,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", "auth": { "Project": [] } @@ -28429,7 +28587,6 @@ "cookies": false, "type": "", "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}", @@ -28439,6 +28596,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", "auth": { "Project": [] } @@ -28532,7 +28690,6 @@ "cookies": false, "type": "", "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}", @@ -28542,6 +28699,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", "auth": { "Project": [] } @@ -28612,7 +28770,6 @@ "cookies": false, "type": "", "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}", @@ -28622,6 +28779,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMTP" @@ -28807,7 +28965,6 @@ "cookies": false, "type": "", "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}", @@ -28817,6 +28974,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.createSMTPTest" @@ -29019,7 +29177,6 @@ "cookies": false, "type": "", "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}", @@ -29029,6 +29186,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", "auth": { "Project": [] } @@ -29099,7 +29257,6 @@ "cookies": false, "type": "", "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}", @@ -29109,6 +29266,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", "auth": { "Project": [] } @@ -29324,7 +29482,6 @@ "cookies": false, "type": "", "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}", @@ -29334,6 +29491,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", "auth": { "Project": [] } @@ -29589,7 +29747,6 @@ "cookies": false, "type": "", "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}", @@ -29599,6 +29756,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", "auth": { "Project": [] } @@ -29816,7 +29974,6 @@ "cookies": false, "type": "", "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}", @@ -29826,6 +29983,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.getSMSTemplate" @@ -30102,7 +30260,6 @@ "cookies": false, "type": "", "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}", @@ -30112,6 +30269,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMSTemplate" @@ -30411,7 +30569,6 @@ "cookies": false, "type": "", "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}", @@ -30421,6 +30578,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.deleteSMSTemplate" @@ -30699,7 +30857,6 @@ "cookies": false, "type": "", "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}", @@ -30709,6 +30866,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", "auth": { "Project": [] } @@ -30769,7 +30927,6 @@ "cookies": false, "type": "", "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}", @@ -30779,6 +30936,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", "auth": { "Project": [] } @@ -30885,7 +31043,6 @@ "cookies": false, "type": "", "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}", @@ -30895,6 +31052,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", "auth": { "Project": [] } @@ -30954,7 +31112,6 @@ "cookies": false, "type": "", "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}", @@ -30964,6 +31121,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", "auth": { "Project": [] } @@ -31071,7 +31229,6 @@ "cookies": false, "type": "", "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}", @@ -31081,6 +31238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", "auth": { "Project": [] } @@ -31142,7 +31300,6 @@ "cookies": false, "type": "", "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}", @@ -31152,6 +31309,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", "auth": { "Project": [] } @@ -31209,11 +31367,10 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the proxy rules. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31295,11 +31452,10 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite's API on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31363,11 +31519,10 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for executing Appwrite Function on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31442,11 +31597,10 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for to redirect from custom domain to another domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31556,11 +31710,10 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite Site on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31635,11 +31788,10 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31687,11 +31839,10 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31748,11 +31899,10 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterRetry 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31809,16 +31959,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -31894,16 +32044,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32147,16 +32297,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -32197,11 +32347,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32248,11 +32397,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "sites\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available site templates. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32378,11 +32526,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "sites\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site template using ID. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32439,11 +32586,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "sites\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32512,16 +32658,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -32572,16 +32718,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32821,16 +32967,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32883,16 +33029,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32964,16 +33110,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33059,16 +33205,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -33164,16 +33310,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33245,16 +33391,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33362,16 +33508,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33461,16 +33607,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33524,16 +33670,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33589,16 +33735,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server", "server" ], @@ -33680,16 +33826,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33752,16 +33898,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33838,16 +33984,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33901,16 +34047,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33973,11 +34119,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "sites\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -34056,16 +34201,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34116,16 +34261,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34208,16 +34353,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34278,16 +34423,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34372,16 +34517,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34448,16 +34593,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [] } @@ -34533,16 +34679,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [] } @@ -34667,16 +34814,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [] } @@ -34727,16 +34875,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [] } @@ -34858,16 +35007,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [] } @@ -34920,18 +35070,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -35018,18 +35169,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -35118,18 +35270,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -35191,18 +35344,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -35283,18 +35437,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -35351,18 +35506,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -35430,18 +35586,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -35659,18 +35816,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -35745,7 +35903,6 @@ "cookies": false, "type": "", "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}", @@ -35755,6 +35912,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", "auth": { "Project": [] } @@ -35818,7 +35976,6 @@ "cookies": false, "type": "", "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}", @@ -35828,6 +35985,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", "auth": { "Project": [] } @@ -35897,20 +36055,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [] } @@ -35982,20 +36141,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [] } @@ -36062,11 +36222,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36075,12 +36234,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -36131,11 +36292,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36144,12 +36304,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -36203,11 +36365,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36216,12 +36377,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -36269,11 +36432,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36282,12 +36444,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -36349,11 +36513,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36362,12 +36525,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -36417,11 +36582,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36430,12 +36594,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -36504,11 +36670,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 388, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36521,6 +36686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "methods": [ { "name": "listUsage", @@ -36603,20 +36769,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [] } @@ -36663,20 +36830,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [] } @@ -36740,20 +36908,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [] } @@ -36802,11 +36971,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36815,10 +36983,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [] } @@ -36900,11 +37070,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36913,10 +37082,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [] } @@ -37025,11 +37196,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37038,10 +37208,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [] } @@ -37098,11 +37270,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37111,10 +37282,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [] } @@ -37202,11 +37375,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37215,10 +37387,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [] } @@ -37277,11 +37451,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37290,10 +37463,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [] } @@ -37376,11 +37551,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37389,10 +37563,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [] } @@ -37487,11 +37663,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37500,10 +37675,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [] } @@ -37603,11 +37780,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37616,10 +37792,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [] } @@ -37714,11 +37892,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37727,10 +37904,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [] } @@ -37830,11 +38009,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37843,10 +38021,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [] } @@ -37941,11 +38121,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37954,10 +38133,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [] } @@ -38057,11 +38238,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38070,10 +38250,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [] } @@ -38177,11 +38359,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38190,10 +38371,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [] } @@ -38302,11 +38485,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38315,10 +38497,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [] } @@ -38425,11 +38609,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38438,10 +38621,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [] } @@ -38553,11 +38738,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38566,10 +38750,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [] } @@ -38676,11 +38862,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38689,10 +38874,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [] } @@ -38804,11 +38991,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38817,10 +39003,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [] } @@ -38915,11 +39103,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38928,10 +39115,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [] } @@ -39031,11 +39220,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39044,10 +39232,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [] } @@ -39144,11 +39334,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39157,10 +39346,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [] } @@ -39266,11 +39457,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39279,10 +39469,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [] } @@ -39379,11 +39571,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39392,10 +39583,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [] } @@ -39501,11 +39694,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39514,10 +39706,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [] } @@ -39614,11 +39808,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39627,10 +39820,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [] } @@ -39736,11 +39931,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39749,10 +39943,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [] } @@ -39873,11 +40069,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39886,10 +40081,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [] } @@ -39995,11 +40192,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40008,10 +40204,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [] } @@ -40117,11 +40315,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40130,10 +40327,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [] } @@ -40228,11 +40427,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40241,10 +40439,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [] } @@ -40375,11 +40575,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40388,10 +40587,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [] } @@ -40450,11 +40651,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40463,10 +40663,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [] } @@ -40534,11 +40736,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40547,10 +40748,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [] } @@ -40648,11 +40851,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40661,10 +40863,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [] } @@ -40745,11 +40949,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40758,10 +40961,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [] } @@ -40884,11 +41089,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40897,10 +41101,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [] } @@ -40959,11 +41165,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40972,10 +41177,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [] } @@ -41043,11 +41250,10 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41060,6 +41266,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "auth": { "Project": [] } @@ -41130,11 +41337,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41143,12 +41349,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -41240,11 +41448,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41253,12 +41460,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -41421,11 +41630,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41439,6 +41647,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -41553,11 +41762,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41571,6 +41779,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [] } @@ -41612,7 +41821,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -41657,11 +41866,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41675,6 +41883,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [] } @@ -41758,11 +41967,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41771,12 +41979,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -41867,11 +42077,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41880,12 +42089,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -41970,7 +42181,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42016,11 +42227,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42029,12 +42239,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -42087,7 +42299,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42126,11 +42338,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42139,12 +42350,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -42231,11 +42444,10 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42248,6 +42460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "auth": { "Project": [] } @@ -42328,11 +42541,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42348,6 +42560,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -42454,11 +42667,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42474,6 +42686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -42580,11 +42793,10 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 395, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42597,6 +42809,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "auth": { "Project": [] } @@ -42676,11 +42889,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 387, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42693,6 +42905,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "methods": [ { "name": "getUsage", @@ -42792,18 +43005,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -42880,18 +43094,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -42966,18 +43181,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -43029,18 +43245,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -43104,18 +43321,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -43169,7 +43387,6 @@ "cookies": false, "type": "", "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}", @@ -43179,6 +43396,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", "auth": { "Project": [] } @@ -43254,18 +43472,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -43352,18 +43571,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -43471,18 +43691,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -43544,18 +43765,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -43639,18 +43861,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -43714,17 +43937,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -43812,17 +44036,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -43873,17 +44098,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } @@ -43951,11 +44177,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44046,11 +44271,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44136,11 +44360,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44197,11 +44420,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44268,11 +44490,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44335,16 +44556,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [] } @@ -44420,16 +44642,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [] } @@ -44511,16 +44734,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [] } @@ -44597,16 +44821,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [] } @@ -44683,16 +44908,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [] } @@ -44763,16 +44989,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [] } @@ -44825,16 +45052,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [] } @@ -44911,16 +45139,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [] } @@ -44997,16 +45226,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [] } @@ -45113,16 +45343,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [] } @@ -45217,16 +45448,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [] } @@ -45323,7 +45555,6 @@ "cookies": false, "type": "", "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}", @@ -45333,6 +45564,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", "auth": { "Project": [] } @@ -45396,16 +45628,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [] } @@ -45449,16 +45682,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [] } @@ -45511,16 +45745,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [] } @@ -45592,16 +45827,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [] } @@ -45675,16 +45911,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [] } @@ -45759,16 +45996,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [] } @@ -45845,16 +46083,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [] } @@ -45942,16 +46181,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -46076,16 +46316,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -46211,16 +46452,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -46329,16 +46571,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -46445,16 +46688,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -46561,16 +46805,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -46679,16 +46924,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [] } @@ -46760,16 +47006,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [] } @@ -46841,16 +47088,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [] } @@ -46922,16 +47170,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [] } @@ -46982,16 +47231,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [] } @@ -47063,16 +47313,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [] } @@ -47134,16 +47385,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [] } @@ -47187,16 +47439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [] } @@ -47242,16 +47495,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [] } @@ -47314,16 +47568,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [] } @@ -47395,7 +47650,6 @@ "cookies": false, "type": "", "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}", @@ -47406,6 +47660,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [] } @@ -47480,7 +47735,6 @@ "cookies": false, "type": "", "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}", @@ -47491,6 +47745,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [] } @@ -47591,7 +47846,6 @@ "cookies": false, "type": "", "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}", @@ -47602,6 +47856,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [] } @@ -47662,7 +47917,6 @@ "cookies": false, "type": "", "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}", @@ -47673,6 +47927,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [] } @@ -47752,7 +48007,6 @@ "cookies": false, "type": "", "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}", @@ -47763,6 +48017,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [] } @@ -47825,16 +48080,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [] } @@ -47908,16 +48164,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [] } @@ -47989,16 +48246,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [] } @@ -48070,7 +48328,6 @@ "cookies": false, "type": "", "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}", @@ -48080,6 +48337,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", "auth": { "Project": [] } @@ -48167,7 +48425,6 @@ "cookies": false, "type": "", "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}", @@ -48177,6 +48434,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", "auth": { "Project": [] } @@ -48266,7 +48524,6 @@ "cookies": false, "type": "", "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}", @@ -48276,6 +48533,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", "auth": { "Project": [] } @@ -48352,7 +48610,6 @@ "cookies": false, "type": "", "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}", @@ -48362,6 +48619,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", "auth": { "Project": [] } @@ -48423,7 +48681,6 @@ "cookies": false, "type": "", "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}", @@ -48433,6 +48690,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", "auth": { "Project": [] } @@ -48494,7 +48752,6 @@ "cookies": false, "type": "", "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}", @@ -48504,6 +48761,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", "auth": { "Project": [] } @@ -48580,7 +48838,6 @@ "cookies": false, "type": "", "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}", @@ -48590,6 +48847,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", "auth": { "Project": [] } @@ -48670,7 +48928,6 @@ "cookies": false, "type": "", "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}", @@ -48680,6 +48937,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", "auth": { "Project": [] } @@ -48756,7 +49014,6 @@ "cookies": false, "type": "", "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}", @@ -48766,6 +49023,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", "auth": { "Project": [] } @@ -48808,7 +49066,6 @@ "cookies": false, "type": "", "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}", @@ -48818,6 +49075,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", "auth": { "Project": [] } @@ -60391,8 +60649,8 @@ }, "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." + "description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.", + "x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record." }, "renewAt": { "type": "string", @@ -60431,7 +60689,7 @@ "deploymentResourceId": "n3u9feiwmf", "deploymentVcsProviderBranch": "main", "status": "verified", - "logs": "HTTP challegne failed.", + "logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.", "renewAt": "datetime" } }, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 485766809e..3c9c19bd5d 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -52,17 +52,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [], "Session": [] @@ -103,24 +104,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -189,17 +194,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [], "Session": [] @@ -267,17 +273,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [], "Session": [] @@ -339,17 +346,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [], "Session": [] @@ -404,26 +412,46 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } - ] + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } } }, "\/account\/logs": { @@ -454,17 +482,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [], "Session": [] @@ -529,21 +558,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [], "Session": [] @@ -601,21 +631,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -727,21 +758,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -869,21 +901,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -995,21 +1028,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1020,7 +1054,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1047,7 +1082,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1067,12 +1103,15 @@ } ], "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -1126,21 +1165,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1266,21 +1306,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1369,21 +1410,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1470,21 +1512,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1571,21 +1614,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1678,17 +1722,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [], "Session": [] @@ -1750,17 +1795,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [], "Session": [] @@ -1827,17 +1873,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [], "Session": [] @@ -1905,17 +1952,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [], "Session": [] @@ -1956,17 +2004,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [], "Session": [] @@ -2028,7 +2077,6 @@ "cookies": false, "type": "", "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": [ @@ -2037,11 +2085,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [], "Session": [] @@ -2107,17 +2157,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [], "Session": [] @@ -2191,17 +2242,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [], "Session": [] @@ -2235,17 +2287,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [], "Session": [] @@ -2288,24 +2341,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2338,24 +2395,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2413,28 +2474,32 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2492,28 +2557,32 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2571,24 +2640,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2646,17 +2719,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [], "Session": [] @@ -2709,17 +2783,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [], "Session": [] @@ -2765,17 +2840,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [], "Session": [] @@ -2830,17 +2906,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [], "Session": [] @@ -2883,7 +2960,6 @@ "cookies": false, "type": "", "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": [ @@ -2892,18 +2968,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -2966,7 +3047,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -2975,18 +3055,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3047,24 +3132,28 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3115,7 +3204,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -3190,7 +3280,6 @@ "cookies": false, "type": "", "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": [ @@ -3199,18 +3288,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "requestBody": { @@ -3268,17 +3362,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3392,17 +3487,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3528,7 +3624,6 @@ "cookies": false, "type": "", "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": [ @@ -3537,11 +3632,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3582,17 +3679,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3653,18 +3751,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [], "Session": [] @@ -3782,18 +3881,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [], "Session": [] @@ -3917,18 +4017,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [], "Session": [] @@ -3978,18 +4079,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [], "Session": [] @@ -4469,18 +4571,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [], "Session": [] @@ -4554,18 +4657,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [], "Session": [] @@ -4649,18 +4753,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [], "Session": [] @@ -4744,18 +4849,19 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [], "Session": [] @@ -5461,7 +5567,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "" }, @@ -5494,20 +5600,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -5614,20 +5721,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -5732,22 +5840,23 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -5800,22 +5909,23 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -5871,22 +5981,23 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -5936,22 +6047,23 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -6015,22 +6127,23 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -6082,22 +6195,23 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -6168,20 +6282,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6263,20 +6378,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6378,20 +6494,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -6474,20 +6591,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -6574,20 +6692,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -6652,7 +6771,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "x-example": null, "items": { "type": "object" @@ -6701,20 +6820,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -6776,20 +6896,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -6882,20 +7003,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -6959,20 +7081,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7060,20 +7183,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7173,20 +7297,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7291,20 +7416,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7404,20 +7530,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -7522,20 +7649,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -7635,20 +7763,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -7753,20 +7882,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -7875,20 +8005,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8002,20 +8133,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8127,20 +8259,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8257,20 +8390,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8382,20 +8516,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -8512,20 +8647,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -8625,20 +8761,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -8743,20 +8880,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -8858,20 +8996,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -8982,20 +9121,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9097,20 +9237,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9221,20 +9362,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9336,20 +9478,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9460,20 +9603,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -9599,20 +9743,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -9723,20 +9868,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -9847,20 +9993,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -9960,20 +10107,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10109,20 +10257,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10186,20 +10335,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10272,20 +10422,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10388,22 +10539,23 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -10501,22 +10653,23 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -10695,11 +10848,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10710,6 +10862,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -10834,11 +10987,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10849,6 +11001,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -10895,7 +11048,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -10940,11 +11093,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10955,6 +11107,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11043,22 +11196,23 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11155,22 +11309,23 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11195,8 +11350,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11267,7 +11421,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11284,10 +11438,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } } @@ -11316,22 +11467,23 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11390,7 +11542,7 @@ "data": { "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11429,22 +11581,23 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -11537,11 +11690,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11554,6 +11706,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -11666,11 +11819,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11683,6 +11835,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -11795,20 +11948,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -11894,20 +12048,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12035,20 +12190,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12112,20 +12268,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12198,16 +12355,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12284,16 +12441,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -12580,16 +12737,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -12631,11 +12788,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12683,16 +12839,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12744,16 +12900,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13037,16 +13193,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13100,16 +13256,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13182,16 +13338,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13278,16 +13434,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -13378,16 +13534,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13465,16 +13621,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13583,16 +13739,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13682,16 +13838,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13746,16 +13902,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13812,16 +13968,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server", "server" ], @@ -13904,16 +14060,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13977,16 +14133,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -14066,16 +14222,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server", "server" @@ -14186,16 +14342,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server", "server" @@ -14254,16 +14410,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14327,16 +14483,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14388,16 +14544,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14481,16 +14637,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14552,16 +14708,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14647,16 +14803,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14720,22 +14876,23 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14775,22 +14932,23 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14834,16 +14992,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [], "Key": [] @@ -14885,16 +15044,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [], "Key": [] @@ -14936,16 +15096,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [], "Key": [] @@ -14987,16 +15148,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [], "Key": [] @@ -15049,16 +15211,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [], "Key": [] @@ -15100,16 +15263,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [], "Key": [] @@ -15151,16 +15315,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [], "Key": [] @@ -15215,16 +15380,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [], "Key": [] @@ -15279,16 +15445,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [], "Key": [] @@ -15354,16 +15521,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [], "Key": [] @@ -15418,16 +15586,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [], "Key": [] @@ -15508,16 +15677,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [], "Key": [] @@ -15572,16 +15742,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [], "Key": [] @@ -15636,16 +15807,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [], "Key": [] @@ -15700,16 +15872,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [], "Key": [] @@ -15764,16 +15937,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [], "Key": [] @@ -15828,16 +16002,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [], "Key": [] @@ -15892,16 +16067,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [], "Key": [] @@ -15956,16 +16132,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [], "Key": [] @@ -16020,16 +16197,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [], "Key": [] @@ -16071,16 +16249,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [], "Key": [] @@ -16122,16 +16301,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [], "Key": [] @@ -16173,18 +16353,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [], "Session": [] @@ -16228,18 +16409,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [], "Session": [] @@ -16283,18 +16465,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [], "Session": [] @@ -16338,18 +16521,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [], "Session": [] @@ -16393,18 +16577,19 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [], "Session": [] @@ -16448,18 +16633,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [], "Session": [] @@ -16503,18 +16689,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [], "Session": [] @@ -16558,18 +16745,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [], "Session": [] @@ -16609,11 +16797,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -16624,6 +16811,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [], "Key": [] @@ -16698,11 +16886,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -16713,6 +16900,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [], "Key": [] @@ -16845,11 +17033,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -16860,6 +17047,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [], "Key": [] @@ -17004,11 +17192,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -17019,6 +17206,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [], "Key": [] @@ -17182,11 +17370,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -17197,6 +17384,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [], "Key": [] @@ -17380,11 +17568,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -17395,6 +17582,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -17564,11 +17752,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -17579,6 +17766,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -17754,11 +17942,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -17769,6 +17956,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [], "Key": [] @@ -17809,11 +17997,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -17824,6 +18011,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [], "Key": [] @@ -17873,11 +18061,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -17888,6 +18075,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [], "Key": [] @@ -17961,11 +18149,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -17976,6 +18163,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [], "Key": [] @@ -18049,11 +18237,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -18064,6 +18251,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [], "Key": [] @@ -18138,11 +18326,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -18153,6 +18340,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -18320,11 +18508,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -18335,6 +18522,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -18504,11 +18692,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -18519,6 +18706,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -18659,11 +18847,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -18674,6 +18861,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -18815,11 +19003,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -18830,6 +19017,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -18934,11 +19122,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -18949,6 +19136,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -19056,11 +19244,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -19071,6 +19258,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19154,11 +19342,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -19169,6 +19356,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19255,11 +19443,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19270,6 +19457,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19363,11 +19551,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19378,6 +19565,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19474,11 +19662,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -19489,6 +19676,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19582,11 +19770,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -19597,6 +19784,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19693,11 +19881,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -19708,6 +19895,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -19927,11 +20115,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -19942,6 +20129,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -20161,11 +20349,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -20176,6 +20363,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20259,11 +20447,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -20274,6 +20461,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20360,11 +20548,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -20375,6 +20562,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20458,11 +20646,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -20473,6 +20660,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20559,11 +20747,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -20574,6 +20761,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20657,11 +20845,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -20672,6 +20859,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20758,11 +20946,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -20773,6 +20960,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -20856,11 +21044,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -20871,6 +21058,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -20957,11 +21145,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -20972,6 +21159,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [], "Key": [] @@ -21012,11 +21200,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -21027,6 +21214,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [], "Key": [] @@ -21076,11 +21264,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -21091,6 +21278,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [], "Key": [] @@ -21164,11 +21352,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -21179,6 +21366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [], "Key": [] @@ -21252,11 +21440,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -21267,6 +21454,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [], "Key": [] @@ -21339,11 +21527,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -21354,6 +21541,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [], "Key": [] @@ -21424,11 +21612,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -21439,6 +21626,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [], "Key": [] @@ -21486,11 +21674,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -21501,6 +21688,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [], "Key": [] @@ -21567,11 +21755,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -21582,6 +21769,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [], "Key": [] @@ -21631,11 +21819,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -21646,6 +21833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [], "Key": [] @@ -21719,11 +21907,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -21734,6 +21921,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [], "Key": [] @@ -21816,11 +22004,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -21833,6 +22020,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -21909,11 +22097,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -21924,6 +22111,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [], "Key": [] @@ -21974,11 +22162,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -21991,6 +22178,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22052,16 +22240,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22138,16 +22326,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22392,16 +22580,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -22443,11 +22631,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22495,16 +22682,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22556,16 +22743,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22806,16 +22993,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22869,16 +23056,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22951,16 +23138,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23047,16 +23234,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -23153,16 +23340,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23235,16 +23422,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23353,16 +23540,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23453,16 +23640,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23517,16 +23704,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23583,16 +23770,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server", "server" ], @@ -23675,16 +23862,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23748,16 +23935,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23835,16 +24022,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23899,16 +24086,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23972,16 +24159,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24033,16 +24220,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24126,16 +24313,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24197,16 +24384,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24292,16 +24479,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24369,16 +24556,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [], "Key": [] @@ -24455,16 +24643,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [], "Key": [] @@ -24590,16 +24779,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [], "Key": [] @@ -24651,16 +24841,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [], "Key": [] @@ -24783,16 +24974,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [], "Key": [] @@ -24846,18 +25038,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [], "Session": [] @@ -24946,18 +25139,19 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [], "Session": [] @@ -25048,18 +25242,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [], "Session": [] @@ -25123,18 +25318,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [], "Session": [] @@ -25217,18 +25413,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [], "Session": [] @@ -25287,18 +25484,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [], "Session": [] @@ -25368,18 +25566,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [], "Session": [] @@ -25599,18 +25798,19 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [], "Session": [] @@ -25683,20 +25883,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [], "Key": [] @@ -25769,20 +25970,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [], "Key": [] @@ -25850,11 +26052,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25863,12 +26064,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -25921,11 +26124,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25934,12 +26136,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -25995,11 +26199,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26008,12 +26211,14 @@ "rows.read" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -26063,11 +26268,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26076,12 +26280,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -26145,11 +26351,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26158,12 +26363,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -26215,11 +26422,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26228,12 +26434,14 @@ "rows.write" ], "platforms": [ + "console", "server", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -26304,20 +26512,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [], "Key": [] @@ -26365,20 +26574,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [], "Key": [] @@ -26443,20 +26653,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [], "Key": [] @@ -26506,11 +26717,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26519,10 +26729,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [], "Key": [] @@ -26605,11 +26817,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26618,10 +26829,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [], "Key": [] @@ -26731,11 +26944,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26744,10 +26956,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [], "Key": [] @@ -26805,11 +27019,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26818,10 +27031,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [], "Key": [] @@ -26910,11 +27125,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26923,10 +27137,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [], "Key": [] @@ -26986,11 +27202,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26999,10 +27214,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [], "Key": [] @@ -27086,11 +27303,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27099,10 +27315,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27198,11 +27416,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27211,10 +27428,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27315,11 +27534,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27328,10 +27546,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27427,11 +27647,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27440,10 +27659,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27544,11 +27765,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27557,10 +27777,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [], "Key": [] @@ -27656,11 +27878,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27669,10 +27890,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [], "Key": [] @@ -27773,11 +27996,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27786,10 +28008,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [], "Key": [] @@ -27894,11 +28118,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27907,10 +28130,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [], "Key": [] @@ -28020,11 +28245,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28033,10 +28257,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [], "Key": [] @@ -28144,11 +28370,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28157,10 +28382,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [], "Key": [] @@ -28273,11 +28500,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28286,10 +28512,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28397,11 +28625,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28410,10 +28637,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28526,11 +28755,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28539,10 +28767,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28638,11 +28868,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28651,10 +28880,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28755,11 +28986,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28768,10 +28998,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [], "Key": [] @@ -28869,11 +29101,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28882,10 +29113,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [], "Key": [] @@ -28992,11 +29225,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29005,10 +29237,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [], "Key": [] @@ -29106,11 +29340,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29119,10 +29352,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [], "Key": [] @@ -29229,11 +29464,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29242,10 +29476,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29343,11 +29579,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29356,10 +29591,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29466,11 +29703,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29479,10 +29715,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -29604,11 +29842,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29617,10 +29854,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [], "Key": [] @@ -29727,11 +29966,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29740,10 +29978,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [], "Key": [] @@ -29850,11 +30090,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29863,10 +30102,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [], "Key": [] @@ -29962,11 +30203,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29975,10 +30215,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [], "Key": [] @@ -30110,11 +30352,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30123,10 +30364,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [], "Key": [] @@ -30186,11 +30429,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30199,10 +30441,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [], "Key": [] @@ -30271,11 +30515,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30284,10 +30527,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -30386,11 +30631,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30399,10 +30643,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [], "Key": [] @@ -30484,11 +30730,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30497,10 +30742,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [], "Key": [] @@ -30624,11 +30871,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30637,10 +30883,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [], "Key": [] @@ -30700,11 +30948,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30713,10 +30960,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [], "Key": [] @@ -30785,11 +31034,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30798,12 +31046,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [], "Session": [] @@ -30897,11 +31147,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -30910,12 +31159,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -31082,11 +31333,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31100,6 +31350,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -31216,11 +31467,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31234,6 +31484,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [], "Key": [] @@ -31276,7 +31527,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -31321,11 +31572,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31339,6 +31589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [], "Key": [] @@ -31423,11 +31674,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31436,12 +31686,14 @@ "documents.read" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [], "Session": [] @@ -31534,11 +31786,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31547,12 +31798,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -31640,7 +31893,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31686,11 +31939,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31699,12 +31951,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [], "Session": [] @@ -31759,7 +32013,7 @@ "data": { "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31798,11 +32052,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31811,12 +32064,14 @@ "documents.write" ], "platforms": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [], "Session": [] @@ -31905,11 +32160,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31925,6 +32179,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [], "Session": [] @@ -32033,11 +32288,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -32053,6 +32307,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [], "Session": [] @@ -32165,18 +32420,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [], "Session": [] @@ -32255,18 +32511,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [], "Session": [] @@ -32343,18 +32600,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [], "Session": [] @@ -32408,18 +32666,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [], "Session": [] @@ -32485,18 +32744,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [], "Session": [] @@ -32552,18 +32812,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [], "Session": [] @@ -32652,18 +32913,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32773,18 +33035,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [], "Session": [] @@ -32848,18 +33111,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32945,18 +33209,19 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [], "Session": [] @@ -33022,17 +33287,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [], "Session": [] @@ -33122,17 +33388,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33185,17 +33452,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33265,11 +33533,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33361,11 +33628,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33452,11 +33718,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33514,11 +33779,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33586,11 +33850,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33654,16 +33917,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [], "Key": [] @@ -33740,16 +34004,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [], "Key": [] @@ -33832,16 +34097,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [], "Key": [] @@ -33919,16 +34185,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34006,16 +34273,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [], "Key": [] @@ -34087,16 +34355,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [], "Key": [] @@ -34150,16 +34419,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [], "Key": [] @@ -34237,16 +34507,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [], "Key": [] @@ -34324,16 +34595,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34441,16 +34713,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [], "Key": [] @@ -34546,16 +34819,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [], "Key": [] @@ -34653,16 +34927,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [], "Key": [] @@ -34707,16 +34982,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [], "Key": [] @@ -34770,16 +35046,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [], "Key": [] @@ -34852,16 +35129,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [], "Key": [] @@ -34936,16 +35214,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [], "Key": [] @@ -35021,16 +35300,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [], "Key": [] @@ -35108,16 +35388,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [], "Key": [] @@ -35206,16 +35487,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -35343,16 +35625,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -35481,16 +35764,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -35602,16 +35886,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -35721,16 +36006,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -35840,16 +36126,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -35961,16 +36248,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [], "Key": [] @@ -36043,16 +36331,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [], "Key": [] @@ -36125,16 +36414,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [], "Key": [] @@ -36207,16 +36497,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36268,16 +36559,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36350,16 +36642,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36422,16 +36715,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [], "Key": [] @@ -36476,16 +36770,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36532,16 +36827,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [], "Key": [] @@ -36605,16 +36901,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [], "Key": [] @@ -36687,7 +36984,6 @@ "cookies": false, "type": "", "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}", @@ -36698,6 +36994,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [], "Key": [] @@ -36773,7 +37070,6 @@ "cookies": false, "type": "", "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}", @@ -36784,6 +37080,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [], "Key": [] @@ -36885,7 +37182,6 @@ "cookies": false, "type": "", "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}", @@ -36896,6 +37192,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [], "Key": [] @@ -36957,7 +37254,6 @@ "cookies": false, "type": "", "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}", @@ -36968,6 +37264,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [], "Key": [] @@ -37048,7 +37345,6 @@ "cookies": false, "type": "", "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}", @@ -37059,6 +37355,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [], "Key": [] @@ -37122,16 +37419,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [], "Key": [] @@ -37206,16 +37504,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [], "Key": [] @@ -37288,16 +37587,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [], "Key": [] diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index e3d69b55ce..671dfe85d8 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -98,17 +98,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -150,24 +151,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -242,17 +246,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -321,17 +326,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -393,17 +399,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -457,24 +464,44 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -507,17 +534,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -580,21 +608,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -654,21 +683,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -777,21 +807,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -917,21 +948,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1040,21 +1072,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1117,7 +1150,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -1174,21 +1209,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1313,21 +1349,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1413,21 +1450,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1513,21 +1551,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1613,21 +1652,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1719,17 +1759,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1793,17 +1834,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1873,17 +1915,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1952,17 +1995,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -2004,17 +2048,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2078,7 +2123,6 @@ "cookies": false, "type": "", "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": [ @@ -2087,11 +2131,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2160,17 +2206,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2246,17 +2293,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2293,17 +2341,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2347,24 +2396,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2399,24 +2451,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2478,17 +2533,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2499,7 +2555,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2556,24 +2614,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2623,7 +2684,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -2694,17 +2756,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2715,7 +2778,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2777,24 +2842,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2854,17 +2922,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2916,17 +2985,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2973,17 +3043,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -3037,17 +3108,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -3091,16 +3163,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3176,16 +3249,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3249,16 +3323,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3311,7 +3386,6 @@ "cookies": false, "type": "", "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": [ @@ -3320,18 +3394,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3399,7 +3477,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3408,18 +3485,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3488,24 +3569,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3555,7 +3639,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3626,7 +3711,6 @@ "cookies": false, "type": "", "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": [ @@ -3635,18 +3719,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3708,17 +3796,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3832,17 +3921,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3969,7 +4059,6 @@ "cookies": false, "type": "", "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": [ @@ -3978,11 +4067,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -4024,17 +4115,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -4103,17 +4195,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4228,17 +4321,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4359,17 +4453,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4422,17 +4517,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4909,17 +5005,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4992,17 +5089,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -5083,17 +5181,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5174,17 +5273,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5850,7 +5950,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5882,21 +5982,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -5948,21 +6049,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6017,21 +6119,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6079,21 +6182,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6157,21 +6261,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6221,21 +6326,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6301,21 +6407,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -6404,21 +6511,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -6562,21 +6670,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -6664,21 +6773,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -6702,8 +6812,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -6765,8 +6874,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6785,10 +6894,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -6818,21 +6924,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -6883,7 +6990,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6927,21 +7034,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -7027,11 +7135,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7043,6 +7150,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -7148,11 +7256,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7164,6 +7271,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -7267,16 +7375,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -7350,16 +7458,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -7469,16 +7577,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -7541,21 +7649,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7615,21 +7724,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7691,17 +7801,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -7743,17 +7854,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -7795,17 +7907,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -7847,17 +7960,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -7899,17 +8013,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -7951,17 +8066,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -8003,17 +8119,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -8055,17 +8172,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -8105,11 +8223,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -8121,6 +8238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -8190,11 +8308,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -8206,6 +8323,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -8265,17 +8383,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -8357,17 +8476,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -8447,17 +8567,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -8517,17 +8638,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -8608,17 +8730,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -8678,17 +8801,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -8757,17 +8881,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -8964,17 +9089,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -9039,11 +9165,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9052,11 +9177,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -9108,11 +9235,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9121,11 +9247,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -9180,11 +9308,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9193,11 +9320,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -9245,11 +9374,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9258,11 +9386,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -9326,11 +9456,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9339,11 +9468,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -9393,11 +9524,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9406,11 +9536,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -9476,11 +9608,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9489,11 +9620,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -9578,11 +9711,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9591,11 +9723,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -9731,11 +9865,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9744,11 +9877,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -9832,11 +9967,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9845,11 +9979,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -9928,7 +10064,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9977,11 +10113,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9990,11 +10125,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -10041,7 +10178,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -10085,11 +10222,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10098,11 +10234,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -10184,11 +10322,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10203,6 +10340,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -10304,11 +10442,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10323,6 +10460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -10426,17 +10564,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -10510,17 +10649,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -10600,17 +10740,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -10662,17 +10803,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -10737,17 +10879,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -10799,17 +10942,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -10891,17 +11035,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -11011,17 +11156,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -11081,17 +11227,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -11174,17 +11321,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -11246,17 +11394,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -11341,17 +11490,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -11403,17 +11553,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8bca9aa3d8..ee057d33ff 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -104,17 +104,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -155,24 +156,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -240,7 +243,6 @@ "cookies": false, "type": "", "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}", @@ -250,6 +252,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", "auth": { "Project": [] } @@ -291,17 +294,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -369,17 +373,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -440,17 +445,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -503,24 +509,43 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -553,17 +578,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -625,21 +651,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -698,21 +725,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -820,21 +848,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -959,21 +988,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1081,21 +1111,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1158,7 +1189,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -1215,21 +1247,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1353,21 +1386,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1452,21 +1486,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1551,21 +1586,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1650,21 +1686,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1755,17 +1792,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1828,17 +1866,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1907,17 +1946,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1985,17 +2025,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -2036,17 +2077,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2109,7 +2151,6 @@ "cookies": false, "type": "", "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": [ @@ -2118,11 +2159,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2190,17 +2233,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2275,17 +2319,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2321,17 +2366,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2374,24 +2420,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ] } @@ -2426,24 +2474,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2505,17 +2555,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2526,7 +2577,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2583,24 +2635,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2650,7 +2704,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -2721,17 +2776,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2742,7 +2798,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2804,24 +2861,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2881,17 +2940,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2942,17 +3002,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2998,17 +3059,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -3061,17 +3123,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -3114,16 +3177,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3198,16 +3262,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3270,16 +3335,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3331,7 +3397,6 @@ "cookies": false, "type": "", "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": [ @@ -3340,18 +3405,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3419,7 +3487,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3428,18 +3495,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3508,24 +3578,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3575,7 +3647,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3646,7 +3719,6 @@ "cookies": false, "type": "", "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": [ @@ -3655,18 +3727,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3728,17 +3803,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3851,17 +3927,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3987,7 +4064,6 @@ "cookies": false, "type": "", "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": [ @@ -3996,11 +4072,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -4041,17 +4119,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -4119,17 +4198,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4244,17 +4324,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4375,17 +4456,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4438,17 +4520,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4925,17 +5008,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -5008,17 +5092,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -5099,17 +5184,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5190,17 +5276,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5866,7 +5953,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5900,11 +5987,10 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "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}", @@ -5914,6 +6000,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", "auth": { "Project": [] } @@ -5964,11 +6051,10 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "console\/get-resource.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCheck if a resource ID is available.", "rate-limit": 120, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -6036,11 +6122,10 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "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}", @@ -6050,6 +6135,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", "auth": { "Project": [] } @@ -6085,20 +6171,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -6200,20 +6287,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -6319,21 +6407,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -6385,21 +6474,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6454,21 +6544,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6516,21 +6607,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6594,21 +6686,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6658,21 +6751,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6738,11 +6832,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 323, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -6752,6 +6845,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listUsage" @@ -6840,20 +6934,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6933,20 +7028,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -7048,20 +7144,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -7140,20 +7237,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -7234,20 +7332,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -7313,7 +7412,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "default": [], "x-example": null, "items": { @@ -7363,20 +7462,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -7435,20 +7535,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -7542,20 +7643,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7614,20 +7716,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7709,20 +7812,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7821,20 +7925,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7935,20 +8040,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -8047,20 +8153,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -8161,20 +8268,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -8273,20 +8381,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -8387,20 +8496,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -8509,20 +8619,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8633,20 +8744,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8759,20 +8871,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8887,20 +9000,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -9013,20 +9127,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -9141,20 +9256,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -9253,20 +9369,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -9367,20 +9484,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -9473,20 +9591,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9586,20 +9705,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9692,20 +9812,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9805,20 +9926,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9911,20 +10033,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -10024,20 +10147,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -10164,20 +10288,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -10289,20 +10414,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -10410,20 +10536,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -10522,20 +10649,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10665,20 +10793,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10739,20 +10868,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10820,20 +10950,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10929,21 +11060,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -11032,21 +11164,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -11222,11 +11355,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11237,6 +11369,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -11357,11 +11490,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11372,6 +11504,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -11413,7 +11546,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -11461,11 +11594,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11476,6 +11608,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11559,21 +11692,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11661,21 +11795,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11699,8 +11834,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11762,8 +11896,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11782,10 +11916,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -11815,21 +11946,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11880,7 +12012,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11924,21 +12056,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -12022,11 +12155,10 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "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}", @@ -12036,6 +12168,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRowLogs" @@ -12115,11 +12248,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12131,6 +12263,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -12236,11 +12369,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12252,6 +12384,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -12355,20 +12488,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -12448,20 +12582,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12587,20 +12722,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12661,20 +12797,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12740,11 +12877,10 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "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}", @@ -12754,6 +12890,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTableLogs" @@ -12823,11 +12960,10 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 330, + "weight": 331, "cookies": false, "type": "", "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}", @@ -12837,6 +12973,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTableUsage" @@ -12914,11 +13051,10 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 321, + "weight": 322, "cookies": false, "type": "", "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}", @@ -12928,6 +13064,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listDatabaseLogs" @@ -13019,11 +13156,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 322, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/get-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}", @@ -13033,6 +13169,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getUsage" @@ -13132,16 +13269,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13214,16 +13351,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13527,16 +13664,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -13577,11 +13714,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13628,11 +13764,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "functions\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13813,11 +13948,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "functions\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13872,11 +14006,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "functions\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13943,16 +14076,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14003,16 +14136,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14312,16 +14445,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14374,16 +14507,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14452,16 +14585,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14542,16 +14675,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -14635,16 +14768,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14721,16 +14854,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14842,16 +14975,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14939,16 +15072,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15002,16 +15135,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15070,16 +15203,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15156,16 +15289,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15224,16 +15357,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -15307,16 +15440,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -15426,16 +15559,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -15491,16 +15624,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15559,11 +15692,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "functions\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -15638,16 +15770,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15698,16 +15830,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15789,16 +15921,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15857,16 +15989,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15952,16 +16084,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16022,21 +16154,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16096,21 +16229,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16172,16 +16306,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [] } @@ -16222,16 +16357,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [] } @@ -16272,16 +16408,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [] } @@ -16322,16 +16459,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [] } @@ -16381,16 +16519,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [] } @@ -16431,16 +16570,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [] } @@ -16481,16 +16621,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [] } @@ -16542,16 +16683,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [] } @@ -16603,16 +16745,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [] } @@ -16673,16 +16816,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [] } @@ -16734,16 +16878,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [] } @@ -16819,16 +16964,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [] } @@ -16880,16 +17026,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [] } @@ -16941,16 +17088,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [] } @@ -17002,16 +17150,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [] } @@ -17063,16 +17212,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [] } @@ -17124,16 +17274,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [] } @@ -17185,16 +17336,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [] } @@ -17246,16 +17398,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [] } @@ -17307,16 +17460,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [] } @@ -17357,16 +17511,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [] } @@ -17407,16 +17562,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [] } @@ -17457,17 +17613,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -17509,17 +17666,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -17561,17 +17719,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -17613,17 +17772,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -17665,17 +17825,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -17717,17 +17878,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -17769,17 +17931,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -17821,17 +17984,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -17869,11 +18033,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -17884,6 +18047,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [] } @@ -17954,11 +18118,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -17969,6 +18132,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [] } @@ -18114,11 +18278,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -18129,6 +18292,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [] } @@ -18281,11 +18445,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -18296,6 +18459,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [] } @@ -18479,11 +18643,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -18494,6 +18657,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [] } @@ -18692,11 +18856,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -18707,6 +18870,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -18882,11 +19046,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -18897,6 +19060,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -19071,11 +19235,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -19086,6 +19249,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [] } @@ -19127,11 +19291,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -19142,6 +19305,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [] } @@ -19188,11 +19352,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -19203,6 +19366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [] } @@ -19270,11 +19434,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -19285,6 +19448,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [] } @@ -19352,11 +19516,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -19367,6 +19530,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [] } @@ -19437,11 +19601,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -19452,6 +19615,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -19626,11 +19790,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -19641,6 +19804,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -19812,11 +19976,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -19827,6 +19990,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -19970,11 +20134,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -19985,6 +20148,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -20124,11 +20288,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -20139,6 +20302,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [] } @@ -20254,11 +20418,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -20269,6 +20432,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [] } @@ -20382,11 +20546,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -20397,6 +20560,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [] } @@ -20487,11 +20651,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -20502,6 +20665,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [] } @@ -20590,11 +20754,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20605,6 +20768,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [] } @@ -20707,11 +20871,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20722,6 +20885,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [] } @@ -20822,11 +20986,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -20837,6 +21000,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [] } @@ -20939,11 +21103,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -20954,6 +21117,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [] } @@ -21054,11 +21218,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -21069,6 +21232,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -21301,11 +21465,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -21316,6 +21479,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -21543,11 +21707,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -21558,6 +21721,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [] } @@ -21648,11 +21812,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -21663,6 +21826,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [] } @@ -21751,11 +21915,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -21766,6 +21929,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [] } @@ -21856,11 +22020,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -21871,6 +22034,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [] } @@ -21959,11 +22123,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -21974,6 +22137,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [] } @@ -22064,11 +22228,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -22079,6 +22242,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [] } @@ -22167,11 +22331,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -22182,6 +22345,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [] } @@ -22272,11 +22436,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -22287,6 +22450,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [] } @@ -22373,11 +22537,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -22388,6 +22551,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [] } @@ -22429,11 +22593,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -22444,6 +22607,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [] } @@ -22490,11 +22654,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -22505,6 +22668,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [] } @@ -22572,11 +22736,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -22587,6 +22750,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [] } @@ -22654,11 +22818,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -22669,6 +22832,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [] } @@ -22737,11 +22901,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -22752,6 +22915,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [] } @@ -22826,11 +22990,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -22841,6 +23004,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [] } @@ -22887,11 +23051,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -22902,6 +23065,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [] } @@ -22969,11 +23133,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -22984,6 +23147,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [] } @@ -23030,11 +23194,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -23045,6 +23208,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [] } @@ -23112,11 +23276,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -23127,6 +23290,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [] } @@ -23203,11 +23367,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -23219,6 +23382,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -23291,11 +23455,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -23306,6 +23469,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [] } @@ -23355,11 +23519,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -23371,6 +23534,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -23426,11 +23590,10 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 250, + "weight": 251, "cookies": false, "type": "", "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}", @@ -23440,6 +23603,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", "auth": { "Project": [] } @@ -23509,11 +23673,10 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 244, + "weight": 245, "cookies": false, "type": "", "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}", @@ -23523,6 +23686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", "auth": { "Project": [] } @@ -23622,11 +23786,10 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 252, + "weight": 253, "cookies": false, "type": "", "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}", @@ -23636,6 +23799,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", "auth": { "Project": [] } @@ -23731,11 +23895,10 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 249, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23745,6 +23908,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "auth": { "Project": [] } @@ -23857,11 +24021,10 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 248, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23871,6 +24034,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "auth": { "Project": [] } @@ -23948,11 +24112,10 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 245, + "weight": 246, "cookies": false, "type": "", "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}", @@ -23962,6 +24125,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", "auth": { "Project": [] } @@ -24041,11 +24205,10 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 253, + "weight": 254, "cookies": false, "type": "", "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}", @@ -24055,6 +24218,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", "auth": { "Project": [] } @@ -24127,11 +24291,10 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 247, + "weight": 248, "cookies": false, "type": "", "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}", @@ -24141,6 +24304,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", "auth": { "Project": [] } @@ -24262,11 +24426,10 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 255, + "weight": 256, "cookies": false, "type": "", "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}", @@ -24276,6 +24439,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", "auth": { "Project": [] } @@ -24398,11 +24562,10 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 246, + "weight": 247, "cookies": false, "type": "", "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}", @@ -24412,6 +24575,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", "auth": { "Project": [] } @@ -24526,11 +24690,10 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 254, + "weight": 255, "cookies": false, "type": "", "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}", @@ -24540,6 +24703,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", "auth": { "Project": [] } @@ -24653,11 +24817,10 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 251, + "weight": 252, "cookies": false, "type": "", "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}", @@ -24667,6 +24830,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", "auth": { "Project": [] } @@ -24712,11 +24876,10 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 256, + "weight": 257, "cookies": false, "type": "", "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}", @@ -24726,6 +24889,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", "auth": { "Project": [] } @@ -24766,11 +24930,10 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 257, + "weight": 258, "cookies": false, "type": "", "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}", @@ -24780,6 +24943,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", "auth": { "Project": [] } @@ -24829,7 +24993,6 @@ "cookies": false, "type": "", "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}", @@ -24839,6 +25002,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", "auth": { "Project": [] } @@ -24912,7 +25076,6 @@ "cookies": false, "type": "", "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}", @@ -24922,6 +25085,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", "auth": { "Project": [] } @@ -24961,7 +25125,6 @@ "cookies": false, "type": "", "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}", @@ -24971,6 +25134,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", "auth": { "Project": [] } @@ -25043,7 +25207,6 @@ "cookies": false, "type": "", "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}", @@ -25053,6 +25216,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", "auth": { "Project": [] } @@ -25102,7 +25266,6 @@ "cookies": false, "type": "", "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}", @@ -25112,6 +25275,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", "auth": { "Project": [] } @@ -25188,7 +25352,6 @@ "cookies": false, "type": "", "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}", @@ -25198,6 +25361,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", "auth": { "Project": [] } @@ -25243,11 +25407,10 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25328,7 +25491,6 @@ "cookies": false, "type": "", "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}", @@ -25338,6 +25500,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", "auth": { "Project": [] } @@ -25476,7 +25639,6 @@ "cookies": false, "type": "", "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}", @@ -25486,6 +25648,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", "auth": { "Project": [] } @@ -25535,7 +25698,6 @@ "cookies": false, "type": "", "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}", @@ -25545,6 +25707,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", "auth": { "Project": [] } @@ -25661,7 +25824,6 @@ "cookies": false, "type": "", "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}", @@ -25671,6 +25833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", "auth": { "Project": [] } @@ -25722,7 +25885,6 @@ "cookies": false, "type": "", "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}", @@ -25732,6 +25894,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatus" @@ -25879,7 +26042,6 @@ "cookies": false, "type": "", "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}", @@ -25889,6 +26051,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatusAll" @@ -26018,7 +26181,6 @@ "cookies": false, "type": "", "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}", @@ -26028,6 +26190,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", "auth": { "Project": [] } @@ -26097,7 +26260,6 @@ "cookies": false, "type": "", "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}", @@ -26107,6 +26269,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", "auth": { "Project": [] } @@ -26176,7 +26339,6 @@ "cookies": false, "type": "", "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}", @@ -26186,6 +26348,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", "auth": { "Project": [] } @@ -26255,7 +26418,6 @@ "cookies": false, "type": "", "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}", @@ -26265,6 +26427,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", "auth": { "Project": [] } @@ -26348,7 +26511,6 @@ "cookies": false, "type": "", "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}", @@ -26358,6 +26520,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", "auth": { "Project": [] } @@ -26430,7 +26593,6 @@ "cookies": false, "type": "", "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}", @@ -26440,6 +26602,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", "auth": { "Project": [] } @@ -26509,7 +26672,6 @@ "cookies": false, "type": "", "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}", @@ -26519,6 +26681,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", "auth": { "Project": [] } @@ -26588,7 +26751,6 @@ "cookies": false, "type": "", "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}", @@ -26598,6 +26760,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", "auth": { "Project": [] } @@ -26667,7 +26830,6 @@ "cookies": false, "type": "", "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}", @@ -26677,6 +26839,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", "auth": { "Project": [] } @@ -26746,7 +26909,6 @@ "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26756,6 +26918,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "auth": { "Project": [] } @@ -26825,7 +26988,6 @@ "cookies": false, "type": "", "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}", @@ -26835,6 +26997,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", "auth": { "Project": [] } @@ -26917,15 +27080,14 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList 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.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -26988,15 +27150,14 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27072,15 +27233,14 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 449, + "weight": 450, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -27139,15 +27299,14 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a project\\'s dev key by its unique ID. Use this endpoint to update a project\\'s dev key name or expiration time.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27226,15 +27385,14 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27299,7 +27457,6 @@ "cookies": false, "type": "", "demo": "projects\/create-jwt.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}", @@ -27309,6 +27466,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", "auth": { "Project": [] } @@ -27444,7 +27602,6 @@ "cookies": false, "type": "", "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}", @@ -27454,6 +27611,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", "auth": { "Project": [] } @@ -27512,7 +27670,6 @@ "cookies": false, "type": "", "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}", @@ -27522,6 +27679,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", "auth": { "Project": [] } @@ -27666,7 +27824,6 @@ "cookies": false, "type": "", "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}", @@ -27676,6 +27833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", "auth": { "Project": [] } @@ -27733,7 +27891,6 @@ "cookies": false, "type": "", "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}", @@ -27743,6 +27900,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", "auth": { "Project": [] } @@ -27890,7 +28048,6 @@ "cookies": false, "type": "", "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}", @@ -27900,6 +28057,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", "auth": { "Project": [] } @@ -27959,7 +28117,6 @@ "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.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}", @@ -27969,6 +28126,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", "auth": { "Project": [] } @@ -28038,7 +28196,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -28101,7 +28260,6 @@ "cookies": false, "type": "", "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}", @@ -28111,6 +28269,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", "auth": { "Project": [] } @@ -28169,7 +28328,6 @@ "cookies": false, "type": "", "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}", @@ -28179,6 +28337,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", "auth": { "Project": [] } @@ -28290,7 +28449,6 @@ "cookies": false, "type": "", "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}", @@ -28300,6 +28458,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", "auth": { "Project": [] } @@ -28357,7 +28516,6 @@ "cookies": false, "type": "", "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}", @@ -28367,6 +28525,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", "auth": { "Project": [] } @@ -28455,7 +28614,6 @@ "cookies": false, "type": "", "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}", @@ -28465,6 +28623,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", "auth": { "Project": [] } @@ -28524,7 +28683,6 @@ "cookies": false, "type": "", "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}", @@ -28534,6 +28692,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", "auth": { "Project": [] } @@ -28627,7 +28786,6 @@ "cookies": false, "type": "", "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}", @@ -28637,6 +28795,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", "auth": { "Project": [] } @@ -28706,7 +28865,6 @@ "cookies": false, "type": "", "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}", @@ -28716,6 +28874,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMTP" @@ -28912,7 +29071,6 @@ "cookies": false, "type": "", "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}", @@ -28922,6 +29080,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.createSMTPTest" @@ -29131,7 +29290,6 @@ "cookies": false, "type": "", "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}", @@ -29141,6 +29299,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", "auth": { "Project": [] } @@ -29208,7 +29367,6 @@ "cookies": false, "type": "", "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}", @@ -29218,6 +29376,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", "auth": { "Project": [] } @@ -29429,7 +29588,6 @@ "cookies": false, "type": "", "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}", @@ -29439,6 +29597,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", "auth": { "Project": [] } @@ -29693,7 +29852,6 @@ "cookies": false, "type": "", "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}", @@ -29703,6 +29861,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", "auth": { "Project": [] } @@ -29914,7 +30073,6 @@ "cookies": false, "type": "", "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}", @@ -29924,6 +30082,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.getSMSTemplate" @@ -30196,7 +30355,6 @@ "cookies": false, "type": "", "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}", @@ -30206,6 +30364,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMSTemplate" @@ -30500,7 +30659,6 @@ "cookies": false, "type": "", "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}", @@ -30510,6 +30668,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.deleteSMSTemplate" @@ -30782,7 +30941,6 @@ "cookies": false, "type": "", "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}", @@ -30792,6 +30950,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", "auth": { "Project": [] } @@ -30850,7 +31009,6 @@ "cookies": false, "type": "", "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}", @@ -30860,6 +31018,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", "auth": { "Project": [] } @@ -30969,7 +31128,6 @@ "cookies": false, "type": "", "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}", @@ -30979,6 +31137,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", "auth": { "Project": [] } @@ -31036,7 +31195,6 @@ "cookies": false, "type": "", "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}", @@ -31046,6 +31204,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", "auth": { "Project": [] } @@ -31158,7 +31317,6 @@ "cookies": false, "type": "", "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}", @@ -31168,6 +31326,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", "auth": { "Project": [] } @@ -31227,7 +31386,6 @@ "cookies": false, "type": "", "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}", @@ -31237,6 +31395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", "auth": { "Project": [] } @@ -31290,11 +31449,10 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the proxy rules. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31373,11 +31531,10 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite's API on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31444,11 +31601,10 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for executing Appwrite Function on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31528,11 +31684,10 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for to redirect from custom domain to another domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31649,11 +31804,10 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite Site on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31731,11 +31885,10 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31785,11 +31938,10 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31846,11 +31998,10 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterRetry 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31905,16 +32056,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -31987,16 +32138,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32258,16 +32409,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -32308,11 +32459,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32359,11 +32509,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "sites\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available site templates. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32483,11 +32632,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "sites\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site template using ID. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32542,11 +32690,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "sites\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32613,16 +32760,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -32673,16 +32820,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32939,16 +33086,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33001,16 +33148,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33079,16 +33226,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33169,16 +33316,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -33270,16 +33417,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33350,16 +33497,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33471,16 +33618,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33569,16 +33716,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33632,16 +33779,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33700,16 +33847,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33786,16 +33933,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33854,16 +34001,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33935,16 +34082,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34000,16 +34147,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34068,11 +34215,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "sites\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -34147,16 +34293,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34207,16 +34353,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34298,16 +34444,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34366,16 +34512,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34461,16 +34607,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34533,16 +34679,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [] } @@ -34615,16 +34762,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [] } @@ -34760,16 +34908,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [] } @@ -34820,16 +34969,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [] } @@ -34961,16 +35111,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [] } @@ -35021,17 +35172,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -35113,17 +35265,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -35203,17 +35356,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -35273,17 +35427,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -35364,17 +35519,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -35434,17 +35590,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -35513,17 +35670,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -35720,17 +35878,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -35799,7 +35958,6 @@ "cookies": false, "type": "", "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}", @@ -35809,6 +35967,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", "auth": { "Project": [] } @@ -35870,7 +36029,6 @@ "cookies": false, "type": "", "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}", @@ -35880,6 +36038,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", "auth": { "Project": [] } @@ -35945,20 +36104,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [] } @@ -36027,20 +36187,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [] } @@ -36110,11 +36271,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36123,11 +36283,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -36179,11 +36341,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36192,11 +36353,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -36251,11 +36414,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36264,11 +36426,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -36316,11 +36480,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36329,11 +36492,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -36397,11 +36562,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36410,11 +36574,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -36464,11 +36630,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36477,11 +36642,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -36547,11 +36714,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 388, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36564,6 +36730,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "methods": [ { "name": "listUsage", @@ -36644,20 +36811,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [] } @@ -36704,20 +36872,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [] } @@ -36783,20 +36952,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [] } @@ -36843,11 +37013,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36856,10 +37025,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [] } @@ -36936,11 +37107,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36949,10 +37119,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [] } @@ -37064,11 +37236,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37077,10 +37248,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [] } @@ -37135,11 +37308,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37148,10 +37320,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [] } @@ -37241,11 +37415,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37254,10 +37427,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [] } @@ -37312,11 +37487,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37325,10 +37499,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [] } @@ -37406,11 +37582,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37419,10 +37594,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [] } @@ -37517,11 +37694,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37530,10 +37706,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [] } @@ -37630,11 +37808,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37643,10 +37820,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [] } @@ -37741,11 +37920,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37754,10 +37932,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [] } @@ -37854,11 +38034,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37867,10 +38046,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [] } @@ -37965,11 +38146,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37978,10 +38158,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [] } @@ -38078,11 +38260,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38091,10 +38272,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [] } @@ -38199,11 +38382,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38212,10 +38394,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [] } @@ -38322,11 +38506,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38335,10 +38518,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [] } @@ -38447,11 +38632,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38460,10 +38644,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [] } @@ -38574,11 +38760,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38587,10 +38772,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [] } @@ -38699,11 +38886,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38712,10 +38898,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [] } @@ -38826,11 +39014,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38839,10 +39026,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [] } @@ -38937,11 +39126,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38950,10 +39138,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [] } @@ -39050,11 +39240,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39063,10 +39252,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [] } @@ -39155,11 +39346,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39168,10 +39358,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [] } @@ -39267,11 +39459,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39280,10 +39471,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [] } @@ -39372,11 +39565,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39385,10 +39577,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [] } @@ -39484,11 +39678,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39497,10 +39690,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [] } @@ -39589,11 +39784,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39602,10 +39796,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [] } @@ -39701,11 +39897,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39714,10 +39909,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [] } @@ -39840,11 +40037,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39853,10 +40049,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [] } @@ -39964,11 +40162,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39977,10 +40174,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [] } @@ -40084,11 +40283,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40097,10 +40295,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [] } @@ -40195,11 +40395,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40208,10 +40407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [] } @@ -40337,11 +40538,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40350,10 +40550,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [] } @@ -40410,11 +40612,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40423,10 +40624,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [] } @@ -40490,11 +40693,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40503,10 +40705,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [] } @@ -40598,11 +40802,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40611,10 +40814,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [] } @@ -40690,11 +40895,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40703,10 +40907,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [] } @@ -40828,11 +41034,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40841,10 +41046,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [] } @@ -40901,11 +41108,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40914,10 +41120,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [] } @@ -40979,11 +41187,10 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40996,6 +41203,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "auth": { "Project": [] } @@ -41061,11 +41269,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41074,11 +41281,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -41163,11 +41372,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41176,11 +41384,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -41344,11 +41554,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41362,6 +41571,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -41474,11 +41684,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41492,6 +41701,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [] } @@ -41529,7 +41739,7 @@ "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -41577,11 +41787,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41595,6 +41804,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [] } @@ -41674,11 +41884,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41687,11 +41896,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -41775,11 +41986,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41788,11 +41998,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -41871,7 +42083,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -41920,11 +42132,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41933,11 +42144,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -41984,7 +42197,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42028,11 +42241,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42041,11 +42253,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -42125,11 +42339,10 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42142,6 +42355,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "auth": { "Project": [] } @@ -42217,11 +42431,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42236,6 +42449,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -42337,11 +42551,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42356,6 +42569,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -42455,11 +42669,10 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 395, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42472,6 +42685,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "auth": { "Project": [] } @@ -42545,11 +42759,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 387, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42562,6 +42775,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "methods": [ { "name": "getUsage", @@ -42657,17 +42871,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -42741,17 +42956,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -42831,17 +43047,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -42893,17 +43110,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -42968,17 +43186,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -43030,7 +43249,6 @@ "cookies": false, "type": "", "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}", @@ -43040,6 +43258,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", "auth": { "Project": [] } @@ -43110,17 +43329,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -43202,17 +43422,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -43322,17 +43543,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -43392,17 +43614,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -43485,17 +43708,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -43557,17 +43781,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -43651,17 +43876,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -43712,17 +43938,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } @@ -43787,11 +44014,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -43877,11 +44103,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -43962,11 +44187,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44023,11 +44247,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44095,11 +44318,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44160,16 +44382,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [] } @@ -44242,16 +44465,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [] } @@ -44340,16 +44564,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [] } @@ -44432,16 +44657,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [] } @@ -44522,16 +44748,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [] } @@ -44601,16 +44828,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [] } @@ -44663,16 +44891,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [] } @@ -44755,16 +44984,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [] } @@ -44847,16 +45077,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [] } @@ -44974,16 +45205,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [] } @@ -45087,16 +45319,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [] } @@ -45198,7 +45431,6 @@ "cookies": false, "type": "", "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}", @@ -45208,6 +45440,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", "auth": { "Project": [] } @@ -45269,16 +45502,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [] } @@ -45324,16 +45558,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [] } @@ -45386,16 +45621,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [] } @@ -45466,16 +45702,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [] } @@ -45549,16 +45786,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [] } @@ -45630,16 +45868,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [] } @@ -45711,16 +45950,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [] } @@ -45803,16 +46043,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -45938,16 +46179,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -46069,16 +46311,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -46185,16 +46428,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -46301,16 +46545,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -46417,16 +46662,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -46535,16 +46781,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [] } @@ -46615,16 +46862,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [] } @@ -46695,16 +46943,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [] } @@ -46773,16 +47022,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [] } @@ -46833,16 +47083,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [] } @@ -46911,16 +47162,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [] } @@ -46980,16 +47232,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [] } @@ -47035,16 +47288,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [] } @@ -47092,16 +47346,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [] } @@ -47162,16 +47417,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [] } @@ -47240,7 +47496,6 @@ "cookies": false, "type": "", "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}", @@ -47251,6 +47506,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [] } @@ -47322,7 +47578,6 @@ "cookies": false, "type": "", "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}", @@ -47333,6 +47588,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [] } @@ -47434,7 +47690,6 @@ "cookies": false, "type": "", "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}", @@ -47445,6 +47700,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [] } @@ -47503,7 +47759,6 @@ "cookies": false, "type": "", "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}", @@ -47514,6 +47769,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [] } @@ -47594,7 +47850,6 @@ "cookies": false, "type": "", "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}", @@ -47605,6 +47860,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [] } @@ -47665,16 +47921,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [] } @@ -47748,16 +48005,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [] } @@ -47828,16 +48086,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [] } @@ -47908,7 +48167,6 @@ "cookies": false, "type": "", "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}", @@ -47918,6 +48176,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", "auth": { "Project": [] } @@ -48004,7 +48263,6 @@ "cookies": false, "type": "", "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}", @@ -48014,6 +48272,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", "auth": { "Project": [] } @@ -48098,7 +48357,6 @@ "cookies": false, "type": "", "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}", @@ -48108,6 +48366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", "auth": { "Project": [] } @@ -48182,7 +48441,6 @@ "cookies": false, "type": "", "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}", @@ -48192,6 +48450,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", "auth": { "Project": [] } @@ -48249,7 +48508,6 @@ "cookies": false, "type": "", "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}", @@ -48259,6 +48517,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", "auth": { "Project": [] } @@ -48316,7 +48575,6 @@ "cookies": false, "type": "", "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}", @@ -48326,6 +48584,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", "auth": { "Project": [] } @@ -48400,7 +48659,6 @@ "cookies": false, "type": "", "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}", @@ -48410,6 +48668,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", "auth": { "Project": [] } @@ -48485,7 +48744,6 @@ "cookies": false, "type": "", "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}", @@ -48495,6 +48753,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", "auth": { "Project": [] } @@ -48566,7 +48825,6 @@ "cookies": false, "type": "", "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}", @@ -48576,6 +48834,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", "auth": { "Project": [] } @@ -48620,7 +48879,6 @@ "cookies": false, "type": "", "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}", @@ -48630,6 +48888,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", "auth": { "Project": [] } @@ -60325,8 +60584,8 @@ }, "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." + "description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.", + "x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record." }, "renewAt": { "type": "string", @@ -60365,7 +60624,7 @@ "deploymentResourceId": "n3u9feiwmf", "deploymentVcsProviderBranch": "main", "status": "verified", - "logs": "HTTP challegne failed.", + "logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.", "renewAt": "datetime" } }, diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index d800d8bb6e..ebc571a19a 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -107,17 +107,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [], "Session": [] @@ -160,24 +161,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -252,17 +257,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [], "Session": [] @@ -332,17 +338,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [], "Session": [] @@ -405,17 +412,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [], "Session": [] @@ -470,24 +478,45 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -520,17 +549,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [], "Session": [] @@ -594,21 +624,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [], "Session": [] @@ -669,21 +700,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -795,21 +827,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -938,21 +971,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1064,21 +1098,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1089,7 +1124,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1116,7 +1152,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1136,12 +1173,15 @@ } ], "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -1198,21 +1238,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1340,21 +1381,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1443,21 +1485,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1546,21 +1589,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1649,21 +1693,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1758,17 +1803,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [], "Session": [] @@ -1833,17 +1879,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [], "Session": [] @@ -1914,17 +1961,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [], "Session": [] @@ -1994,17 +2042,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [], "Session": [] @@ -2047,17 +2096,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [], "Session": [] @@ -2122,7 +2172,6 @@ "cookies": false, "type": "", "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": [ @@ -2131,11 +2180,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [], "Session": [] @@ -2205,17 +2256,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [], "Session": [] @@ -2292,17 +2344,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [], "Session": [] @@ -2340,17 +2393,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [], "Session": [] @@ -2395,24 +2449,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2447,24 +2505,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2526,28 +2588,32 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2609,28 +2675,32 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2692,24 +2762,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2769,17 +2843,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [], "Session": [] @@ -2832,17 +2907,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [], "Session": [] @@ -2890,17 +2966,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [], "Session": [] @@ -2955,17 +3032,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [], "Session": [] @@ -3010,7 +3088,6 @@ "cookies": false, "type": "", "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": [ @@ -3019,18 +3096,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3098,7 +3180,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3107,18 +3188,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3187,24 +3273,28 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3254,7 +3344,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3325,7 +3416,6 @@ "cookies": false, "type": "", "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": [ @@ -3334,18 +3424,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3407,17 +3502,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3534,17 +3630,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3674,7 +3771,6 @@ "cookies": false, "type": "", "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": [ @@ -3683,11 +3779,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3730,17 +3828,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3810,17 +3909,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [], "Session": [] @@ -3937,17 +4037,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [], "Session": [] @@ -4070,17 +4171,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [], "Session": [] @@ -4135,17 +4237,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [], "Session": [] @@ -4624,17 +4727,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [], "Session": [] @@ -4709,17 +4813,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [], "Session": [] @@ -4802,17 +4907,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [], "Session": [] @@ -4895,17 +5001,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [], "Session": [] @@ -5573,7 +5680,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5605,20 +5712,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -5722,20 +5830,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -5843,21 +5952,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -5911,21 +6021,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -5982,21 +6093,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -6046,21 +6158,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -6126,21 +6239,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -6192,21 +6306,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -6274,20 +6389,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6369,20 +6485,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6486,20 +6603,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -6580,20 +6698,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -6675,20 +6794,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -6755,7 +6875,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "default": [], "x-example": null, "items": { @@ -6805,20 +6925,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -6878,20 +6999,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -6986,20 +7108,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7059,20 +7182,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7155,20 +7279,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7268,20 +7393,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7383,20 +7509,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7496,20 +7623,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -7611,20 +7739,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -7724,20 +7853,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -7839,20 +7969,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -7962,20 +8093,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8087,20 +8219,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8214,20 +8347,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8343,20 +8477,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8470,20 +8605,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -8599,20 +8735,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -8712,20 +8849,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -8827,20 +8965,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -8934,20 +9073,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9048,20 +9188,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9155,20 +9296,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9269,20 +9411,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9376,20 +9519,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9490,20 +9634,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -9631,20 +9776,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -9757,20 +9903,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -9879,20 +10026,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -9992,20 +10140,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10136,20 +10285,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10211,20 +10361,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10293,20 +10444,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10403,21 +10555,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -10508,21 +10661,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -10702,11 +10856,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10717,6 +10870,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -10839,11 +10993,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10854,6 +11007,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -10896,7 +11050,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -10944,11 +11098,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10959,6 +11112,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11043,21 +11197,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11147,21 +11302,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11186,8 +11342,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11251,8 +11406,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11271,10 +11426,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -11304,21 +11456,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11371,7 +11524,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11415,21 +11568,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -11517,11 +11671,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11533,6 +11686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -11640,11 +11794,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11656,6 +11809,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -11761,20 +11915,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -11855,20 +12010,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -11995,20 +12151,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12070,20 +12227,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12150,16 +12308,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12233,16 +12391,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -12547,16 +12705,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -12598,11 +12756,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12650,16 +12807,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12711,16 +12868,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13021,16 +13178,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13084,16 +13241,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13163,16 +13320,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13254,16 +13411,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -13348,16 +13505,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13435,16 +13592,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13557,16 +13714,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13655,16 +13812,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13719,16 +13876,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13788,16 +13945,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13875,16 +14032,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13944,16 +14101,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -14029,16 +14186,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -14150,16 +14307,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -14217,16 +14374,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14286,16 +14443,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14347,16 +14504,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14439,16 +14596,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14508,16 +14665,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14604,16 +14761,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14675,21 +14832,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14751,21 +14909,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14829,16 +14988,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [], "Key": [] @@ -14880,16 +15040,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [], "Key": [] @@ -14931,16 +15092,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [], "Key": [] @@ -14982,16 +15144,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [], "Key": [] @@ -15042,16 +15205,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [], "Key": [] @@ -15093,16 +15257,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [], "Key": [] @@ -15144,16 +15309,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [], "Key": [] @@ -15206,16 +15372,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [], "Key": [] @@ -15268,16 +15435,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [], "Key": [] @@ -15339,16 +15507,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [], "Key": [] @@ -15401,16 +15570,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [], "Key": [] @@ -15487,16 +15657,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [], "Key": [] @@ -15549,16 +15720,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [], "Key": [] @@ -15611,16 +15783,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [], "Key": [] @@ -15673,16 +15846,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [], "Key": [] @@ -15735,16 +15909,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [], "Key": [] @@ -15797,16 +15972,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [], "Key": [] @@ -15859,16 +16035,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [], "Key": [] @@ -15921,16 +16098,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [], "Key": [] @@ -15983,16 +16161,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [], "Key": [] @@ -16034,16 +16213,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [], "Key": [] @@ -16085,16 +16265,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [], "Key": [] @@ -16136,17 +16317,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [], "Session": [] @@ -16190,17 +16372,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [], "Session": [] @@ -16244,17 +16427,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [], "Session": [] @@ -16298,17 +16482,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [], "Session": [] @@ -16352,17 +16537,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [], "Session": [] @@ -16406,17 +16592,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [], "Session": [] @@ -16460,17 +16647,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [], "Session": [] @@ -16514,17 +16702,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [], "Session": [] @@ -16564,11 +16753,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -16579,6 +16767,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [], "Key": [] @@ -16650,11 +16839,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -16665,6 +16853,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [], "Key": [] @@ -16811,11 +17000,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -16826,6 +17014,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [], "Key": [] @@ -16979,11 +17168,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -16994,6 +17182,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [], "Key": [] @@ -17178,11 +17367,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -17193,6 +17381,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [], "Key": [] @@ -17392,11 +17581,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -17407,6 +17595,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -17585,11 +17774,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -17600,6 +17788,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -17777,11 +17966,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -17792,6 +17980,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [], "Key": [] @@ -17834,11 +18023,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -17849,6 +18037,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [], "Key": [] @@ -17896,11 +18085,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -17911,6 +18099,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [], "Key": [] @@ -17979,11 +18168,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -17994,6 +18182,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [], "Key": [] @@ -18062,11 +18251,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -18077,6 +18265,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [], "Key": [] @@ -18148,11 +18337,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -18163,6 +18351,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -18340,11 +18529,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -18355,6 +18543,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -18529,11 +18718,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -18544,6 +18732,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -18690,11 +18879,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -18705,6 +18893,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -18847,11 +19036,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -18862,6 +19050,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -18978,11 +19167,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -18993,6 +19181,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -19107,11 +19296,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -19122,6 +19310,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19213,11 +19402,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -19228,6 +19416,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19317,11 +19506,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19332,6 +19520,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19435,11 +19624,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19450,6 +19638,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19551,11 +19740,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -19566,6 +19754,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19669,11 +19858,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -19684,6 +19872,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19785,11 +19974,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -19800,6 +19988,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -20035,11 +20224,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -20050,6 +20238,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -20280,11 +20469,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -20295,6 +20483,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20386,11 +20575,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -20401,6 +20589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20490,11 +20679,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -20505,6 +20693,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20596,11 +20785,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -20611,6 +20799,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20700,11 +20889,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -20715,6 +20903,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20806,11 +20995,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -20821,6 +21009,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20910,11 +21099,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -20925,6 +21113,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -21016,11 +21205,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -21031,6 +21219,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -21118,11 +21307,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -21133,6 +21321,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [], "Key": [] @@ -21175,11 +21364,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -21190,6 +21378,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [], "Key": [] @@ -21237,11 +21426,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -21252,6 +21440,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [], "Key": [] @@ -21320,11 +21509,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -21335,6 +21523,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [], "Key": [] @@ -21403,11 +21592,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -21418,6 +21606,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [], "Key": [] @@ -21487,11 +21676,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -21502,6 +21690,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [], "Key": [] @@ -21577,11 +21766,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -21592,6 +21780,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [], "Key": [] @@ -21639,11 +21828,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -21654,6 +21842,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [], "Key": [] @@ -21722,11 +21911,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -21737,6 +21925,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [], "Key": [] @@ -21784,11 +21973,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -21799,6 +21987,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [], "Key": [] @@ -21867,11 +22056,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -21882,6 +22070,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [], "Key": [] @@ -21959,11 +22148,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -21975,6 +22163,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22049,11 +22238,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -22064,6 +22252,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [], "Key": [] @@ -22114,11 +22303,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -22130,6 +22318,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22187,16 +22376,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22270,16 +22459,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22542,16 +22731,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -22593,11 +22782,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22645,16 +22833,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22706,16 +22894,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22973,16 +23161,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23036,16 +23224,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23115,16 +23303,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23206,16 +23394,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -23308,16 +23496,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23389,16 +23577,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23511,16 +23699,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23610,16 +23798,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23674,16 +23862,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23743,16 +23931,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23830,16 +24018,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23899,16 +24087,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23981,16 +24169,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24047,16 +24235,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24116,16 +24304,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24177,16 +24365,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24269,16 +24457,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24338,16 +24526,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24434,16 +24622,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24507,16 +24695,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [], "Key": [] @@ -24590,16 +24779,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [], "Key": [] @@ -24736,16 +24926,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [], "Key": [] @@ -24797,16 +24988,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [], "Key": [] @@ -24939,16 +25131,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [], "Key": [] @@ -25000,17 +25193,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [], "Session": [] @@ -25094,17 +25288,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [], "Session": [] @@ -25186,17 +25381,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [], "Session": [] @@ -25258,17 +25454,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [], "Session": [] @@ -25351,17 +25548,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [], "Session": [] @@ -25423,17 +25621,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [], "Session": [] @@ -25504,17 +25703,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [], "Session": [] @@ -25713,17 +25913,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [], "Session": [] @@ -25790,20 +25991,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [], "Key": [] @@ -25873,20 +26075,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [], "Key": [] @@ -25957,11 +26160,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25970,11 +26172,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -26028,11 +26232,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26041,11 +26244,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -26102,11 +26307,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26115,11 +26319,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -26169,11 +26375,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26182,11 +26387,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -26252,11 +26459,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26265,11 +26471,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -26321,11 +26529,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26334,11 +26541,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -26406,20 +26615,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [], "Key": [] @@ -26467,20 +26677,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [], "Key": [] @@ -26547,20 +26758,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [], "Key": [] @@ -26608,11 +26820,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26621,10 +26832,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [], "Key": [] @@ -26702,11 +26915,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26715,10 +26927,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [], "Key": [] @@ -26831,11 +27045,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26844,10 +27057,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [], "Key": [] @@ -26903,11 +27118,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26916,10 +27130,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [], "Key": [] @@ -27010,11 +27226,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27023,10 +27238,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [], "Key": [] @@ -27082,11 +27299,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27095,10 +27311,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [], "Key": [] @@ -27177,11 +27395,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27190,10 +27407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27289,11 +27508,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27302,10 +27520,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27403,11 +27623,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27416,10 +27635,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27515,11 +27736,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27528,10 +27748,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27629,11 +27851,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27642,10 +27863,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [], "Key": [] @@ -27741,11 +27964,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27754,10 +27976,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [], "Key": [] @@ -27855,11 +28079,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27868,10 +28091,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [], "Key": [] @@ -27977,11 +28202,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27990,10 +28214,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [], "Key": [] @@ -28101,11 +28327,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28114,10 +28339,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [], "Key": [] @@ -28227,11 +28454,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28240,10 +28466,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [], "Key": [] @@ -28355,11 +28583,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28368,10 +28595,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28481,11 +28710,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28494,10 +28722,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28609,11 +28839,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28622,10 +28851,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28721,11 +28952,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28734,10 +28964,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28835,11 +29067,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28848,10 +29079,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [], "Key": [] @@ -28941,11 +29174,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28954,10 +29186,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [], "Key": [] @@ -29054,11 +29288,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29067,10 +29300,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [], "Key": [] @@ -29160,11 +29395,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29173,10 +29407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [], "Key": [] @@ -29273,11 +29509,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29286,10 +29521,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29379,11 +29616,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29392,10 +29628,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29492,11 +29730,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29505,10 +29742,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -29632,11 +29871,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29645,10 +29883,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [], "Key": [] @@ -29757,11 +29997,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29770,10 +30009,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [], "Key": [] @@ -29878,11 +30119,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29891,10 +30131,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [], "Key": [] @@ -29990,11 +30232,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30003,10 +30244,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [], "Key": [] @@ -30133,11 +30376,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30146,10 +30388,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [], "Key": [] @@ -30207,11 +30451,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30220,10 +30463,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [], "Key": [] @@ -30288,11 +30533,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30301,10 +30545,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -30397,11 +30643,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30410,10 +30655,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [], "Key": [] @@ -30490,11 +30737,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30503,10 +30749,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [], "Key": [] @@ -30629,11 +30877,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30642,10 +30889,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [], "Key": [] @@ -30703,11 +30952,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30716,10 +30964,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [], "Key": [] @@ -30782,11 +31032,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30795,11 +31044,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [], "Session": [] @@ -30886,11 +31137,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -30899,11 +31149,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -31071,11 +31323,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31089,6 +31340,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -31203,11 +31455,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31221,6 +31472,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [], "Key": [] @@ -31259,7 +31511,7 @@ "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -31307,11 +31559,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31325,6 +31576,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [], "Key": [] @@ -31405,11 +31657,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31418,11 +31669,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [], "Session": [] @@ -31508,11 +31761,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31521,11 +31773,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -31607,7 +31861,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31656,11 +31910,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31669,11 +31922,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [], "Session": [] @@ -31722,7 +31977,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31766,11 +32021,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31779,11 +32033,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [], "Session": [] @@ -31867,11 +32123,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31886,6 +32141,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [], "Session": [] @@ -31989,11 +32245,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -32008,6 +32263,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [], "Session": [] @@ -32113,17 +32369,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [], "Session": [] @@ -32199,17 +32456,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [], "Session": [] @@ -32291,17 +32549,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [], "Session": [] @@ -32355,17 +32614,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [], "Session": [] @@ -32432,17 +32692,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [], "Session": [] @@ -32496,17 +32757,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [], "Session": [] @@ -32590,17 +32852,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32712,17 +32975,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [], "Session": [] @@ -32784,17 +33048,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32879,17 +33144,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32953,17 +33219,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [], "Session": [] @@ -33049,17 +33316,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33112,17 +33380,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33189,11 +33458,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33280,11 +33548,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33366,11 +33633,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33428,11 +33694,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33501,11 +33766,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33567,16 +33831,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [], "Key": [] @@ -33650,16 +33915,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [], "Key": [] @@ -33749,16 +34015,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [], "Key": [] @@ -33842,16 +34109,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [], "Key": [] @@ -33933,16 +34201,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [], "Key": [] @@ -34013,16 +34282,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [], "Key": [] @@ -34076,16 +34346,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [], "Key": [] @@ -34169,16 +34440,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [], "Key": [] @@ -34262,16 +34534,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34390,16 +34663,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [], "Key": [] @@ -34504,16 +34778,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [], "Key": [] @@ -34616,16 +34891,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [], "Key": [] @@ -34672,16 +34948,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [], "Key": [] @@ -34735,16 +35012,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [], "Key": [] @@ -34816,16 +35094,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [], "Key": [] @@ -34900,16 +35179,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [], "Key": [] @@ -34982,16 +35262,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [], "Key": [] @@ -35064,16 +35345,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [], "Key": [] @@ -35157,16 +35439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -35295,16 +35578,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -35429,16 +35713,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -35548,16 +35833,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -35667,16 +35953,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -35786,16 +36073,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -35907,16 +36195,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [], "Key": [] @@ -35988,16 +36277,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [], "Key": [] @@ -36069,16 +36359,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [], "Key": [] @@ -36148,16 +36439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36209,16 +36501,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36288,16 +36581,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36358,16 +36652,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [], "Key": [] @@ -36414,16 +36709,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36472,16 +36768,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [], "Key": [] @@ -36543,16 +36840,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [], "Key": [] @@ -36622,7 +36920,6 @@ "cookies": false, "type": "", "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}", @@ -36633,6 +36930,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [], "Key": [] @@ -36705,7 +37003,6 @@ "cookies": false, "type": "", "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}", @@ -36716,6 +37013,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [], "Key": [] @@ -36818,7 +37116,6 @@ "cookies": false, "type": "", "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}", @@ -36829,6 +37126,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [], "Key": [] @@ -36888,7 +37186,6 @@ "cookies": false, "type": "", "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}", @@ -36899,6 +37196,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [], "Key": [] @@ -36980,7 +37278,6 @@ "cookies": false, "type": "", "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}", @@ -36991,6 +37288,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [], "Key": [] @@ -37052,16 +37350,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [], "Key": [] @@ -37136,16 +37435,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [], "Key": [] @@ -37217,16 +37517,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [], "Key": [] diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index e3d69b55ce..671dfe85d8 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -98,17 +98,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -150,24 +151,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -242,17 +246,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -321,17 +326,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -393,17 +399,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -457,24 +464,44 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -507,17 +534,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -580,21 +608,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -654,21 +683,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -777,21 +807,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -917,21 +948,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1040,21 +1072,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1117,7 +1150,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -1174,21 +1209,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1313,21 +1349,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1413,21 +1450,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1513,21 +1551,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1613,21 +1652,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1719,17 +1759,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1793,17 +1834,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1873,17 +1915,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1952,17 +1995,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -2004,17 +2048,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2078,7 +2123,6 @@ "cookies": false, "type": "", "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": [ @@ -2087,11 +2131,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2160,17 +2206,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2246,17 +2293,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2293,17 +2341,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2347,24 +2396,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2399,24 +2451,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2478,17 +2533,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2499,7 +2555,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2556,24 +2614,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2623,7 +2684,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -2694,17 +2756,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2715,7 +2778,9 @@ }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2777,24 +2842,27 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2854,17 +2922,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2916,17 +2985,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2973,17 +3043,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -3037,17 +3108,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -3091,16 +3163,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3176,16 +3249,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3249,16 +3323,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3311,7 +3386,6 @@ "cookies": false, "type": "", "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": [ @@ -3320,18 +3394,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3399,7 +3477,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3408,18 +3485,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3488,24 +3569,27 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3555,7 +3639,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3626,7 +3711,6 @@ "cookies": false, "type": "", "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": [ @@ -3635,18 +3719,22 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3708,17 +3796,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3832,17 +3921,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3969,7 +4059,6 @@ "cookies": false, "type": "", "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": [ @@ -3978,11 +4067,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -4024,17 +4115,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -4103,17 +4195,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4228,17 +4321,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4359,17 +4453,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4422,17 +4517,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4909,17 +5005,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -4992,17 +5089,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -5083,17 +5181,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5174,17 +5273,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5850,7 +5950,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5882,21 +5982,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -5948,21 +6049,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6017,21 +6119,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6079,21 +6182,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6157,21 +6261,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6221,21 +6326,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6301,21 +6407,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -6404,21 +6511,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -6562,21 +6670,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -6664,21 +6773,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -6702,8 +6812,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -6765,8 +6874,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6785,10 +6894,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -6818,21 +6924,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -6883,7 +6990,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -6927,21 +7034,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -7027,11 +7135,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7043,6 +7150,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -7148,11 +7256,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -7164,6 +7271,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -7267,16 +7375,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -7350,16 +7458,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -7469,16 +7577,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -7541,21 +7649,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7615,21 +7724,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -7691,17 +7801,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -7743,17 +7854,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -7795,17 +7907,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -7847,17 +7960,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -7899,17 +8013,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -7951,17 +8066,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -8003,17 +8119,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -8055,17 +8172,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -8105,11 +8223,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -8121,6 +8238,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -8190,11 +8308,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -8206,6 +8323,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -8265,17 +8383,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -8357,17 +8476,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -8447,17 +8567,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -8517,17 +8638,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -8608,17 +8730,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -8678,17 +8801,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -8757,17 +8881,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -8964,17 +9089,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -9039,11 +9165,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9052,11 +9177,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -9108,11 +9235,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9121,11 +9247,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -9180,11 +9308,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9193,11 +9320,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -9245,11 +9374,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9258,11 +9386,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -9326,11 +9456,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9339,11 +9468,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -9393,11 +9524,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9406,11 +9536,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -9476,11 +9608,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9489,11 +9620,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -9578,11 +9711,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9591,11 +9723,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -9731,11 +9865,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -9744,11 +9877,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -9832,11 +9967,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9845,11 +9979,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -9928,7 +10064,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9977,11 +10113,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -9990,11 +10125,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -10041,7 +10178,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -10085,11 +10222,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10098,11 +10234,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -10184,11 +10322,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10203,6 +10340,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -10304,11 +10442,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10323,6 +10460,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -10426,17 +10564,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -10510,17 +10649,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -10600,17 +10740,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -10662,17 +10803,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -10737,17 +10879,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -10799,17 +10942,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -10891,17 +11035,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -11011,17 +11156,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -11081,17 +11227,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -11174,17 +11321,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -11246,17 +11394,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -11341,17 +11490,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -11403,17 +11553,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 8bca9aa3d8..ee057d33ff 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -104,17 +104,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [] } @@ -155,24 +156,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -240,7 +243,6 @@ "cookies": false, "type": "", "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}", @@ -250,6 +252,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", "auth": { "Project": [] } @@ -291,17 +294,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [] } @@ -369,17 +373,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [] } @@ -440,17 +445,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [] } @@ -503,24 +509,43 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -553,17 +578,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [] } @@ -625,21 +651,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [] } @@ -698,21 +725,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -820,21 +848,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -959,21 +988,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1081,21 +1111,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1158,7 +1189,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -1215,21 +1247,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1353,21 +1386,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1452,21 +1486,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1551,21 +1586,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1650,21 +1686,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1755,17 +1792,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [] } @@ -1828,17 +1866,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [] } @@ -1907,17 +1946,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [] } @@ -1985,17 +2025,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [] } @@ -2036,17 +2077,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [] } @@ -2109,7 +2151,6 @@ "cookies": false, "type": "", "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": [ @@ -2118,11 +2159,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [] } @@ -2190,17 +2233,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [] } @@ -2275,17 +2319,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [] } @@ -2321,17 +2366,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [] } @@ -2374,24 +2420,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ] } @@ -2426,24 +2474,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2505,17 +2555,18 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2526,7 +2577,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2583,24 +2635,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-session.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2650,7 +2704,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -2721,17 +2776,18 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" @@ -2742,7 +2798,8 @@ }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2804,24 +2861,26 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -2881,17 +2940,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [] } @@ -2942,17 +3002,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [] } @@ -2998,17 +3059,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [] } @@ -3061,17 +3123,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [] } @@ -3114,16 +3177,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", "auth": { "Project": [] } @@ -3198,16 +3262,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", "auth": { "Project": [] } @@ -3270,16 +3335,17 @@ "cookies": false, "type": "", "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": [ + "console", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", "auth": { "Project": [] } @@ -3331,7 +3397,6 @@ "cookies": false, "type": "", "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": [ @@ -3340,18 +3405,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3419,7 +3487,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3428,18 +3495,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3508,24 +3578,26 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3575,7 +3647,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3646,7 +3719,6 @@ "cookies": false, "type": "", "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": [ @@ -3655,18 +3727,21 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { "Project": [] } }, "security": [ { - "Project": [] + "Project": [], + "JWT": [] } ], "parameters": [ @@ -3728,17 +3803,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3851,17 +3927,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3987,7 +4064,6 @@ "cookies": false, "type": "", "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": [ @@ -3996,11 +4072,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [] } @@ -4041,17 +4119,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [] } @@ -4119,17 +4198,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [] } @@ -4244,17 +4324,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [] } @@ -4375,17 +4456,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [] } @@ -4438,17 +4520,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [] } @@ -4925,17 +5008,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [] } @@ -5008,17 +5092,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [] } @@ -5099,17 +5184,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [] } @@ -5190,17 +5276,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [] } @@ -5866,7 +5953,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5900,11 +5987,10 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "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}", @@ -5914,6 +6000,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", "auth": { "Project": [] } @@ -5964,11 +6051,10 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "console\/get-resource.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCheck if a resource ID is available.", "rate-limit": 120, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -6036,11 +6122,10 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "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}", @@ -6050,6 +6135,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", "auth": { "Project": [] } @@ -6085,20 +6171,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -6200,20 +6287,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -6319,21 +6407,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [] } @@ -6385,21 +6474,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [] } @@ -6454,21 +6544,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [] } @@ -6516,21 +6607,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [] } @@ -6594,21 +6686,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [] } @@ -6658,21 +6751,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [] } @@ -6738,11 +6832,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 323, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -6752,6 +6845,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listUsage" @@ -6840,20 +6934,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6933,20 +7028,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -7048,20 +7144,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -7140,20 +7237,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -7234,20 +7332,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -7313,7 +7412,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "default": [], "x-example": null, "items": { @@ -7363,20 +7462,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -7435,20 +7535,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -7542,20 +7643,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7614,20 +7716,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7709,20 +7812,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7821,20 +7925,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7935,20 +8040,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -8047,20 +8153,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -8161,20 +8268,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -8273,20 +8381,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -8387,20 +8496,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -8509,20 +8619,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8633,20 +8744,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8759,20 +8871,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8887,20 +9000,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -9013,20 +9127,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -9141,20 +9256,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -9253,20 +9369,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -9367,20 +9484,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -9473,20 +9591,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9586,20 +9705,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9692,20 +9812,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9805,20 +9926,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9911,20 +10033,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -10024,20 +10147,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -10164,20 +10288,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -10289,20 +10414,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -10410,20 +10536,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -10522,20 +10649,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10665,20 +10793,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10739,20 +10868,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10820,20 +10950,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10929,21 +11060,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -11032,21 +11164,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -11222,11 +11355,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11237,6 +11369,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -11357,11 +11490,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11372,6 +11504,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -11413,7 +11546,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -11461,11 +11594,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11476,6 +11608,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11559,21 +11692,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11661,21 +11795,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11699,8 +11834,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11762,8 +11896,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11782,10 +11916,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -11815,21 +11946,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11880,7 +12012,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11924,21 +12056,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -12022,11 +12155,10 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "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}", @@ -12036,6 +12168,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRowLogs" @@ -12115,11 +12248,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12131,6 +12263,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -12236,11 +12369,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -12252,6 +12384,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -12355,20 +12488,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -12448,20 +12582,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -12587,20 +12722,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12661,20 +12797,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12740,11 +12877,10 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "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}", @@ -12754,6 +12890,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTableLogs" @@ -12823,11 +12960,10 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 330, + "weight": 331, "cookies": false, "type": "", "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}", @@ -12837,6 +12973,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTableUsage" @@ -12914,11 +13051,10 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 321, + "weight": 322, "cookies": false, "type": "", "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}", @@ -12928,6 +13064,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listDatabaseLogs" @@ -13019,11 +13156,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 322, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/get-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}", @@ -13033,6 +13169,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getUsage" @@ -13132,16 +13269,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13214,16 +13351,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13527,16 +13664,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -13577,11 +13714,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13628,11 +13764,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "functions\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13813,11 +13948,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "functions\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13872,11 +14006,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "functions\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -13943,16 +14076,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14003,16 +14136,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14312,16 +14445,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14374,16 +14507,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14452,16 +14585,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14542,16 +14675,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -14635,16 +14768,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14721,16 +14854,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14842,16 +14975,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14939,16 +15072,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15002,16 +15135,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15070,16 +15203,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15156,16 +15289,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15224,16 +15357,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -15307,16 +15440,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -15426,16 +15559,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -15491,16 +15624,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15559,11 +15692,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "functions\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -15638,16 +15770,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15698,16 +15830,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15789,16 +15921,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -15857,16 +15989,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -15952,16 +16084,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -16022,21 +16154,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16096,21 +16229,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [] } @@ -16172,16 +16306,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [] } @@ -16222,16 +16357,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [] } @@ -16272,16 +16408,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [] } @@ -16322,16 +16459,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [] } @@ -16381,16 +16519,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [] } @@ -16431,16 +16570,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [] } @@ -16481,16 +16621,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [] } @@ -16542,16 +16683,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [] } @@ -16603,16 +16745,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [] } @@ -16673,16 +16816,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [] } @@ -16734,16 +16878,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [] } @@ -16819,16 +16964,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [] } @@ -16880,16 +17026,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [] } @@ -16941,16 +17088,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [] } @@ -17002,16 +17150,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [] } @@ -17063,16 +17212,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [] } @@ -17124,16 +17274,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [] } @@ -17185,16 +17336,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [] } @@ -17246,16 +17398,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [] } @@ -17307,16 +17460,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [] } @@ -17357,16 +17511,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [] } @@ -17407,16 +17562,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [] } @@ -17457,17 +17613,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [] } @@ -17509,17 +17666,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [] } @@ -17561,17 +17719,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [] } @@ -17613,17 +17772,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [] } @@ -17665,17 +17825,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [] } @@ -17717,17 +17878,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [] } @@ -17769,17 +17931,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [] } @@ -17821,17 +17984,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [] } @@ -17869,11 +18033,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -17884,6 +18047,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [] } @@ -17954,11 +18118,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -17969,6 +18132,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [] } @@ -18114,11 +18278,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -18129,6 +18292,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [] } @@ -18281,11 +18445,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -18296,6 +18459,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [] } @@ -18479,11 +18643,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -18494,6 +18657,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [] } @@ -18692,11 +18856,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -18707,6 +18870,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -18882,11 +19046,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -18897,6 +19060,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -19071,11 +19235,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -19086,6 +19249,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [] } @@ -19127,11 +19291,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -19142,6 +19305,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [] } @@ -19188,11 +19352,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -19203,6 +19366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [] } @@ -19270,11 +19434,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -19285,6 +19448,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [] } @@ -19352,11 +19516,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -19367,6 +19530,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [] } @@ -19437,11 +19601,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -19452,6 +19615,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -19626,11 +19790,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -19641,6 +19804,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -19812,11 +19976,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -19827,6 +19990,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -19970,11 +20134,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -19985,6 +20148,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -20124,11 +20288,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -20139,6 +20302,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [] } @@ -20254,11 +20418,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -20269,6 +20432,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [] } @@ -20382,11 +20546,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -20397,6 +20560,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [] } @@ -20487,11 +20651,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -20502,6 +20665,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [] } @@ -20590,11 +20754,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20605,6 +20768,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [] } @@ -20707,11 +20871,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -20722,6 +20885,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [] } @@ -20822,11 +20986,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -20837,6 +21000,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [] } @@ -20939,11 +21103,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -20954,6 +21117,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [] } @@ -21054,11 +21218,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -21069,6 +21232,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -21301,11 +21465,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -21316,6 +21479,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -21543,11 +21707,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -21558,6 +21721,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [] } @@ -21648,11 +21812,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -21663,6 +21826,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [] } @@ -21751,11 +21915,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -21766,6 +21929,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [] } @@ -21856,11 +22020,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -21871,6 +22034,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [] } @@ -21959,11 +22123,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -21974,6 +22137,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [] } @@ -22064,11 +22228,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -22079,6 +22242,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [] } @@ -22167,11 +22331,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -22182,6 +22345,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [] } @@ -22272,11 +22436,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -22287,6 +22450,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [] } @@ -22373,11 +22537,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -22388,6 +22551,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [] } @@ -22429,11 +22593,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -22444,6 +22607,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [] } @@ -22490,11 +22654,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -22505,6 +22668,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [] } @@ -22572,11 +22736,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -22587,6 +22750,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [] } @@ -22654,11 +22818,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -22669,6 +22832,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [] } @@ -22737,11 +22901,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -22752,6 +22915,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [] } @@ -22826,11 +22990,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -22841,6 +23004,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [] } @@ -22887,11 +23051,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -22902,6 +23065,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [] } @@ -22969,11 +23133,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -22984,6 +23147,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [] } @@ -23030,11 +23194,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -23045,6 +23208,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [] } @@ -23112,11 +23276,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -23127,6 +23290,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [] } @@ -23203,11 +23367,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -23219,6 +23382,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [] } @@ -23291,11 +23455,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -23306,6 +23469,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [] } @@ -23355,11 +23519,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -23371,6 +23534,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [] } @@ -23426,11 +23590,10 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 250, + "weight": 251, "cookies": false, "type": "", "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}", @@ -23440,6 +23603,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", "auth": { "Project": [] } @@ -23509,11 +23673,10 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 244, + "weight": 245, "cookies": false, "type": "", "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}", @@ -23523,6 +23686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", "auth": { "Project": [] } @@ -23622,11 +23786,10 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 252, + "weight": 253, "cookies": false, "type": "", "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}", @@ -23636,6 +23799,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", "auth": { "Project": [] } @@ -23731,11 +23895,10 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 249, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23745,6 +23908,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-export.md", "auth": { "Project": [] } @@ -23857,11 +24021,10 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 248, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -23871,6 +24034,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-csv-import.md", "auth": { "Project": [] } @@ -23948,11 +24112,10 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 245, + "weight": 246, "cookies": false, "type": "", "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}", @@ -23962,6 +24125,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", "auth": { "Project": [] } @@ -24041,11 +24205,10 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 253, + "weight": 254, "cookies": false, "type": "", "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}", @@ -24055,6 +24218,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", "auth": { "Project": [] } @@ -24127,11 +24291,10 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 247, + "weight": 248, "cookies": false, "type": "", "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}", @@ -24141,6 +24304,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", "auth": { "Project": [] } @@ -24262,11 +24426,10 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 255, + "weight": 256, "cookies": false, "type": "", "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}", @@ -24276,6 +24439,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", "auth": { "Project": [] } @@ -24398,11 +24562,10 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 246, + "weight": 247, "cookies": false, "type": "", "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}", @@ -24412,6 +24575,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", "auth": { "Project": [] } @@ -24526,11 +24690,10 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 254, + "weight": 255, "cookies": false, "type": "", "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}", @@ -24540,6 +24703,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", "auth": { "Project": [] } @@ -24653,11 +24817,10 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 251, + "weight": 252, "cookies": false, "type": "", "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}", @@ -24667,6 +24830,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", "auth": { "Project": [] } @@ -24712,11 +24876,10 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 256, + "weight": 257, "cookies": false, "type": "", "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}", @@ -24726,6 +24889,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", "auth": { "Project": [] } @@ -24766,11 +24930,10 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 257, + "weight": 258, "cookies": false, "type": "", "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}", @@ -24780,6 +24943,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", "auth": { "Project": [] } @@ -24829,7 +24993,6 @@ "cookies": false, "type": "", "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}", @@ -24839,6 +25002,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", "auth": { "Project": [] } @@ -24912,7 +25076,6 @@ "cookies": false, "type": "", "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}", @@ -24922,6 +25085,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", "auth": { "Project": [] } @@ -24961,7 +25125,6 @@ "cookies": false, "type": "", "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}", @@ -24971,6 +25134,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", "auth": { "Project": [] } @@ -25043,7 +25207,6 @@ "cookies": false, "type": "", "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}", @@ -25053,6 +25216,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", "auth": { "Project": [] } @@ -25102,7 +25266,6 @@ "cookies": false, "type": "", "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}", @@ -25112,6 +25275,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", "auth": { "Project": [] } @@ -25188,7 +25352,6 @@ "cookies": false, "type": "", "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}", @@ -25198,6 +25361,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", "auth": { "Project": [] } @@ -25243,11 +25407,10 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25328,7 +25491,6 @@ "cookies": false, "type": "", "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}", @@ -25338,6 +25500,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", "auth": { "Project": [] } @@ -25476,7 +25639,6 @@ "cookies": false, "type": "", "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}", @@ -25486,6 +25648,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", "auth": { "Project": [] } @@ -25535,7 +25698,6 @@ "cookies": false, "type": "", "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}", @@ -25545,6 +25707,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", "auth": { "Project": [] } @@ -25661,7 +25824,6 @@ "cookies": false, "type": "", "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}", @@ -25671,6 +25833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", "auth": { "Project": [] } @@ -25722,7 +25885,6 @@ "cookies": false, "type": "", "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}", @@ -25732,6 +25894,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatus" @@ -25879,7 +26042,6 @@ "cookies": false, "type": "", "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}", @@ -25889,6 +26051,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateAPIStatusAll" @@ -26018,7 +26181,6 @@ "cookies": false, "type": "", "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}", @@ -26028,6 +26190,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", "auth": { "Project": [] } @@ -26097,7 +26260,6 @@ "cookies": false, "type": "", "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}", @@ -26107,6 +26269,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", "auth": { "Project": [] } @@ -26176,7 +26339,6 @@ "cookies": false, "type": "", "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}", @@ -26186,6 +26348,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", "auth": { "Project": [] } @@ -26255,7 +26418,6 @@ "cookies": false, "type": "", "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}", @@ -26265,6 +26427,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", "auth": { "Project": [] } @@ -26348,7 +26511,6 @@ "cookies": false, "type": "", "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}", @@ -26358,6 +26520,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", "auth": { "Project": [] } @@ -26430,7 +26593,6 @@ "cookies": false, "type": "", "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}", @@ -26440,6 +26602,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", "auth": { "Project": [] } @@ -26509,7 +26672,6 @@ "cookies": false, "type": "", "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}", @@ -26519,6 +26681,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", "auth": { "Project": [] } @@ -26588,7 +26751,6 @@ "cookies": false, "type": "", "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}", @@ -26598,6 +26760,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", "auth": { "Project": [] } @@ -26667,7 +26830,6 @@ "cookies": false, "type": "", "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}", @@ -26677,6 +26839,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", "auth": { "Project": [] } @@ -26746,7 +26909,6 @@ "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26756,6 +26918,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-invalidation.md", "auth": { "Project": [] } @@ -26825,7 +26988,6 @@ "cookies": false, "type": "", "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}", @@ -26835,6 +26997,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", "auth": { "Project": [] } @@ -26917,15 +27080,14 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList 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.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -26988,15 +27150,14 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27072,15 +27233,14 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 449, + "weight": 450, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.read", + "scope": "devKeys.read", "platforms": [ "console" ], @@ -27139,15 +27299,14 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a project\\'s dev key by its unique ID. Use this endpoint to update a project\\'s dev key name or expiration time.'", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27226,15 +27385,14 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "projects.write", + "scope": "devKeys.write", "platforms": [ "console" ], @@ -27299,7 +27457,6 @@ "cookies": false, "type": "", "demo": "projects\/create-jwt.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}", @@ -27309,6 +27466,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", "auth": { "Project": [] } @@ -27444,7 +27602,6 @@ "cookies": false, "type": "", "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}", @@ -27454,6 +27611,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", "auth": { "Project": [] } @@ -27512,7 +27670,6 @@ "cookies": false, "type": "", "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}", @@ -27522,6 +27679,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", "auth": { "Project": [] } @@ -27666,7 +27824,6 @@ "cookies": false, "type": "", "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}", @@ -27676,6 +27833,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", "auth": { "Project": [] } @@ -27733,7 +27891,6 @@ "cookies": false, "type": "", "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}", @@ -27743,6 +27900,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", "auth": { "Project": [] } @@ -27890,7 +28048,6 @@ "cookies": false, "type": "", "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}", @@ -27900,6 +28057,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", "auth": { "Project": [] } @@ -27959,7 +28117,6 @@ "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.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}", @@ -27969,6 +28126,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", "auth": { "Project": [] } @@ -28038,7 +28196,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [] @@ -28101,7 +28260,6 @@ "cookies": false, "type": "", "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}", @@ -28111,6 +28269,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", "auth": { "Project": [] } @@ -28169,7 +28328,6 @@ "cookies": false, "type": "", "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}", @@ -28179,6 +28337,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", "auth": { "Project": [] } @@ -28290,7 +28449,6 @@ "cookies": false, "type": "", "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}", @@ -28300,6 +28458,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", "auth": { "Project": [] } @@ -28357,7 +28516,6 @@ "cookies": false, "type": "", "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}", @@ -28367,6 +28525,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", "auth": { "Project": [] } @@ -28455,7 +28614,6 @@ "cookies": false, "type": "", "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}", @@ -28465,6 +28623,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", "auth": { "Project": [] } @@ -28524,7 +28683,6 @@ "cookies": false, "type": "", "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}", @@ -28534,6 +28692,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", "auth": { "Project": [] } @@ -28627,7 +28786,6 @@ "cookies": false, "type": "", "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}", @@ -28637,6 +28795,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", "auth": { "Project": [] } @@ -28706,7 +28865,6 @@ "cookies": false, "type": "", "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}", @@ -28716,6 +28874,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMTP" @@ -28912,7 +29071,6 @@ "cookies": false, "type": "", "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}", @@ -28922,6 +29080,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.createSMTPTest" @@ -29131,7 +29290,6 @@ "cookies": false, "type": "", "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}", @@ -29141,6 +29299,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", "auth": { "Project": [] } @@ -29208,7 +29367,6 @@ "cookies": false, "type": "", "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}", @@ -29218,6 +29376,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", "auth": { "Project": [] } @@ -29429,7 +29588,6 @@ "cookies": false, "type": "", "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}", @@ -29439,6 +29597,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", "auth": { "Project": [] } @@ -29693,7 +29852,6 @@ "cookies": false, "type": "", "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}", @@ -29703,6 +29861,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", "auth": { "Project": [] } @@ -29914,7 +30073,6 @@ "cookies": false, "type": "", "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}", @@ -29924,6 +30082,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.getSMSTemplate" @@ -30196,7 +30355,6 @@ "cookies": false, "type": "", "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}", @@ -30206,6 +30364,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.updateSMSTemplate" @@ -30500,7 +30659,6 @@ "cookies": false, "type": "", "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}", @@ -30510,6 +30668,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", "replaceWith": "projects.deleteSMSTemplate" @@ -30782,7 +30941,6 @@ "cookies": false, "type": "", "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}", @@ -30792,6 +30950,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", "auth": { "Project": [] } @@ -30850,7 +31009,6 @@ "cookies": false, "type": "", "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}", @@ -30860,6 +31018,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", "auth": { "Project": [] } @@ -30969,7 +31128,6 @@ "cookies": false, "type": "", "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}", @@ -30979,6 +31137,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", "auth": { "Project": [] } @@ -31036,7 +31195,6 @@ "cookies": false, "type": "", "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}", @@ -31046,6 +31204,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", "auth": { "Project": [] } @@ -31158,7 +31317,6 @@ "cookies": false, "type": "", "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}", @@ -31168,6 +31326,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", "auth": { "Project": [] } @@ -31227,7 +31386,6 @@ "cookies": false, "type": "", "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}", @@ -31237,6 +31395,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", "auth": { "Project": [] } @@ -31290,11 +31449,10 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the proxy rules. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31373,11 +31531,10 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite's API on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31444,11 +31601,10 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for executing Appwrite Function on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31528,11 +31684,10 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for to redirect from custom domain to another domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31649,11 +31804,10 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new proxy rule for serving Appwrite Site on custom domain.", "rate-limit": 10, "rate-time": 60, "rate-key": "userId:{userId}, url:{url}", @@ -31731,11 +31885,10 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31785,11 +31938,10 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a proxy rule by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31846,11 +31998,10 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterRetry 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31905,16 +32056,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -31987,16 +32138,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32258,16 +32409,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -32308,11 +32459,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32359,11 +32509,10 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "sites\/list-templates.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList available site templates. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32483,11 +32632,10 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "sites\/get-template.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site template using ID. You can use template details in [createSite](\/docs\/references\/cloud\/server-nodejs\/sites#create) method.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32542,11 +32690,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "sites\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -32613,16 +32760,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -32673,16 +32820,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -32939,16 +33086,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33001,16 +33148,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33079,16 +33226,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33169,16 +33316,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -33270,16 +33417,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33350,16 +33497,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33471,16 +33618,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33569,16 +33716,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33632,16 +33779,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33700,16 +33847,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33786,16 +33933,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -33854,16 +34001,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -33935,16 +34082,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34000,16 +34147,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34068,11 +34215,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "sites\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -34147,16 +34293,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34207,16 +34353,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34298,16 +34444,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -34366,16 +34512,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34461,16 +34607,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -34533,16 +34679,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [] } @@ -34615,16 +34762,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [] } @@ -34760,16 +34908,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [] } @@ -34820,16 +34969,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [] } @@ -34961,16 +35111,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [] } @@ -35021,17 +35172,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [] } @@ -35113,17 +35265,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [] } @@ -35203,17 +35356,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [] } @@ -35273,17 +35427,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [] } @@ -35364,17 +35519,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [] } @@ -35434,17 +35590,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [] } @@ -35513,17 +35670,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [] } @@ -35720,17 +35878,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [] } @@ -35799,7 +35958,6 @@ "cookies": false, "type": "", "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}", @@ -35809,6 +35967,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", "auth": { "Project": [] } @@ -35870,7 +36029,6 @@ "cookies": false, "type": "", "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}", @@ -35880,6 +36038,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", "auth": { "Project": [] } @@ -35945,20 +36104,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [] } @@ -36027,20 +36187,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [] } @@ -36110,11 +36271,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36123,11 +36283,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [] } @@ -36179,11 +36341,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36192,11 +36353,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [] } @@ -36251,11 +36414,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36264,11 +36426,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [] } @@ -36316,11 +36480,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36329,11 +36492,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [] } @@ -36397,11 +36562,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36410,11 +36574,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [] } @@ -36464,11 +36630,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36477,11 +36642,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [] } @@ -36547,11 +36714,10 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 388, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36564,6 +36730,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "methods": [ { "name": "listUsage", @@ -36644,20 +36811,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [] } @@ -36704,20 +36872,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [] } @@ -36783,20 +36952,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [] } @@ -36843,11 +37013,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36856,10 +37025,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [] } @@ -36936,11 +37107,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -36949,10 +37119,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [] } @@ -37064,11 +37236,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37077,10 +37248,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [] } @@ -37135,11 +37308,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37148,10 +37320,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [] } @@ -37241,11 +37415,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37254,10 +37427,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [] } @@ -37312,11 +37487,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37325,10 +37499,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [] } @@ -37406,11 +37582,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37419,10 +37594,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [] } @@ -37517,11 +37694,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37530,10 +37706,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [] } @@ -37630,11 +37808,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37643,10 +37820,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [] } @@ -37741,11 +37920,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37754,10 +37932,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [] } @@ -37854,11 +38034,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37867,10 +38046,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [] } @@ -37965,11 +38146,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -37978,10 +38158,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [] } @@ -38078,11 +38260,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38091,10 +38272,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [] } @@ -38199,11 +38382,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38212,10 +38394,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [] } @@ -38322,11 +38506,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38335,10 +38518,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [] } @@ -38447,11 +38632,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38460,10 +38644,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [] } @@ -38574,11 +38760,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38587,10 +38772,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [] } @@ -38699,11 +38886,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38712,10 +38898,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [] } @@ -38826,11 +39014,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38839,10 +39026,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [] } @@ -38937,11 +39126,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -38950,10 +39138,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [] } @@ -39050,11 +39240,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39063,10 +39252,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [] } @@ -39155,11 +39346,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39168,10 +39358,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [] } @@ -39267,11 +39459,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39280,10 +39471,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [] } @@ -39372,11 +39565,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39385,10 +39577,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [] } @@ -39484,11 +39678,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39497,10 +39690,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [] } @@ -39589,11 +39784,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39602,10 +39796,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [] } @@ -39701,11 +39897,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39714,10 +39909,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [] } @@ -39840,11 +40037,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39853,10 +40049,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [] } @@ -39964,11 +40162,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -39977,10 +40174,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [] } @@ -40084,11 +40283,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40097,10 +40295,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [] } @@ -40195,11 +40395,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40208,10 +40407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [] } @@ -40337,11 +40538,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40350,10 +40550,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [] } @@ -40410,11 +40612,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40423,10 +40624,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [] } @@ -40490,11 +40693,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40503,10 +40705,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [] } @@ -40598,11 +40802,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40611,10 +40814,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [] } @@ -40690,11 +40895,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40703,10 +40907,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [] } @@ -40828,11 +41034,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40841,10 +41046,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [] } @@ -40901,11 +41108,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40914,10 +41120,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [] } @@ -40979,11 +41187,10 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 394, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -40996,6 +41203,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-logs.md", "auth": { "Project": [] } @@ -41061,11 +41269,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41074,11 +41281,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [] } @@ -41163,11 +41372,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41176,11 +41384,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -41344,11 +41554,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41362,6 +41571,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -41474,11 +41684,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41492,6 +41701,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [] } @@ -41529,7 +41739,7 @@ "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -41577,11 +41787,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41595,6 +41804,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [] } @@ -41674,11 +41884,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -41687,11 +41896,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [] } @@ -41775,11 +41986,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41788,11 +41998,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -41871,7 +42083,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -41920,11 +42132,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -41933,11 +42144,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [] } @@ -41984,7 +42197,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -42028,11 +42241,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42041,11 +42253,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [] } @@ -42125,11 +42339,10 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42142,6 +42355,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row-logs.md", "auth": { "Project": [] } @@ -42217,11 +42431,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42236,6 +42449,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [] } @@ -42337,11 +42551,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -42356,6 +42569,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [] } @@ -42455,11 +42669,10 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 395, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42472,6 +42685,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table-usage.md", "auth": { "Project": [] } @@ -42545,11 +42759,10 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 387, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -42562,6 +42775,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "methods": [ { "name": "getUsage", @@ -42657,17 +42871,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [] } @@ -42741,17 +42956,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [] } @@ -42831,17 +43047,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [] } @@ -42893,17 +43110,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [] } @@ -42968,17 +43186,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [] } @@ -43030,7 +43249,6 @@ "cookies": false, "type": "", "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}", @@ -43040,6 +43258,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", "auth": { "Project": [] } @@ -43110,17 +43329,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [] } @@ -43202,17 +43422,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [] } @@ -43322,17 +43543,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [] } @@ -43392,17 +43614,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [] } @@ -43485,17 +43708,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [] } @@ -43557,17 +43781,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [] } @@ -43651,17 +43876,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [] } @@ -43712,17 +43938,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [] } @@ -43787,11 +44014,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -43877,11 +44103,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -43962,11 +44187,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -44023,11 +44247,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44095,11 +44318,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -44160,16 +44382,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [] } @@ -44242,16 +44465,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [] } @@ -44340,16 +44564,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [] } @@ -44432,16 +44657,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [] } @@ -44522,16 +44748,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [] } @@ -44601,16 +44828,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [] } @@ -44663,16 +44891,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [] } @@ -44755,16 +44984,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [] } @@ -44847,16 +45077,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [] } @@ -44974,16 +45205,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [] } @@ -45087,16 +45319,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [] } @@ -45198,7 +45431,6 @@ "cookies": false, "type": "", "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}", @@ -45208,6 +45440,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", "auth": { "Project": [] } @@ -45269,16 +45502,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [] } @@ -45324,16 +45558,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [] } @@ -45386,16 +45621,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [] } @@ -45466,16 +45702,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [] } @@ -45549,16 +45786,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [] } @@ -45630,16 +45868,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [] } @@ -45711,16 +45950,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [] } @@ -45803,16 +46043,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -45938,16 +46179,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -46069,16 +46311,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -46185,16 +46428,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -46301,16 +46545,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -46417,16 +46662,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -46535,16 +46781,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [] } @@ -46615,16 +46862,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [] } @@ -46695,16 +46943,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [] } @@ -46773,16 +47022,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [] } @@ -46833,16 +47083,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [] } @@ -46911,16 +47162,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [] } @@ -46980,16 +47232,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [] } @@ -47035,16 +47288,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [] } @@ -47092,16 +47346,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [] } @@ -47162,16 +47417,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [] } @@ -47240,7 +47496,6 @@ "cookies": false, "type": "", "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}", @@ -47251,6 +47506,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [] } @@ -47322,7 +47578,6 @@ "cookies": false, "type": "", "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}", @@ -47333,6 +47588,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [] } @@ -47434,7 +47690,6 @@ "cookies": false, "type": "", "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}", @@ -47445,6 +47700,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [] } @@ -47503,7 +47759,6 @@ "cookies": false, "type": "", "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}", @@ -47514,6 +47769,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [] } @@ -47594,7 +47850,6 @@ "cookies": false, "type": "", "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}", @@ -47605,6 +47860,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [] } @@ -47665,16 +47921,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [] } @@ -47748,16 +48005,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [] } @@ -47828,16 +48086,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [] } @@ -47908,7 +48167,6 @@ "cookies": false, "type": "", "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}", @@ -47918,6 +48176,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", "auth": { "Project": [] } @@ -48004,7 +48263,6 @@ "cookies": false, "type": "", "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}", @@ -48014,6 +48272,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", "auth": { "Project": [] } @@ -48098,7 +48357,6 @@ "cookies": false, "type": "", "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}", @@ -48108,6 +48366,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", "auth": { "Project": [] } @@ -48182,7 +48441,6 @@ "cookies": false, "type": "", "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}", @@ -48192,6 +48450,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", "auth": { "Project": [] } @@ -48249,7 +48508,6 @@ "cookies": false, "type": "", "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}", @@ -48259,6 +48517,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", "auth": { "Project": [] } @@ -48316,7 +48575,6 @@ "cookies": false, "type": "", "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}", @@ -48326,6 +48584,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", "auth": { "Project": [] } @@ -48400,7 +48659,6 @@ "cookies": false, "type": "", "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}", @@ -48410,6 +48668,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", "auth": { "Project": [] } @@ -48485,7 +48744,6 @@ "cookies": false, "type": "", "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}", @@ -48495,6 +48753,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", "auth": { "Project": [] } @@ -48566,7 +48825,6 @@ "cookies": false, "type": "", "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}", @@ -48576,6 +48834,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", "auth": { "Project": [] } @@ -48620,7 +48879,6 @@ "cookies": false, "type": "", "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}", @@ -48630,6 +48888,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", "auth": { "Project": [] } @@ -60325,8 +60584,8 @@ }, "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." + "description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.", + "x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record." }, "renewAt": { "type": "string", @@ -60365,7 +60624,7 @@ "deploymentResourceId": "n3u9feiwmf", "deploymentVcsProviderBranch": "main", "status": "verified", - "logs": "HTTP challegne failed.", + "logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.", "renewAt": "datetime" } }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index d800d8bb6e..ebc571a19a 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -107,17 +107,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", "auth": { "Project": [], "Session": [] @@ -160,24 +161,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -252,17 +257,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", "auth": { "Project": [], "Session": [] @@ -332,17 +338,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", "auth": { "Project": [], "Session": [] @@ -405,17 +412,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", "auth": { "Project": [], "Session": [] @@ -470,24 +478,45 @@ "cookies": false, "type": "", "demo": "account\/create-jwt.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", - "rate-limit": 100, - "rate-time": 3600, + "rate-limit": 120, + "rate-time": 60, "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "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 + } + } + } } ] } @@ -520,17 +549,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", "auth": { "Project": [], "Session": [] @@ -594,21 +624,22 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 306, + "weight": 307, "cookies": false, "type": "", "demo": "account\/update-mfa.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", "auth": { "Project": [], "Session": [] @@ -669,21 +700,22 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAAuthenticator" @@ -795,21 +827,22 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAAuthenticator" @@ -938,21 +971,22 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.deleteMFAAuthenticator" @@ -1064,21 +1098,22 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 314, + "weight": 315, "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFAChallenge" @@ -1089,7 +1124,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1116,7 +1152,8 @@ "namespace": "account", "desc": "", "auth": { - "Project": [] + "Project": [], + "Session": [] }, "parameters": [ "factor" @@ -1136,12 +1173,15 @@ } ], "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -1198,21 +1238,22 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 315, + "weight": 316, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFAChallenge" @@ -1340,21 +1381,22 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 307, + "weight": 308, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.listMFAFactors" @@ -1443,21 +1485,22 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.getMFARecoveryCodes" @@ -1546,21 +1589,22 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.createMFARecoveryCodes" @@ -1649,21 +1693,22 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "account.updateMFARecoveryCodes" @@ -1758,17 +1803,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", "auth": { "Project": [], "Session": [] @@ -1833,17 +1879,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", "auth": { "Project": [], "Session": [] @@ -1914,17 +1961,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", "auth": { "Project": [], "Session": [] @@ -1994,17 +2042,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", "auth": { "Project": [], "Session": [] @@ -2047,17 +2096,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", "auth": { "Project": [], "Session": [] @@ -2122,7 +2172,6 @@ "cookies": false, "type": "", "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": [ @@ -2131,11 +2180,13 @@ ], "scope": "sessions.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", "auth": { "Project": [], "Session": [] @@ -2205,17 +2256,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", "auth": { "Project": [], "Session": [] @@ -2292,17 +2344,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", "auth": { "Project": [], "Session": [] @@ -2340,17 +2393,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", "auth": { "Project": [], "Session": [] @@ -2395,24 +2449,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ] } @@ -2447,24 +2505,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2526,28 +2588,32 @@ "cookies": false, "type": "", "demo": "account\/update-magic-url-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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2609,28 +2675,32 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "deprecated": { "since": "1.6.0", "replaceWith": "account.createSession" }, "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2692,24 +2762,28 @@ "cookies": false, "type": "", "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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -2769,17 +2843,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", "auth": { "Project": [], "Session": [] @@ -2832,17 +2907,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", "auth": { "Project": [], "Session": [] @@ -2890,17 +2966,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", "auth": { "Project": [], "Session": [] @@ -2955,17 +3032,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", "auth": { "Project": [], "Session": [] @@ -3010,7 +3088,6 @@ "cookies": false, "type": "", "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": [ @@ -3019,18 +3096,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3098,7 +3180,6 @@ "cookies": false, "type": "", "demo": "account\/create-magic-url-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": [ @@ -3107,18 +3188,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3187,24 +3273,28 @@ "cookies": false, "type": "webAuth", "demo": "account\/create-o-auth-2-token.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" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3254,7 +3344,8 @@ "yandex", "zoho", "zoom", - "mock" + "mock", + "mock-unverified" ], "x-enum-name": "OAuthProvider", "x-enum-keys": [], @@ -3325,7 +3416,6 @@ "cookies": false, "type": "", "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": [ @@ -3334,18 +3424,23 @@ ], "scope": "sessions.write", "platforms": [ - "server", - "client" + "console", + "client", + "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", "auth": { - "Project": [] + "Project": [], + "Session": [] } }, "security": [ { - "Project": [] + "Project": [], + "Session": [], + "JWT": [] } ], "parameters": [ @@ -3407,17 +3502,18 @@ "cookies": false, "type": "", "demo": "account\/create-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", "methods": [ { "name": "createEmailVerification", @@ -3534,17 +3630,18 @@ "cookies": false, "type": "", "demo": "account\/update-email-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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", "methods": [ { "name": "updateEmailVerification", @@ -3674,7 +3771,6 @@ "cookies": false, "type": "", "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": [ @@ -3683,11 +3779,13 @@ ], "scope": "account", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3730,17 +3828,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", "auth": { "Project": [], "Session": [] @@ -3810,17 +3909,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", "auth": { "Project": [], "Session": [] @@ -3937,17 +4037,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", "auth": { "Project": [], "Session": [] @@ -4070,17 +4171,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", "auth": { "Project": [], "Session": [] @@ -4135,17 +4237,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", "auth": { "Project": [], "Session": [] @@ -4624,17 +4727,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", "auth": { "Project": [], "Session": [] @@ -4709,17 +4813,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", "auth": { "Project": [], "Session": [] @@ -4802,17 +4907,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-qr.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", "auth": { "Project": [], "Session": [] @@ -4895,17 +5001,18 @@ "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "rate-limit": 60, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "avatars.read", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-screenshot.md", "auth": { "Project": [], "Session": [] @@ -5573,7 +5680,7 @@ "avif", "gif" ], - "x-enum-name": null, + "x-enum-name": "ImageFormat", "x-enum-keys": [], "default": "", "in": "query" @@ -5605,20 +5712,21 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 320, + "weight": 321, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.list" @@ -5722,20 +5830,21 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 316, + "weight": 317, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.create" @@ -5843,21 +5952,22 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "demo": "databases\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -5911,21 +6021,22 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "demo": "databases\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -5982,21 +6093,22 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "demo": "databases\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "rows.read", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -6046,21 +6158,22 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "demo": "databases\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -6126,21 +6239,22 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "demo": "databases\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -6192,21 +6306,22 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "demo": "databases\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "documents.write", "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -6274,20 +6389,21 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 317, + "weight": 318, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.get" @@ -6369,20 +6485,21 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 318, + "weight": 319, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.update" @@ -6486,20 +6603,21 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 319, + "weight": 320, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.delete" @@ -6580,20 +6698,21 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listTables" @@ -6675,20 +6794,21 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 324, + "weight": 325, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createTable" @@ -6755,7 +6875,7 @@ }, "attributes": { "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", + "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", "default": [], "x-example": null, "items": { @@ -6805,20 +6925,21 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getTable" @@ -6878,20 +6999,21 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateTable" @@ -6986,20 +7108,21 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteTable" @@ -7059,20 +7182,21 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listColumns" @@ -7155,20 +7279,21 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createBooleanColumn" @@ -7268,20 +7393,21 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateBooleanColumn" @@ -7383,20 +7509,21 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createDatetimeColumn" @@ -7496,20 +7623,21 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateDatetimeColumn" @@ -7611,20 +7739,21 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEmailColumn" @@ -7724,20 +7853,21 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEmailColumn" @@ -7839,20 +7969,21 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createEnumColumn" @@ -7962,20 +8093,21 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateEnumColumn" @@ -8087,20 +8219,21 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createFloatColumn" @@ -8214,20 +8347,21 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateFloatColumn" @@ -8343,20 +8477,21 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIntegerColumn" @@ -8470,20 +8605,21 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIntegerColumn" @@ -8599,20 +8735,21 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIpColumn" @@ -8712,20 +8849,21 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateIpColumn" @@ -8827,20 +8965,21 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createLineColumn" @@ -8934,20 +9073,21 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-line-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateLineColumn" @@ -9048,20 +9188,21 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPointColumn" @@ -9155,20 +9296,21 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-point-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePointColumn" @@ -9269,20 +9411,21 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createPolygonColumn" @@ -9376,20 +9519,21 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "collections.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-polygon-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updatePolygonColumn" @@ -9490,20 +9634,21 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRelationshipColumn" @@ -9631,20 +9776,21 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createStringColumn" @@ -9757,20 +9903,21 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateStringColumn" @@ -9879,20 +10026,21 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createUrlColumn" @@ -9992,20 +10140,21 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateUrlColumn" @@ -10136,20 +10285,21 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getColumn" @@ -10211,20 +10361,21 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteColumn" @@ -10293,20 +10444,21 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRelationshipColumn" @@ -10403,21 +10555,22 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listRows" @@ -10508,21 +10661,22 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createRow" @@ -10702,11 +10856,10 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10717,6 +10870,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRows" @@ -10839,11 +10993,10 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/update-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10854,6 +11007,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRows" @@ -10896,7 +11050,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -10944,11 +11098,10 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -10959,6 +11112,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRows" @@ -11043,21 +11197,22 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getRow" @@ -11147,21 +11302,22 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", "scope": "documents.write", "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.upsertRow" @@ -11186,8 +11342,7 @@ "required": [ "databaseId", "collectionId", - "documentId", - "data" + "documentId" ], "responses": [ { @@ -11251,8 +11406,8 @@ "data": { "type": "object", "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", - "default": {}, - "x-example": "{}" + "default": [], + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11271,10 +11426,7 @@ "x-example": "", "x-nullable": true } - }, - "required": [ - "data" - ] + } } } ] @@ -11304,21 +11456,22 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.updateRow" @@ -11371,7 +11524,7 @@ "type": "object", "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -11415,21 +11568,22 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteRow" @@ -11517,11 +11671,10 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11533,6 +11686,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.decrementRowColumn" @@ -11640,11 +11794,10 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -11656,6 +11809,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.incrementRowColumn" @@ -11761,20 +11915,21 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.listIndexes" @@ -11855,20 +12010,21 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.createIndex" @@ -11995,20 +12151,21 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.getIndex" @@ -12070,20 +12227,21 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "deprecated": { "since": "1.8.0", "replaceWith": "tablesDB.deleteIndex" @@ -12150,16 +12308,16 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's functions. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12233,16 +12391,16 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -12547,16 +12705,16 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all runtimes that are currently active on your instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -12598,11 +12756,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed function specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12650,16 +12807,16 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -12711,16 +12868,16 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13021,16 +13178,16 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13084,16 +13241,16 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13163,16 +13320,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the function's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13254,16 +13411,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 460, + "weight": 461, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -13348,16 +13505,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13435,16 +13592,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13557,16 +13714,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13655,16 +13812,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13719,16 +13876,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a code deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13788,16 +13945,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 467, + "weight": 468, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -13875,16 +14032,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -13944,16 +14101,16 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "functions\/list-executions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the current user function execution logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -14029,16 +14186,16 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "functions\/create-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterTrigger 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "client", "server" ], @@ -14150,16 +14307,16 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 471, + "weight": 472, "cookies": false, "type": "", "demo": "functions\/get-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a function execution log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.read", "platforms": [ + "console", "client", "server" ], @@ -14217,16 +14374,16 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a function execution by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "execution.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14286,16 +14443,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 478, + "weight": 479, "cookies": false, "type": "", "demo": "functions\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific function.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14347,16 +14504,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "functions\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14439,16 +14596,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "functions\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -14508,16 +14665,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "functions\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14604,16 +14761,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "functions.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -14675,21 +14832,22 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 241, + "weight": 242, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14751,21 +14909,22 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 240, + "weight": 241, "cookies": false, "type": "graphql", "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": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", "auth": { "Project": [], "Key": [] @@ -14829,16 +14988,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", "auth": { "Project": [], "Key": [] @@ -14880,16 +15040,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", "auth": { "Project": [], "Key": [] @@ -14931,16 +15092,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", "auth": { "Project": [], "Key": [] @@ -14982,16 +15144,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", "auth": { "Project": [], "Key": [] @@ -15042,16 +15205,17 @@ "cookies": false, "type": "", "demo": "health\/get-db.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", "auth": { "Project": [], "Key": [] @@ -15093,16 +15257,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", "auth": { "Project": [], "Key": [] @@ -15144,16 +15309,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", "auth": { "Project": [], "Key": [] @@ -15206,16 +15372,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", "auth": { "Project": [], "Key": [] @@ -15268,16 +15435,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", "auth": { "Project": [], "Key": [] @@ -15339,16 +15507,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", "auth": { "Project": [], "Key": [] @@ -15401,16 +15570,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", "auth": { "Project": [], "Key": [] @@ -15487,16 +15657,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", "auth": { "Project": [], "Key": [] @@ -15549,16 +15720,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", "auth": { "Project": [], "Key": [] @@ -15611,16 +15783,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", "auth": { "Project": [], "Key": [] @@ -15673,16 +15846,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", "auth": { "Project": [], "Key": [] @@ -15735,16 +15909,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", "auth": { "Project": [], "Key": [] @@ -15797,16 +15972,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "auth": { "Project": [], "Key": [] @@ -15859,16 +16035,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", "auth": { "Project": [], "Key": [] @@ -15921,16 +16098,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", "auth": { "Project": [], "Key": [] @@ -15983,16 +16161,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", "auth": { "Project": [], "Key": [] @@ -16034,16 +16213,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", "auth": { "Project": [], "Key": [] @@ -16085,16 +16265,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", "auth": { "Project": [], "Key": [] @@ -16136,17 +16317,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", "auth": { "Project": [], "Session": [] @@ -16190,17 +16372,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", "auth": { "Project": [], "Session": [] @@ -16244,17 +16427,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", "auth": { "Project": [], "Session": [] @@ -16298,17 +16482,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", "auth": { "Project": [], "Session": [] @@ -16352,17 +16537,18 @@ "cookies": false, "type": "", "demo": "locale\/list-countries-eu.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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", "auth": { "Project": [], "Session": [] @@ -16406,17 +16592,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", "auth": { "Project": [], "Session": [] @@ -16460,17 +16647,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", "auth": { "Project": [], "Session": [] @@ -16514,17 +16702,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", "auth": { "Project": [], "Session": [] @@ -16564,11 +16753,10 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 298, + "weight": 299, "cookies": false, "type": "", "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}", @@ -16579,6 +16767,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", "auth": { "Project": [], "Key": [] @@ -16650,11 +16839,10 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "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}", @@ -16665,6 +16853,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", "auth": { "Project": [], "Key": [] @@ -16811,11 +17000,10 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "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}", @@ -16826,6 +17014,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", "auth": { "Project": [], "Key": [] @@ -16979,11 +17168,10 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "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}", @@ -16994,6 +17182,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", "auth": { "Project": [], "Key": [] @@ -17178,11 +17367,10 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "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}", @@ -17193,6 +17381,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", "auth": { "Project": [], "Key": [] @@ -17392,11 +17581,10 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "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}", @@ -17407,6 +17595,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMS" @@ -17585,11 +17774,10 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "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}", @@ -17600,6 +17788,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMS" @@ -17777,11 +17966,10 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "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}", @@ -17792,6 +17980,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", "auth": { "Project": [], "Key": [] @@ -17834,11 +18023,10 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 305, + "weight": 306, "cookies": false, "type": "", "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}", @@ -17849,6 +18037,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", "auth": { "Project": [], "Key": [] @@ -17896,11 +18085,10 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "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}", @@ -17911,6 +18099,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", "auth": { "Project": [], "Key": [] @@ -17979,11 +18168,10 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "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}", @@ -17994,6 +18182,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", "auth": { "Project": [], "Key": [] @@ -18062,11 +18251,10 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "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}", @@ -18077,6 +18265,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", "auth": { "Project": [], "Key": [] @@ -18148,11 +18337,10 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "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}", @@ -18163,6 +18351,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createAPNSProvider" @@ -18340,11 +18529,10 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 282, + "weight": 283, "cookies": false, "type": "", "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}", @@ -18355,6 +18543,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateAPNSProvider" @@ -18529,11 +18718,10 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "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}", @@ -18544,6 +18732,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createFCMProvider" @@ -18690,11 +18879,10 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "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}", @@ -18705,6 +18893,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateFCMProvider" @@ -18847,11 +19036,10 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "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}", @@ -18862,6 +19050,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -18978,11 +19167,10 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "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}", @@ -18993,6 +19181,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", "auth": { "Project": [], "Key": [] @@ -19107,11 +19296,10 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.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}", @@ -19122,6 +19310,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19213,11 +19402,10 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.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}", @@ -19228,6 +19416,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", "auth": { "Project": [], "Key": [] @@ -19317,11 +19506,10 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19332,6 +19520,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19435,11 +19624,10 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 274, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -19450,6 +19638,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-resend-provider.md", "auth": { "Project": [], "Key": [] @@ -19551,11 +19740,10 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "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}", @@ -19566,6 +19754,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19669,11 +19858,10 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "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}", @@ -19684,6 +19872,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", "auth": { "Project": [], "Key": [] @@ -19785,11 +19974,10 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "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}", @@ -19800,6 +19988,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.createSMTPProvider" @@ -20035,11 +20224,10 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 275, + "weight": 276, "cookies": false, "type": "", "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}", @@ -20050,6 +20238,7 @@ ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", "replaceWith": "messaging.updateSMTPProvider" @@ -20280,11 +20469,10 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "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}", @@ -20295,6 +20483,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20386,11 +20575,10 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "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}", @@ -20401,6 +20589,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", "auth": { "Project": [], "Key": [] @@ -20490,11 +20679,10 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "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}", @@ -20505,6 +20693,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20596,11 +20785,10 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "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}", @@ -20611,6 +20799,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", "auth": { "Project": [], "Key": [] @@ -20700,11 +20889,10 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "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}", @@ -20715,6 +20903,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20806,11 +20995,10 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "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}", @@ -20821,6 +21009,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", "auth": { "Project": [], "Key": [] @@ -20910,11 +21099,10 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "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}", @@ -20925,6 +21113,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -21016,11 +21205,10 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "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}", @@ -21031,6 +21219,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", "auth": { "Project": [], "Key": [] @@ -21118,11 +21307,10 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "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}", @@ -21133,6 +21321,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", "auth": { "Project": [], "Key": [] @@ -21175,11 +21364,10 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "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}", @@ -21190,6 +21378,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", "auth": { "Project": [], "Key": [] @@ -21237,11 +21426,10 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "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}", @@ -21252,6 +21440,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", "auth": { "Project": [], "Key": [] @@ -21320,11 +21509,10 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 292, + "weight": 293, "cookies": false, "type": "", "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}", @@ -21335,6 +21523,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", "auth": { "Project": [], "Key": [] @@ -21403,11 +21592,10 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "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}", @@ -21418,6 +21606,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", "auth": { "Project": [], "Key": [] @@ -21487,11 +21676,10 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "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}", @@ -21502,6 +21690,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", "auth": { "Project": [], "Key": [] @@ -21577,11 +21766,10 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "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}", @@ -21592,6 +21780,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", "auth": { "Project": [], "Key": [] @@ -21639,11 +21828,10 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "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}", @@ -21654,6 +21842,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", "auth": { "Project": [], "Key": [] @@ -21722,11 +21911,10 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "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}", @@ -21737,6 +21925,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", "auth": { "Project": [], "Key": [] @@ -21784,11 +21973,10 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "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}", @@ -21799,6 +21987,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", "auth": { "Project": [], "Key": [] @@ -21867,11 +22056,10 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 291, + "weight": 292, "cookies": false, "type": "", "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}", @@ -21882,6 +22070,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", "auth": { "Project": [], "Key": [] @@ -21959,11 +22148,10 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "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}", @@ -21975,6 +22163,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22049,11 +22238,10 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "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}", @@ -22064,6 +22252,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", "auth": { "Project": [], "Key": [] @@ -22114,11 +22303,10 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "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}", @@ -22130,6 +22318,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", "auth": { "Project": [], "JWT": [] @@ -22187,16 +22376,16 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the project's sites. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22270,16 +22459,16 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22542,16 +22731,16 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all frameworks that are currently available on the server instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "public", "platforms": [ + "console", "server" ], "packaging": false, @@ -22593,11 +22782,10 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList allowed site specifications for this instance.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22645,16 +22833,16 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -22706,16 +22894,16 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -22973,16 +23161,16 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23036,16 +23224,16 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23115,16 +23303,16 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all the site's code deployments. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23206,16 +23394,16 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 489, + "weight": 490, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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 site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": true, @@ -23308,16 +23496,16 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 497, + "weight": 498, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23389,16 +23577,16 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23511,16 +23699,16 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23610,16 +23798,16 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23674,16 +23862,16 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site deployment by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23743,16 +23931,16 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 496, + "weight": 497, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23830,16 +24018,16 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 498, + "weight": 499, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCancel 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.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -23899,16 +24087,16 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 500, + "weight": 501, "cookies": false, "type": "", "demo": "sites\/list-logs.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all site logs. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -23981,16 +24169,16 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 499, + "weight": 500, "cookies": false, "type": "", "demo": "sites\/get-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a site request log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24047,16 +24235,16 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 501, + "weight": 502, "cookies": false, "type": "", "demo": "sites\/delete-log.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a site log by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "log.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24116,16 +24304,16 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 504, + "weight": 505, "cookies": false, "type": "", "demo": "sites\/list-variables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all variables of a specific site.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24177,16 +24365,16 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 502, + "weight": 503, "cookies": false, "type": "", "demo": "sites\/create-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24269,16 +24457,16 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 503, + "weight": 504, "cookies": false, "type": "", "demo": "sites\/get-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.read", "platforms": [ + "console", "server" ], "packaging": false, @@ -24338,16 +24526,16 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "sites\/update-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24434,16 +24622,16 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a variable by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "sites.write", "platforms": [ + "console", "server" ], "packaging": false, @@ -24507,16 +24695,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", "auth": { "Project": [], "Key": [] @@ -24590,16 +24779,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", "auth": { "Project": [], "Key": [] @@ -24736,16 +24926,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", "auth": { "Project": [], "Key": [] @@ -24797,16 +24988,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", "auth": { "Project": [], "Key": [] @@ -24939,16 +25131,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", "auth": { "Project": [], "Key": [] @@ -25000,17 +25193,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", "auth": { "Project": [], "Session": [] @@ -25094,17 +25288,18 @@ "cookies": false, "type": "upload", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", "auth": { "Project": [], "Session": [] @@ -25186,17 +25381,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", "auth": { "Project": [], "Session": [] @@ -25258,17 +25454,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", "auth": { "Project": [], "Session": [] @@ -25351,17 +25548,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", "auth": { "Project": [], "Session": [] @@ -25423,17 +25621,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", "auth": { "Project": [], "Session": [] @@ -25504,17 +25703,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", "auth": { "Project": [], "Session": [] @@ -25713,17 +25913,18 @@ "cookies": false, "type": "location", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", "auth": { "Project": [], "Session": [] @@ -25790,20 +25991,21 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "auth": { "Project": [], "Key": [] @@ -25873,20 +26075,21 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "auth": { "Project": [], "Key": [] @@ -25957,11 +26160,10 @@ "x-appwrite": { "method": "listTransactions", "group": "transactions", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "tablesdb\/list-transactions.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -25970,11 +26172,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-transactions.md", "auth": { "Project": [], "Key": [] @@ -26028,11 +26232,10 @@ "x-appwrite": { "method": "createTransaction", "group": "transactions", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "tablesdb\/create-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26041,11 +26244,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-transaction.md", "auth": { "Project": [], "Key": [] @@ -26102,11 +26307,10 @@ "x-appwrite": { "method": "getTransaction", "group": "transactions", - "weight": 442, + "weight": 443, "cookies": false, "type": "", "demo": "tablesdb\/get-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26115,11 +26319,13 @@ "rows.read" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-transaction.md", "auth": { "Project": [], "Key": [] @@ -26169,11 +26375,10 @@ "x-appwrite": { "method": "updateTransaction", "group": "transactions", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "tablesdb\/update-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26182,11 +26387,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-transaction.md", "auth": { "Project": [], "Key": [] @@ -26252,11 +26459,10 @@ "x-appwrite": { "method": "deleteTransaction", "group": "transactions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "tablesdb\/delete-transaction.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26265,11 +26471,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-transaction.md", "auth": { "Project": [], "Key": [] @@ -26321,11 +26529,10 @@ "x-appwrite": { "method": "createOperations", "group": "transactions", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "tablesdb\/create-operations.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26334,11 +26541,13 @@ "rows.write" ], "platforms": [ + "console", "server", "client" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-operations.md", "auth": { "Project": [], "Key": [] @@ -26406,20 +26615,21 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.read", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "auth": { "Project": [], "Key": [] @@ -26467,20 +26677,21 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "auth": { "Project": [], "Key": [] @@ -26547,20 +26758,21 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", "scope": "databases.write", "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "auth": { "Project": [], "Key": [] @@ -26608,11 +26820,10 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 393, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26621,10 +26832,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-tables.md", "auth": { "Project": [], "Key": [] @@ -26702,11 +26915,10 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 389, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26715,10 +26927,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-table.md", "auth": { "Project": [], "Key": [] @@ -26831,11 +27045,10 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26844,10 +27057,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-table.md", "auth": { "Project": [], "Key": [] @@ -26903,11 +27118,10 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 391, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -26916,10 +27130,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-table.md", "auth": { "Project": [], "Key": [] @@ -27010,11 +27226,10 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 392, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27023,10 +27238,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-table.md", "auth": { "Project": [], "Key": [] @@ -27082,11 +27299,10 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 398, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27095,10 +27311,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-columns.md", "auth": { "Project": [], "Key": [] @@ -27177,11 +27395,10 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 399, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27190,10 +27407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27289,11 +27508,10 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 400, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27302,10 +27520,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-boolean-column.md", "auth": { "Project": [], "Key": [] @@ -27403,11 +27623,10 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 401, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27416,10 +27635,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27515,11 +27736,10 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 402, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27528,10 +27748,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-datetime-column.md", "auth": { "Project": [], "Key": [] @@ -27629,11 +27851,10 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 403, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27642,10 +27863,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-email-column.md", "auth": { "Project": [], "Key": [] @@ -27741,11 +27964,10 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 404, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27754,10 +27976,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-email-column.md", "auth": { "Project": [], "Key": [] @@ -27855,11 +28079,10 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 405, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27868,10 +28091,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-enum-column.md", "auth": { "Project": [], "Key": [] @@ -27977,11 +28202,10 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 406, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -27990,10 +28214,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-enum-column.md", "auth": { "Project": [], "Key": [] @@ -28101,11 +28327,10 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 407, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28114,10 +28339,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-float-column.md", "auth": { "Project": [], "Key": [] @@ -28227,11 +28454,10 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 408, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28240,10 +28466,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-float-column.md", "auth": { "Project": [], "Key": [] @@ -28355,11 +28583,10 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 409, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28368,10 +28595,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28481,11 +28710,10 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 410, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28494,10 +28722,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-integer-column.md", "auth": { "Project": [], "Key": [] @@ -28609,11 +28839,10 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 411, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28622,10 +28851,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28721,11 +28952,10 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 412, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28734,10 +28964,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-ip-column.md", "auth": { "Project": [], "Key": [] @@ -28835,11 +29067,10 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 413, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28848,10 +29079,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-line-column.md", "auth": { "Project": [], "Key": [] @@ -28941,11 +29174,10 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 414, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -28954,10 +29186,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-line-column.md", "auth": { "Project": [], "Key": [] @@ -29054,11 +29288,10 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 415, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29067,10 +29300,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-point-column.md", "auth": { "Project": [], "Key": [] @@ -29160,11 +29395,10 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 416, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29173,10 +29407,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-point-column.md", "auth": { "Project": [], "Key": [] @@ -29273,11 +29509,10 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 417, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29286,10 +29521,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29379,11 +29616,10 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 418, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29392,10 +29628,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-polygon-column.md", "auth": { "Project": [], "Key": [] @@ -29492,11 +29730,10 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 419, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29505,10 +29742,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -29632,11 +29871,10 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 421, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29645,10 +29883,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-string-column.md", "auth": { "Project": [], "Key": [] @@ -29757,11 +29997,10 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 422, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29770,10 +30009,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-string-column.md", "auth": { "Project": [], "Key": [] @@ -29878,11 +30119,10 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 423, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -29891,10 +30131,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-url-column.md", "auth": { "Project": [], "Key": [] @@ -29990,11 +30232,10 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 424, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30003,10 +30244,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-url-column.md", "auth": { "Project": [], "Key": [] @@ -30133,11 +30376,10 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 396, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30146,10 +30388,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-column.md", "auth": { "Project": [], "Key": [] @@ -30207,11 +30451,10 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 397, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30220,10 +30463,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-column.md", "auth": { "Project": [], "Key": [] @@ -30288,11 +30533,10 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 420, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30301,10 +30545,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-relationship-column.md", "auth": { "Project": [], "Key": [] @@ -30397,11 +30643,10 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 428, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30410,10 +30655,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-indexes.md", "auth": { "Project": [], "Key": [] @@ -30490,11 +30737,10 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 425, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30503,10 +30749,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-index.md", "auth": { "Project": [], "Key": [] @@ -30629,11 +30877,10 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 426, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30642,10 +30889,12 @@ "collections.read" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-index.md", "auth": { "Project": [], "Key": [] @@ -30703,11 +30952,10 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 427, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30716,10 +30964,12 @@ "collections.write" ], "platforms": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-index.md", "auth": { "Project": [], "Key": [] @@ -30782,11 +31032,10 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -30795,11 +31044,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-rows.md", "auth": { "Project": [], "Session": [] @@ -30886,11 +31137,10 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 429, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -30899,11 +31149,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create-row.md", "methods": [ { "name": "createRow", @@ -31071,11 +31323,10 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 434, + "weight": 435, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31089,6 +31340,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-rows.md", "methods": [ { "name": "upsertRows", @@ -31203,11 +31455,10 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 432, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31221,6 +31472,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-rows.md", "auth": { "Project": [], "Key": [] @@ -31259,7 +31511,7 @@ "type": "object", "description": "Row data as JSON object. Include only column and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "queries": { "type": "array", @@ -31307,11 +31559,10 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31325,6 +31576,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-rows.md", "auth": { "Project": [], "Key": [] @@ -31405,11 +31657,10 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 430, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -31418,11 +31669,13 @@ "documents.read" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-row.md", "auth": { "Project": [], "Session": [] @@ -31508,11 +31761,10 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 433, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31521,11 +31773,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/upsert-row.md", "methods": [ { "name": "upsertRow", @@ -31607,7 +31861,7 @@ "type": "object", "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31656,11 +31910,10 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 431, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31669,11 +31922,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update-row.md", "auth": { "Project": [], "Session": [] @@ -31722,7 +31977,7 @@ "type": "object", "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -31766,11 +32021,10 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31779,11 +32033,13 @@ "documents.write" ], "platforms": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete-row.md", "auth": { "Project": [], "Session": [] @@ -31867,11 +32123,10 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -31886,6 +32141,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/decrement-row-column.md", "auth": { "Project": [], "Session": [] @@ -31989,11 +32245,10 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "rate-limit": 120, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -32008,6 +32263,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/increment-row-column.md", "auth": { "Project": [], "Session": [] @@ -32113,17 +32369,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", "auth": { "Project": [], "Session": [] @@ -32199,17 +32456,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", "auth": { "Project": [], "Session": [] @@ -32291,17 +32549,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", "auth": { "Project": [], "Session": [] @@ -32355,17 +32614,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", "auth": { "Project": [], "Session": [] @@ -32432,17 +32692,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", "auth": { "Project": [], "Session": [] @@ -32496,17 +32757,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", "auth": { "Project": [], "Session": [] @@ -32590,17 +32852,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32712,17 +32975,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", "auth": { "Project": [], "Session": [] @@ -32784,17 +33048,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32879,17 +33144,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", "auth": { "Project": [], "Session": [] @@ -32953,17 +33219,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", "auth": { "Project": [], "Session": [] @@ -33049,17 +33316,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33112,17 +33380,18 @@ "cookies": false, "type": "", "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": [ + "console", "client", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", "auth": { "Project": [], "Session": [] @@ -33189,11 +33458,10 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "", "demo": "tokens\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterList all the tokens created for a specific file or bucket. You can use the query params to filter your results.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33280,11 +33548,10 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33366,11 +33633,10 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "tokens\/get.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a token by its unique ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -33428,11 +33694,10 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "tokens\/update.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterUpdate a token by its unique ID. Use this endpoint to update a token's expiry date.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33501,11 +33766,10 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "tokens\/delete.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterDelete a token by its unique ID.", "rate-limit": 60, "rate-time": 60, "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", @@ -33567,16 +33831,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", "auth": { "Project": [], "Key": [] @@ -33650,16 +33915,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", "auth": { "Project": [], "Key": [] @@ -33749,16 +34015,17 @@ "cookies": false, "type": "", "demo": "users\/create-argon-2-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", "auth": { "Project": [], "Key": [] @@ -33842,16 +34109,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", "auth": { "Project": [], "Key": [] @@ -33933,16 +34201,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", "auth": { "Project": [], "Key": [] @@ -34013,16 +34282,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", "auth": { "Project": [], "Key": [] @@ -34076,16 +34346,17 @@ "cookies": false, "type": "", "demo": "users\/create-md-5-user.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", "auth": { "Project": [], "Key": [] @@ -34169,16 +34440,17 @@ "cookies": false, "type": "", "demo": "users\/create-ph-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", "auth": { "Project": [], "Key": [] @@ -34262,16 +34534,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", "auth": { "Project": [], "Key": [] @@ -34390,16 +34663,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", "auth": { "Project": [], "Key": [] @@ -34504,16 +34778,17 @@ "cookies": false, "type": "", "demo": "users\/create-sha-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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", "auth": { "Project": [], "Key": [] @@ -34616,16 +34891,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", "auth": { "Project": [], "Key": [] @@ -34672,16 +34948,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", "auth": { "Project": [], "Key": [] @@ -34735,16 +35012,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", "auth": { "Project": [], "Key": [] @@ -34816,16 +35094,17 @@ "cookies": false, "type": "", "demo": "users\/create-jwt.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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", "auth": { "Project": [], "Key": [] @@ -34900,16 +35179,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", "auth": { "Project": [], "Key": [] @@ -34982,16 +35262,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", "auth": { "Project": [], "Key": [] @@ -35064,16 +35345,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", "auth": { "Project": [], "Key": [] @@ -35157,16 +35439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFA" @@ -35295,16 +35578,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.deleteMFAAuthenticator" @@ -35429,16 +35713,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.listMFAFactors" @@ -35548,16 +35833,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.getMFARecoveryCodes" @@ -35667,16 +35953,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.updateMFARecoveryCodes" @@ -35786,16 +36073,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": false, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", "replaceWith": "users.createMFARecoveryCodes" @@ -35907,16 +36195,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", "auth": { "Project": [], "Key": [] @@ -35988,16 +36277,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", "auth": { "Project": [], "Key": [] @@ -36069,16 +36359,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", "auth": { "Project": [], "Key": [] @@ -36148,16 +36439,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36209,16 +36501,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", "auth": { "Project": [], "Key": [] @@ -36288,16 +36581,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36358,16 +36652,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", "auth": { "Project": [], "Key": [] @@ -36414,16 +36709,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", "auth": { "Project": [], "Key": [] @@ -36472,16 +36768,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", "auth": { "Project": [], "Key": [] @@ -36543,16 +36840,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", "auth": { "Project": [], "Key": [] @@ -36622,7 +36920,6 @@ "cookies": false, "type": "", "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}", @@ -36633,6 +36930,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", "auth": { "Project": [], "Key": [] @@ -36705,7 +37003,6 @@ "cookies": false, "type": "", "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}", @@ -36716,6 +37013,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", "auth": { "Project": [], "Key": [] @@ -36818,7 +37116,6 @@ "cookies": false, "type": "", "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}", @@ -36829,6 +37126,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", "auth": { "Project": [], "Key": [] @@ -36888,7 +37186,6 @@ "cookies": false, "type": "", "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}", @@ -36899,6 +37196,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", "auth": { "Project": [], "Key": [] @@ -36980,7 +37278,6 @@ "cookies": false, "type": "", "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}", @@ -36991,6 +37288,7 @@ ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", "auth": { "Project": [], "Key": [] @@ -37052,16 +37350,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", "auth": { "Project": [], "Key": [] @@ -37136,16 +37435,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", "auth": { "Project": [], "Key": [] @@ -37217,16 +37517,17 @@ "cookies": false, "type": "", "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": [ + "console", "server" ], "packaging": false, "public": true, + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", "auth": { "Project": [], "Key": [] diff --git a/app/config/variables.php b/app/config/variables.php index 408be8d54e..653e959101 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -357,6 +357,15 @@ return [ 'required' => false, 'question' => '', 'filter' => '' + ], + [ + 'name' => '_APP_TRUSTED_HEADERS', + 'description' => 'This option allows you to set the list of trusted headers, the value is a comma‑separated list of HTTP header names, evaluated left-to-right for the first valid IP. Header names are treated case-insensitively.', + 'introduction' => '1.8.0', + 'default' => 'x-forwarded-for', + 'required' => false, + 'question' => '', + 'filter' => '' ] ], ], diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index ada4a98de9..d6b99f8855 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -37,7 +37,7 @@ use libphonenumber\PhoneNumberUtil; use MaxMind\Db\Reader; use Utopia\Abuse\Abuse; use Utopia\App; -use Utopia\Audit\Audit as EventAudit; +use Utopia\Audit\Audit; use Utopia\Auth\Hashes\Sha; use Utopia\Auth\Proofs\Code as ProofsCode; use Utopia\Auth\Proofs\Password as ProofsPassword; @@ -68,13 +68,14 @@ use Utopia\Validator; use Utopia\Validator\ArrayList; use Utopia\Validator\Assoc; use Utopia\Validator\Boolean; +use Utopia\Validator\Range; use Utopia\Validator\Text; use Utopia\Validator\WhiteList; $oauthDefaultSuccess = '/console/auth/oauth2/success'; $oauthDefaultFailure = '/console/auth/oauth2/failure'; -function sendSessionAlert(Locale $locale, Document $user, Document $project, Document $session, Mail $queueForMails) +function sendSessionAlert(Locale $locale, Document $user, Document $project, array $platform, Document $session, Mail $queueForMails) { $subject = $locale->getText("emails.sessionAlert.subject"); $preview = $locale->getText("emails.sessionAlert.preview"); @@ -157,13 +158,18 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc $session->setAttribute('clientName', $clientName); } + $projectName = $project->getAttribute('name'); + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + $emailVariables = [ 'direction' => $locale->getText('settings.direction'), 'date' => (new \DateTime())->format('F j'), 'year' => (new \DateTime())->format('YYYY'), 'time' => (new \DateTime())->format('H:i:s'), 'user' => $user->getAttribute('name'), - 'project' => $project->getAttribute('name'), + 'project' => $projectName, 'device' => $session->getAttribute('clientName'), 'ipAddress' => $session->getAttribute('ip'), 'country' => $locale->getText('countries.' . $session->getAttribute('countryCode'), $locale->getText('locale.country.unknown')), @@ -171,13 +177,14 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { $emailVariables = array_merge($emailVariables, [ - 'accentColor' => APP_EMAIL_ACCENT_COLOR, - 'logoUrl' => APP_EMAIL_LOGO_URL, - 'twitterUrl' => APP_SOCIAL_TWITTER, - 'discordUrl' => APP_SOCIAL_DISCORD, - 'githubUrl' => APP_SOCIAL_GITHUB_APPWRITE, - 'termsUrl' => APP_EMAIL_TERMS_URL, - 'privacyUrl' => APP_EMAIL_PRIVACY_URL, + 'accentColor' => $platform['accentColor'], + 'logoUrl' => $platform['logoUrl'], + 'twitter' => $platform['twitterUrl'], + 'discord' => $platform['discordUrl'], + 'github' => $platform['githubUrl'], + 'terms' => $platform['termsUrl'], + 'privacy' => $platform['privacyUrl'], + 'platform' => $platform['platformName'], ]); } @@ -189,12 +196,18 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc ->setBody($body) ->setBodyTemplate($bodyTemplate) ->setVariables($emailVariables) - ->setRecipient($email) - ->trigger(); -} -; + ->setRecipient($email); -$createSession = function (string $userId, string $secret, Request $request, Response $response, User $user, Database $dbForProject, Document $project, Locale $locale, Reader $geodb, Event $queueForEvents, Mail $queueForMails, Store $store, ProofsToken $proofForToken, ProofsCode $proofForCode) { + // since this is console project, set email sender name! + if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); +} + + +$createSession = function (string $userId, string $secret, Request $request, Response $response, User $user, Database $dbForProject, Document $project, array $platform, Locale $locale, Reader $geodb, Event $queueForEvents, Mail $queueForMails, Store $store, ProofsToken $proofForToken, ProofsCode $proofForCode) { /** @var Appwrite\Utopia\Database\Documents\User $userFromRequest */ $userFromRequest = Authorization::skip(fn () => $dbForProject->getDocument('users', $userId)); @@ -295,7 +308,7 @@ $createSession = function (string $userId, string $secret, Request $request, Res ]) !== 1; if ($isAllowedTokenType && $hasUserEmail && $isSessionAlertsEnabled && $isNotFirstSession) { - sendSessionAlert($locale, $user, $project, $session, $queueForMails); + sendSessionAlert($locale, $user, $project, $platform, $session, $queueForMails); } $queueForEvents @@ -344,7 +357,7 @@ App::post('/v1/account') group: 'account', name: 'create', description: '/docs/references/account/create.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -502,7 +515,7 @@ App::get('/v1/account') group: 'account', name: 'get', description: '/docs/references/account/get.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -585,7 +598,7 @@ App::get('/v1/account/sessions') group: 'sessions', name: 'listSessions', description: '/docs/references/account/list-sessions.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -633,7 +646,7 @@ App::delete('/v1/account/sessions') group: 'sessions', name: 'deleteSessions', description: '/docs/references/account/delete-sessions.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -705,7 +718,7 @@ App::get('/v1/account/sessions/:sessionId') group: 'sessions', name: 'getSession', description: '/docs/references/account/get-session.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -756,7 +769,7 @@ App::delete('/v1/account/sessions/:sessionId') group: 'sessions', name: 'deleteSession', description: '/docs/references/account/delete-session.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -844,7 +857,7 @@ App::patch('/v1/account/sessions/:sessionId') group: 'sessions', name: 'updateSession', description: '/docs/references/account/update-session.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -935,7 +948,7 @@ App::post('/v1/account/sessions/email') group: 'sessions', name: 'createEmailPasswordSession', description: '/docs/references/account/create-session-email-password.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -953,6 +966,7 @@ App::post('/v1/account/sessions/email') ->inject('user') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('locale') ->inject('geodb') ->inject('queueForEvents') @@ -961,7 +975,7 @@ App::post('/v1/account/sessions/email') ->inject('store') ->inject('proofForPassword') ->inject('proofForToken') - ->action(function (string $email, string $password, Request $request, Response $response, User $user, Database $dbForProject, Document $project, Locale $locale, Reader $geodb, Event $queueForEvents, Mail $queueForMails, Hooks $hooks, Store $store, ProofsPassword $proofForPassword, ProofsToken $proofForToken) { + ->action(function (string $email, string $password, Request $request, Response $response, User $user, Database $dbForProject, Document $project, array $platform, Locale $locale, Reader $geodb, Event $queueForEvents, Mail $queueForMails, Hooks $hooks, Store $store, ProofsPassword $proofForPassword, ProofsToken $proofForToken) { $email = \strtolower($email); $protocol = $request->getProtocol(); @@ -1062,7 +1076,7 @@ App::post('/v1/account/sessions/email') Query::equal('userId', [$user->getId()]), ]) !== 1 ) { - sendSessionAlert($locale, $user, $project, $session, $queueForMails); + sendSessionAlert($locale, $user, $project, $platform, $session, $queueForMails); } } @@ -1083,7 +1097,7 @@ App::post('/v1/account/sessions/anonymous') group: 'sessions', name: 'createAnonymousSession', description: '/docs/references/account/create-session-anonymous.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -1232,7 +1246,7 @@ App::post('/v1/account/sessions/token') group: 'sessions', name: 'createSession', description: '/docs/references/account/create-session.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -1250,6 +1264,7 @@ App::post('/v1/account/sessions/token') ->inject('user') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('locale') ->inject('geodb') ->inject('queueForEvents') @@ -1270,7 +1285,7 @@ App::get('/v1/account/sessions/oauth2/:provider') name: 'createOAuth2Session', description: '/docs/references/account/create-session-oauth2.md', type: MethodType::WEBAUTH, - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_MOVED_PERMANENTLY, @@ -1278,7 +1293,7 @@ App::get('/v1/account/sessions/oauth2/:provider') ) ], contentType: ContentType::HTML, - hide: [APP_PLATFORM_SERVER], + hide: [APP_SDK_PLATFORM_SERVER], )) ->label('abuse-limit', 50) ->label('abuse-key', 'ip:{ip}') @@ -1620,9 +1635,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') $failureRedirect(Exception::USER_UNAUTHORIZED, 'OAuth provider failed to return email.'); } - /** - * Is verified is not used yet, since we don't know after an account is created anymore if it was verified or not. - */ $isVerified = $oauth2->isEmailVerified($accessToken); $identity = $dbForProject->findOne('identities', [ @@ -1634,16 +1646,32 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') $user = $dbForProject->getDocument('users', $identity->getAttribute('userId')); } - // If user is not found, check if there is an identity with the same provider user ID + // If user is not found, check if there is a user with the same email if ($user === false || $user->isEmpty()) { $userWithEmail = $dbForProject->findOne('users', [ Query::equal('email', [$email]), ]); if (!$userWithEmail->isEmpty()) { + if (!$isVerified) { + $failureRedirect(Exception::GENERAL_BAD_REQUEST); + } $user->setAttributes($userWithEmail->getArrayCopy()); } } + // If user is not found, check if there is an identity with the same email + if ($user === false || $user->isEmpty()) { + $identityWithMatchingEmail = $dbForProject->findOne('identities', [ + Query::equal('providerEmail', [$email]), + ]); + if (!$identityWithMatchingEmail->isEmpty()) { + if (!$isVerified) { + $failureRedirect(Exception::GENERAL_BAD_REQUEST); + } + $user->setAttributes($dbForProject->getDocument('users', $identityWithMatchingEmail->getAttribute('userId'))->getArrayCopy()); + } + } + if ($user === false || $user->isEmpty()) { // Last option -> create the user $limit = $project->getAttribute('auths', [])['limit'] ?? 0; @@ -1655,14 +1683,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') } } - // Makes sure this email is not already used in another identity - $identityWithMatchingEmail = $dbForProject->findOne('identities', [ - Query::equal('providerEmail', [$email]), - ]); - if (!$identityWithMatchingEmail->isEmpty()) { - $failureRedirect(Exception::GENERAL_BAD_REQUEST); /** Return a generic bad request to prevent exposing existing accounts */ - } - try { $emailCanonical = new Email($email); } catch (Throwable) { @@ -1716,7 +1736,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') 'providerType' => MESSAGE_TYPE_EMAIL, 'identifier' => $email, ])); - } catch (Duplicate) { $failureRedirect(Exception::USER_ALREADY_EXISTS); } @@ -1932,7 +1951,7 @@ App::get('/v1/account/tokens/oauth2/:provider') group: 'tokens', name: 'createOAuth2Token', description: '/docs/references/account/create-token-oauth2.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_MOVED_PERMANENTLY, @@ -1953,7 +1972,16 @@ App::get('/v1/account/tokens/oauth2/:provider') ->inject('project') ->inject('platform') ->action(function (string $provider, string $success, string $failure, array $scopes, Request $request, Response $response, Document $project, array $platform) use ($oauthDefaultSuccess, $oauthDefaultFailure) { - $callback = $platform['endpoint'] . '/account/sessions/oauth2/callback/' . $provider . '/' . $project->getId(); + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https'; + $port = $request->getPort(); + $callbackBase = $protocol . '://' . $request->getHostname(); + if ($protocol === 'https' && $port !== '443') { + $callbackBase .= ':' . $port; + } elseif ($protocol === 'http' && $port !== '80') { + $callbackBase .= ':' . $port; + } + + $callback = $callbackBase . '/v1/account/sessions/oauth2/callback/' . $provider . '/' . $project->getId(); $providerEnabled = $project->getAttribute('oAuthProviders', [])[$provider . 'Enabled'] ?? false; if (!$providerEnabled) { @@ -2022,7 +2050,7 @@ App::post('/v1/account/tokens/magic-url') group: 'tokens', name: 'createMagicURLToken', description: '/docs/references/account/create-token-magic-url.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2242,11 +2270,16 @@ App::post('/v1/account/tokens/magic-url') ->setSmtpSenderName($senderName); } + $projectName = $project->getAttribute('name'); + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + $emailVariables = [ 'direction' => $locale->getText('settings.direction'), // {{user}}, {{redirect}} and {{project}} are required in default and custom templates 'user' => $user->getAttribute('name'), - 'project' => $project->getAttribute('name'), + 'project' => $projectName, 'redirect' => $url, 'agentDevice' => $agentDevice['deviceBrand'] ?? $agentDevice['deviceBrand'] ?? 'UNKNOWN', 'agentClient' => $agentClient['clientName'] ?? 'UNKNOWN', @@ -2261,8 +2294,13 @@ App::post('/v1/account/tokens/magic-url') ->setPreview($preview) ->setBody($body) ->setVariables($emailVariables) - ->setRecipient($email) - ->trigger(); + ->setRecipient($email); + + if ($project->getId() === 'console') { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); $token->setAttribute('secret', $tokenSecret); @@ -2291,7 +2329,7 @@ App::post('/v1/account/tokens/email') group: 'tokens', name: 'createEmailToken', description: '/docs/references/account/create-token-email.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2309,13 +2347,14 @@ App::post('/v1/account/tokens/email') ->inject('response') ->inject('user') ->inject('project') + ->inject('platform') ->inject('dbForProject') ->inject('locale') ->inject('queueForEvents') ->inject('queueForMails') ->inject('proofForPassword') ->inject('proofForCode') - ->action(function (string $userId, string $email, bool $phrase, Request $request, Response $response, User $user, Document $project, Database $dbForProject, Locale $locale, Event $queueForEvents, Mail $queueForMails, ProofsPassword $proofForPassword, ProofsCode $proofForCode) { + ->action(function (string $userId, string $email, bool $phrase, Request $request, Response $response, User $user, Document $project, array $platform, Database $dbForProject, Locale $locale, Event $queueForEvents, Mail $queueForMails, ProofsPassword $proofForPassword, ProofsCode $proofForCode) { if (empty(System::getEnv('_APP_SMTP_HOST'))) { throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP disabled'); } @@ -2516,12 +2555,17 @@ App::post('/v1/account/tokens/email') ->setSmtpSenderName($senderName); } + $projectName = $project->getAttribute('name'); + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + $emailVariables = [ 'heading' => $heading, 'direction' => $locale->getText('settings.direction'), // {{user}}, {{project}} and {{otp}} are required in the templates 'user' => $user->getAttribute('name'), - 'project' => $project->getAttribute('name'), + 'project' => $projectName, 'otp' => $tokenSecret, 'agentDevice' => $agentDevice['deviceBrand'] ?? $agentDevice['deviceBrand'] ?? 'UNKNOWN', 'agentClient' => $agentClient['clientName'] ?? 'UNKNOWN', @@ -2533,13 +2577,14 @@ App::post('/v1/account/tokens/email') if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { $emailVariables = array_merge($emailVariables, [ - 'accentColor' => APP_EMAIL_ACCENT_COLOR, - 'logoUrl' => APP_EMAIL_LOGO_URL, - 'twitterUrl' => APP_SOCIAL_TWITTER, - 'discordUrl' => APP_SOCIAL_DISCORD, - 'githubUrl' => APP_SOCIAL_GITHUB_APPWRITE, - 'termsUrl' => APP_EMAIL_TERMS_URL, - 'privacyUrl' => APP_EMAIL_PRIVACY_URL, + 'accentColor' => $platform['accentColor'], + 'logoUrl' => $platform['logoUrl'], + 'twitter' => $platform['twitterUrl'], + 'discord' => $platform['discordUrl'], + 'github' => $platform['githubUrl'], + 'terms' => $platform['termsUrl'], + 'privacy' => $platform['privacyUrl'], + 'platform' => $platform['platformName'], ]); } @@ -2549,8 +2594,14 @@ App::post('/v1/account/tokens/email') ->setBody($body) ->setBodyTemplate($bodyTemplate) ->setVariables($emailVariables) - ->setRecipient($email) - ->trigger(); + ->setRecipient($email); + + // since this is console project, set email sender name! + if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); $token->setAttribute('secret', $tokenSecret); @@ -2579,7 +2630,7 @@ App::put('/v1/account/sessions/magic-url') group: 'sessions', name: 'updateMagicURLSession', description: '/docs/references/account/create-session.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2601,16 +2652,17 @@ App::put('/v1/account/sessions/magic-url') ->inject('user') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('locale') ->inject('geodb') ->inject('queueForEvents') ->inject('queueForMails') ->inject('store') ->inject('proofForCode') - ->action(function ($userId, $secret, $request, $response, $user, $dbForProject, $project, $locale, $geodb, $queueForEvents, $queueForMails, $store, $proofForCode) use ($createSession) { + ->action(function ($userId, $secret, $request, $response, $user, $dbForProject, $project, $platform, $locale, $geodb, $queueForEvents, $queueForMails, $store, $proofForCode) use ($createSession) { $proofForToken = new ProofsToken(TOKEN_LENGTH_MAGIC_URL); $proofForToken->setHash(new Sha()); - $createSession($userId, $secret, $request, $response, $user, $dbForProject, $project, $locale, $geodb, $queueForEvents, $queueForMails, $store, $proofForToken, $proofForCode); + $createSession($userId, $secret, $request, $response, $user, $dbForProject, $project, $platform, $locale, $geodb, $queueForEvents, $queueForMails, $store, $proofForToken, $proofForCode); }); App::put('/v1/account/sessions/phone') @@ -2626,7 +2678,7 @@ App::put('/v1/account/sessions/phone') group: 'sessions', name: 'updatePhoneSession', description: '/docs/references/account/create-session.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2648,6 +2700,7 @@ App::put('/v1/account/sessions/phone') ->inject('user') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('locale') ->inject('geodb') ->inject('queueForEvents') @@ -2671,7 +2724,7 @@ App::post('/v1/account/tokens/phone') group: 'tokens', name: 'createPhoneToken', description: '/docs/references/account/create-token-phone.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2688,6 +2741,7 @@ App::post('/v1/account/tokens/phone') ->inject('response') ->inject('user') ->inject('project') + ->inject('platform') ->inject('dbForProject') ->inject('queueForEvents') ->inject('queueForMessaging') @@ -2697,7 +2751,7 @@ App::post('/v1/account/tokens/phone') ->inject('plan') ->inject('store') ->inject('proofForCode') - ->action(function (string $userId, string $phone, Request $request, Response $response, User $user, Document $project, Database $dbForProject, Event $queueForEvents, Messaging $queueForMessaging, Locale $locale, callable $timelimit, StatsUsage $queueForStatsUsage, array $plan, Store $store, ProofsCode $proofForCode) { + ->action(function (string $userId, string $phone, Request $request, Response $response, User $user, Document $project, array $platform, Database $dbForProject, Event $queueForEvents, Messaging $queueForMessaging, Locale $locale, callable $timelimit, StatsUsage $queueForStatsUsage, array $plan, Store $store, ProofsCode $proofForCode) { if (empty(System::getEnv('_APP_SMS_PROVIDER'))) { throw new Exception(Exception::GENERAL_PHONE_DISABLED, 'Phone provider not configured'); } @@ -2814,9 +2868,14 @@ App::post('/v1/account/tokens/phone') $message = $customTemplate['message'] ?? $message; } + $projectName = $project->getAttribute('name'); + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + $messageContent = Template::fromString($locale->getText("sms.verification.body")); $messageContent - ->setParam('{{project}}', $project->getAttribute('name')) + ->setParam('{{project}}', $projectName) ->setParam('{{secret}}', $secret); $messageContent = \strip_tags($messageContent->render()); $message = $message->setParam('{{token}}', $messageContent); @@ -2886,7 +2945,7 @@ App::post('/v1/account/jwts') group: 'tokens', name: 'createJWT', description: '/docs/references/account/create-jwt.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2895,20 +2954,22 @@ App::post('/v1/account/jwts') ], contentType: ContentType::JSON, )) - ->label('abuse-limit', 100) + ->param('duration', 900, new Range(0, 3600), 'Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.', true) + ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT * 2) + ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('abuse-key', 'url:{url},userId:{userId}') ->inject('response') ->inject('user') ->inject('store') ->inject('proofForToken') - ->action(function (Response $response, User $user, Store $store, ProofsToken $proofForToken) { + ->action(function (int $duration, Response $response, User $user, Store $store, ProofsToken $proofForToken) { $sessionId = $user->sessionVerify($store->getProperty('secret', ''), $proofForToken); if (!$sessionId) { throw new Exception(Exception::USER_SESSION_NOT_FOUND); } - $jwt = new JWT(System::getEnv('_APP_OPENSSL_KEY_V1'), 'HS256', 900, 0); + $jwt = new JWT(System::getEnv('_APP_OPENSSL_KEY_V1'), 'HS256', $duration, 0); $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -2929,7 +2990,7 @@ App::get('/v1/account/prefs') group: 'account', name: 'getPrefs', description: '/docs/references/account/get-prefs.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -2956,7 +3017,7 @@ App::get('/v1/account/logs') group: 'logs', name: 'listLogs', description: '/docs/references/account/list-logs.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -2972,7 +3033,8 @@ App::get('/v1/account/logs') ->inject('locale') ->inject('geodb') ->inject('dbForProject') - ->action(function (array $queries, bool $includeTotal, Response $response, Document $user, Locale $locale, Reader $geodb, Database $dbForProject) { + ->inject('audit') + ->action(function (array $queries, bool $includeTotal, Response $response, Document $user, Locale $locale, Reader $geodb, Database $dbForProject, Audit $audit) { try { $queries = Query::parseQueries($queries); @@ -2980,9 +3042,10 @@ App::get('/v1/account/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new EventAudit($dbForProject); - - $logs = $audit->getLogsByUser($user->getSequence(), $queries); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $logs = $audit->getLogsByUser($user->getSequence(), offset: $offset, limit: $limit); $output = []; @@ -3011,7 +3074,7 @@ App::get('/v1/account/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByUser($user->getSequence(), $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByUser($user->getSequence()) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -3028,7 +3091,7 @@ App::patch('/v1/account/name') group: 'account', name: 'updateName', description: '/docs/references/account/update-name.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3066,7 +3129,7 @@ App::patch('/v1/account/password') group: 'account', name: 'updatePassword', description: '/docs/references/account/update-password.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3158,7 +3221,7 @@ App::patch('/v1/account/email') group: 'account', name: 'updateEmail', description: '/docs/references/account/update-email.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3269,7 +3332,7 @@ App::patch('/v1/account/phone') group: 'account', name: 'updatePhone', description: '/docs/references/account/update-phone.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3357,7 +3420,7 @@ App::patch('/v1/account/prefs') group: 'account', name: 'updatePrefs', description: '/docs/references/account/update-prefs.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3395,7 +3458,7 @@ App::patch('/v1/account/status') group: 'account', name: 'updateStatus', description: '/docs/references/account/update-status.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3446,7 +3509,7 @@ App::post('/v1/account/recovery') group: 'recovery', name: 'createRecovery', description: '/docs/references/account/create-recovery.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -3464,15 +3527,16 @@ App::post('/v1/account/recovery') ->inject('user') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('locale') ->inject('queueForMails') ->inject('queueForEvents') ->inject('proofForToken') - ->action(function (string $email, string $url, Request $request, Response $response, User $user, Database $dbForProject, Document $project, Locale $locale, Mail $queueForMails, Event $queueForEvents, ProofsToken $proofForToken) { - + ->action(function (string $email, string $url, Request $request, Response $response, User $user, Database $dbForProject, Document $project, array $platform, Locale $locale, Mail $queueForMails, Event $queueForEvents, ProofsToken $proofForToken) { if (empty(System::getEnv('_APP_SMTP_HOST'))) { throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP Disabled'); } + $url = htmlentities($url); $email = \strtolower($email); @@ -3519,7 +3583,14 @@ App::post('/v1/account/recovery') $url['query'] = Template::mergeQuery(((isset($url['query'])) ? $url['query'] : ''), ['userId' => $profile->getId(), 'secret' => $secret, 'expire' => $expire]); $url = Template::unParseURL($url); - $projectName = $project->isEmpty() ? 'Console' : $project->getAttribute('name', '[APP-NAME]'); + $projectName = $project->isEmpty() + ? 'Console' + : $project->getAttribute('name', '[APP-NAME]'); + + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + $body = $locale->getText("emails.recovery.body"); $subject = $locale->getText("emails.recovery.subject"); $preview = $locale->getText("emails.recovery.preview"); @@ -3597,8 +3668,13 @@ App::post('/v1/account/recovery') ->setBody($body) ->setVariables($emailVariables) ->setSubject($subject) - ->setPreview($preview) - ->trigger(); + ->setPreview($preview); + + if ($project->getId() === 'console') { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); $recovery->setAttribute('secret', $secret); @@ -3626,7 +3702,7 @@ App::put('/v1/account/recovery') group: 'recovery', name: 'updateRecovery', description: '/docs/references/account/update-recovery.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3723,7 +3799,7 @@ App::post('/v1/account/verifications/email') group: 'verification', name: 'createEmailVerification', description: '/docs/references/account/create-email-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -3737,7 +3813,7 @@ App::post('/v1/account/verifications/email') group: 'verification', name: 'createVerification', description: '/docs/references/account/create-email-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -3758,13 +3834,14 @@ App::post('/v1/account/verifications/email') ->inject('request') ->inject('response') ->inject('project') + ->inject('platform') ->inject('user') ->inject('dbForProject') ->inject('locale') ->inject('queueForEvents') ->inject('queueForMails') ->inject('proofForToken') - ->action(function (string $url, Request $request, Response $response, Document $project, User $user, Database $dbForProject, Locale $locale, Event $queueForEvents, Mail $queueForMails, ProofsToken $proofForToken) { + ->action(function (string $url, Request $request, Response $response, Document $project, array $platform, User $user, Database $dbForProject, Locale $locale, Event $queueForEvents, Mail $queueForMails, ProofsToken $proofForToken) { if (empty(System::getEnv('_APP_SMTP_HOST'))) { throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP Disabled'); @@ -3808,7 +3885,15 @@ App::post('/v1/account/verifications/email') $url['query'] = Template::mergeQuery(((isset($url['query'])) ? $url['query'] : ''), ['userId' => $user->getId(), 'secret' => $verificationSecret, 'expire' => $expire]); $url = Template::unParseURL($url); - $projectName = $project->isEmpty() ? 'Console' : $project->getAttribute('name', '[APP-NAME]'); + $projectName = $project->isEmpty() + ? 'Console' + : $project->getAttribute('name', '[APP-NAME]'); + + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + + $body = $locale->getText("emails.verification.body"); $preview = $locale->getText("emails.verification.preview"); $subject = $locale->getText("emails.verification.subject"); @@ -3894,13 +3979,14 @@ App::post('/v1/account/verifications/email') if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { $emailVariables = array_merge($emailVariables, [ - 'accentColor' => APP_EMAIL_ACCENT_COLOR, - 'logoUrl' => APP_EMAIL_LOGO_URL, - 'twitterUrl' => APP_SOCIAL_TWITTER, - 'discordUrl' => APP_SOCIAL_DISCORD, - 'githubUrl' => APP_SOCIAL_GITHUB_APPWRITE, - 'termsUrl' => APP_EMAIL_TERMS_URL, - 'privacyUrl' => APP_EMAIL_PRIVACY_URL, + 'accentColor' => $platform['accentColor'], + 'logoUrl' => $platform['logoUrl'], + 'twitter' => $platform['twitterUrl'], + 'discord' => $platform['discordUrl'], + 'github' => $platform['githubUrl'], + 'terms' => $platform['termsUrl'], + 'privacy' => $platform['privacyUrl'], + 'platform' => $platform['platformName'], ]); } @@ -3911,8 +3997,13 @@ App::post('/v1/account/verifications/email') ->setBodyTemplate($bodyTemplate) ->setVariables($emailVariables) ->setRecipient($user->getAttribute('email')) - ->setName($user->getAttribute('name') ?? '') - ->trigger(); + ->setName($user->getAttribute('name') ?? ''); + + if ($project->getId() === 'console') { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); $verification->setAttribute('secret', $verificationSecret); @@ -3940,7 +4031,7 @@ App::put('/v1/account/verifications/email') group: 'verification', name: 'updateEmailVerification', description: '/docs/references/account/update-email-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -3954,7 +4045,7 @@ App::put('/v1/account/verifications/email') group: 'verification', name: 'updateVerification', description: '/docs/references/account/update-email-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -4029,7 +4120,7 @@ App::post('/v1/account/verifications/phone') group: 'verification', name: 'createPhoneVerification', description: '/docs/references/account/create-phone-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -4179,7 +4270,7 @@ App::put('/v1/account/verifications/phone') group: 'verification', name: 'updatePhoneVerification', description: '/docs/references/account/update-phone-verification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -4245,7 +4336,7 @@ App::post('/v1/account/targets/push') group: 'pushTargets', name: 'createPushTarget', description: '/docs/references/account/create-push-target.md', - auth: [AuthType::SESSION], + auth: [AuthType::ADMIN, AuthType::SESSION], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -4328,7 +4419,7 @@ App::put('/v1/account/targets/:targetId/push') group: 'pushTargets', name: 'updatePushTarget', description: '/docs/references/account/update-push-target.md', - auth: [AuthType::SESSION], + auth: [AuthType::ADMIN, AuthType::SESSION], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -4393,7 +4484,7 @@ App::delete('/v1/account/targets/:targetId/push') group: 'pushTargets', name: 'deletePushTarget', description: '/docs/references/account/delete-push-target.md', - auth: [AuthType::SESSION], + auth: [AuthType::ADMIN, AuthType::SESSION], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -4444,7 +4535,7 @@ App::get('/v1/account/identities') group: 'identities', name: 'listIdentities', description: '/docs/references/account/list-identities.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -4520,7 +4611,7 @@ App::delete('/v1/account/identities/:identityId') group: 'identities', name: 'deleteIdentity', description: '/docs/references/account/delete-identity.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index cd314861a4..4a97118853 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -178,7 +178,7 @@ App::get('/v1/avatars/credit-cards/:code') group: null, name: 'getCreditCard', description: '/docs/references/avatars/get-credit-card.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -206,7 +206,7 @@ App::get('/v1/avatars/browsers/:code') group: null, name: 'getBrowser', description: '/docs/references/avatars/get-browser.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -234,7 +234,7 @@ App::get('/v1/avatars/flags/:code') group: null, name: 'getFlag', description: '/docs/references/avatars/get-flag.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -262,7 +262,7 @@ App::get('/v1/avatars/image') group: null, name: 'getImage', description: '/docs/references/avatars/get-image.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -333,7 +333,7 @@ App::get('/v1/avatars/favicon') group: null, name: 'getFavicon', description: '/docs/references/avatars/get-favicon.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -507,7 +507,7 @@ App::get('/v1/avatars/qr') group: null, name: 'getQR', description: '/docs/references/avatars/get-qr.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -557,7 +557,7 @@ App::get('/v1/avatars/initials') group: null, name: 'getInitials', description: '/docs/references/avatars/get-initials.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( @@ -652,7 +652,7 @@ App::get('/v1/avatars/screenshots') group: null, name: 'getScreenshot', description: '/docs/references/avatars/get-screenshot.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], type: MethodType::LOCATION, responses: [ new SDKResponse( diff --git a/app/controllers/api/console.php b/app/controllers/api/console.php deleted file mode 100644 index 5bc8325794..0000000000 --- a/app/controllers/api/console.php +++ /dev/null @@ -1,147 +0,0 @@ -groups(['console']) - ->inject('project') - ->action(function (Document $project) { - if ($project->getId() !== 'console') { - throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN); - } - }); - - -App::get('/v1/console/variables') - ->desc('Get variables') - ->groups(['api', 'projects']) - ->label('scope', 'projects.read') - ->label('sdk', new Method( - namespace: 'console', - group: 'console', - name: 'variables', - description: '/docs/references/console/variables.md', - auth: [AuthType::ADMIN], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_CONSOLE_VARIABLES, - ) - ], - contentType: ContentType::JSON - )) - ->inject('response') - ->action(function (Response $response) { - $validator = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME')); - $isCNAMEValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')) && $validator->isKnown() && !$validator->isTest(); - - $validator = new IP(IP::V4); - $isAValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_A', '')) && ($validator->isValid(System::getEnv('_APP_DOMAIN_TARGET_A'))); - - $validator = new IP(IP::V6); - $isAAAAValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_AAAA', '')) && $validator->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA')); - - $isDomainEnabled = $isAAAAValid || $isAValid || $isCNAMEValid; - - $isVcsEnabled = !empty(System::getEnv('_APP_VCS_GITHUB_APP_NAME', '')) - && !empty(System::getEnv('_APP_VCS_GITHUB_PRIVATE_KEY', '')) - && !empty(System::getEnv('_APP_VCS_GITHUB_APP_ID', '')) - && !empty(System::getEnv('_APP_VCS_GITHUB_CLIENT_ID', '')) - && !empty(System::getEnv('_APP_VCS_GITHUB_CLIENT_SECRET', '')); - - $isAssistantEnabled = !empty(System::getEnv('_APP_ASSISTANT_OPENAI_API_KEY', '')); - - $variables = new Document([ - '_APP_DOMAIN_TARGET_CNAME' => System::getEnv('_APP_DOMAIN_TARGET_CNAME'), - '_APP_DOMAIN_TARGET_AAAA' => System::getEnv('_APP_DOMAIN_TARGET_AAAA'), - '_APP_DOMAIN_TARGET_A' => System::getEnv('_APP_DOMAIN_TARGET_A'), - // Combine CAA domain with most common flags and tag (no parameters) - '_APP_DOMAIN_TARGET_CAA' => '0 issue "' . System::getEnv('_APP_DOMAIN_TARGET_CAA') . '"', - '_APP_STORAGE_LIMIT' => +System::getEnv('_APP_STORAGE_LIMIT'), - '_APP_COMPUTE_BUILD_TIMEOUT' => +System::getEnv('_APP_COMPUTE_BUILD_TIMEOUT'), - '_APP_COMPUTE_SIZE_LIMIT' => +System::getEnv('_APP_COMPUTE_SIZE_LIMIT'), - '_APP_USAGE_STATS' => System::getEnv('_APP_USAGE_STATS'), - '_APP_VCS_ENABLED' => $isVcsEnabled, - '_APP_DOMAIN_ENABLED' => $isDomainEnabled, - '_APP_ASSISTANT_ENABLED' => $isAssistantEnabled, - '_APP_DOMAIN_SITES' => System::getEnv('_APP_DOMAIN_SITES'), - '_APP_DOMAIN_FUNCTIONS' => System::getEnv('_APP_DOMAIN_FUNCTIONS'), - '_APP_OPTIONS_FORCE_HTTPS' => System::getEnv('_APP_OPTIONS_FORCE_HTTPS'), - '_APP_DOMAINS_NAMESERVERS' => System::getEnv('_APP_DOMAINS_NAMESERVERS'), - ]); - - $response->dynamic($variables, Response::MODEL_CONSOLE_VARIABLES); - }); - -App::post('/v1/console/assistant') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_NONE, - ) - ], - contentType: ContentType::TEXT - )) - ->label('abuse-limit', 15) - ->label('abuse-key', 'userId:{userId}') - ->param('prompt', '', new Text(2000), 'Prompt. A string containing questions asked to the AI assistant.') - ->inject('response') - ->action(function (string $prompt, Response $response) { - $ch = curl_init('http://appwrite-assistant:3003/v1/models/assistant/prompt'); - $responseHeaders = []; - $query = json_encode(['prompt' => $prompt]); - $headers = ['accept: text/event-stream']; - $handleEvent = function ($ch, $data) use ($response) { - $response->chunk($data); - - return \strlen($data); - }; - - curl_setopt($ch, CURLOPT_WRITEFUNCTION, $handleEvent); - - curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); - curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); - curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); - curl_setopt($ch, CURLOPT_TIMEOUT, 9000); - curl_setopt($ch, CURLOPT_HEADERFUNCTION, function ($curl, $header) use (&$responseHeaders) { - $len = strlen($header); - $header = explode(':', $header, 2); - - if (count($header) < 2) { // ignore invalid headers - return $len; - } - - $responseHeaders[strtolower(trim($header[0]))] = trim($header[1]); - - return $len; - }); - - curl_setopt($ch, CURLOPT_POSTFIELDS, $query); - - curl_exec($ch); - - curl_close($ch); - - $response->chunk('', true); - }); diff --git a/app/controllers/api/graphql.php b/app/controllers/api/graphql.php index 6ad5087765..baf0ba1512 100644 --- a/app/controllers/api/graphql.php +++ b/app/controllers/api/graphql.php @@ -46,7 +46,7 @@ App::get('/v1/graphql') namespace: 'graphql', group: 'graphql', name: 'get', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], hide: true, description: '/docs/references/graphql/get.md', responses: [ @@ -93,7 +93,7 @@ App::post('/v1/graphql/mutation') namespace: 'graphql', group: 'graphql', name: 'mutation', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], description: '/docs/references/graphql/post.md', responses: [ new SDKResponse( @@ -144,7 +144,7 @@ App::post('/v1/graphql') namespace: 'graphql', group: 'graphql', name: 'query', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], description: '/docs/references/graphql/post.md', responses: [ new SDKResponse( diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 765688e1ee..97ddf8391c 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -50,7 +50,7 @@ App::get('/v1/health') group: 'health', name: 'get', description: '/docs/references/health/get.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -89,7 +89,7 @@ App::get('/v1/health/db') group: 'health', name: 'getDB', description: '/docs/references/health/get-db.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -150,7 +150,7 @@ App::get('/v1/health/cache') group: 'health', name: 'getCache', description: '/docs/references/health/get-cache.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -210,7 +210,7 @@ App::get('/v1/health/pubsub') group: 'health', name: 'getPubSub', description: '/docs/references/health/get-pubsub.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -270,7 +270,7 @@ App::get('/v1/health/time') group: 'health', name: 'getTime', description: '/docs/references/health/get-time.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -334,7 +334,7 @@ App::get('/v1/health/queue/webhooks') group: 'queue', name: 'getQueueWebhooks', description: '/docs/references/health/get-queue-webhooks.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -367,7 +367,7 @@ App::get('/v1/health/queue/logs') group: 'queue', name: 'getQueueLogs', description: '/docs/references/health/get-queue-logs.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -400,7 +400,7 @@ App::get('/v1/health/certificate') group: 'health', name: 'getCertificate', description: '/docs/references/health/get-certificate.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -457,7 +457,7 @@ App::get('/v1/health/queue/certificates') group: 'queue', name: 'getQueueCertificates', description: '/docs/references/health/get-queue-certificates.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -490,7 +490,7 @@ App::get('/v1/health/queue/builds') group: 'queue', name: 'getQueueBuilds', description: '/docs/references/health/get-queue-builds.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -523,7 +523,7 @@ App::get('/v1/health/queue/databases') group: 'queue', name: 'getQueueDatabases', description: '/docs/references/health/get-queue-databases.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -556,7 +556,7 @@ App::get('/v1/health/queue/deletes') group: 'queue', name: 'getQueueDeletes', description: '/docs/references/health/get-queue-deletes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -589,7 +589,7 @@ App::get('/v1/health/queue/mails') group: 'queue', name: 'getQueueMails', description: '/docs/references/health/get-queue-mails.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -622,7 +622,7 @@ App::get('/v1/health/queue/messaging') group: 'queue', name: 'getQueueMessaging', description: '/docs/references/health/get-queue-messaging.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -655,7 +655,7 @@ App::get('/v1/health/queue/migrations') group: 'queue', name: 'getQueueMigrations', description: '/docs/references/health/get-queue-migrations.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -688,7 +688,7 @@ App::get('/v1/health/queue/functions') group: 'queue', name: 'getQueueFunctions', description: '/docs/references/health/get-queue-functions.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -721,7 +721,7 @@ App::get('/v1/health/queue/stats-resources') group: 'queue', name: 'getQueueStatsResources', description: '/docs/references/health/get-queue-stats-resources.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -754,7 +754,7 @@ App::get('/v1/health/queue/stats-usage') group: 'queue', name: 'getQueueUsage', description: '/docs/references/health/get-queue-stats-usage.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -787,7 +787,7 @@ App::get('/v1/health/storage/local') group: 'storage', name: 'getStorageLocal', description: '/docs/references/health/get-storage-local.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -837,7 +837,7 @@ App::get('/v1/health/storage') group: 'storage', name: 'getStorage', description: '/docs/references/health/get-storage.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -889,7 +889,7 @@ App::get('/v1/health/anti-virus') group: 'health', name: 'getAntivirus', description: '/docs/references/health/get-storage-anti-virus.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -935,7 +935,7 @@ App::get('/v1/health/queue/failed/:name') group: 'queue', name: 'getFailedJobs', description: '/docs/references/health/get-failed-queue-jobs.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -945,18 +945,18 @@ App::get('/v1/health/queue/failed/:name') contentType: ContentType::JSON )) ->param('name', '', new WhiteList([ - Event::DATABASE_QUEUE_NAME, - Event::DELETE_QUEUE_NAME, - Event::AUDITS_QUEUE_NAME, - Event::MAILS_QUEUE_NAME, - Event::FUNCTIONS_QUEUE_NAME, - Event::STATS_RESOURCES_QUEUE_NAME, - Event::STATS_USAGE_QUEUE_NAME, - Event::WEBHOOK_QUEUE_NAME, - Event::CERTIFICATES_QUEUE_NAME, - Event::BUILDS_QUEUE_NAME, - Event::MESSAGING_QUEUE_NAME, - Event::MIGRATIONS_QUEUE_NAME + System::getEnv('_APP_DATABASE_QUEUE_NAME', Event::DATABASE_QUEUE_NAME), + System::getEnv('_APP_DELETE_QUEUE_NAME', Event::DELETE_QUEUE_NAME), + System::getEnv('_APP_AUDITS_QUEUE_NAME', Event::AUDITS_QUEUE_NAME), + System::getEnv('_APP_MAILS_QUEUE_NAME', Event::MAILS_QUEUE_NAME), + System::getEnv('_APP_FUNCTIONS_QUEUE_NAME', Event::FUNCTIONS_QUEUE_NAME), + System::getEnv('_APP_STATS_RESOURCES_QUEUE_NAME', Event::STATS_RESOURCES_QUEUE_NAME), + System::getEnv('_APP_STATS_USAGE_QUEUE_NAME', Event::STATS_USAGE_QUEUE_NAME), + System::getEnv('_APP_WEBHOOK_QUEUE_NAME', Event::WEBHOOK_QUEUE_NAME), + System::getEnv('_APP_CERTIFICATES_QUEUE_NAME', Event::CERTIFICATES_QUEUE_NAME), + System::getEnv('_APP_BUILDS_QUEUE_NAME', Event::BUILDS_QUEUE_NAME), + System::getEnv('_APP_MESSAGING_QUEUE_NAME', Event::MESSAGING_QUEUE_NAME), + System::getEnv('_APP_MIGRATIONS_QUEUE_NAME', Event::MIGRATIONS_QUEUE_NAME) ]), 'The name of the queue') ->param('threshold', 5000, new Integer(true), 'Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.', true) ->inject('response') @@ -993,18 +993,18 @@ App::get('/v1/health/queue/failed/:name') /** @var Event $queue */ $queue = match ($name) { - Event::DATABASE_QUEUE_NAME => $queueForDatabase, - Event::DELETE_QUEUE_NAME => $queueForDeletes, - Event::AUDITS_QUEUE_NAME => $queueForAudits, - Event::MAILS_QUEUE_NAME => $queueForMails, - Event::FUNCTIONS_QUEUE_NAME => $queueForFunctions, - Event::STATS_RESOURCES_QUEUE_NAME => $queueForStatsResources, - Event::STATS_USAGE_QUEUE_NAME => $queueForStatsUsage, - Event::WEBHOOK_QUEUE_NAME => $queueForWebhooks, - Event::CERTIFICATES_QUEUE_NAME => $queueForCertificates, - Event::BUILDS_QUEUE_NAME => $queueForBuilds, - Event::MESSAGING_QUEUE_NAME => $queueForMessaging, - Event::MIGRATIONS_QUEUE_NAME => $queueForMigrations, + System::getEnv('_APP_DATABASE_QUEUE_NAME', Event::DATABASE_QUEUE_NAME) => $queueForDatabase, + System::getEnv('_APP_DELETE_QUEUE_NAME', Event::DELETE_QUEUE_NAME) => $queueForDeletes, + System::getEnv('_APP_AUDITS_QUEUE_NAME', Event::AUDITS_QUEUE_NAME) => $queueForAudits, + System::getEnv('_APP_MAILS_QUEUE_NAME', Event::MAILS_QUEUE_NAME) => $queueForMails, + System::getEnv('_APP_FUNCTIONS_QUEUE_NAME', Event::FUNCTIONS_QUEUE_NAME) => $queueForFunctions, + System::getEnv('_APP_STATS_RESOURCES_QUEUE_NAME', Event::STATS_RESOURCES_QUEUE_NAME) => $queueForStatsResources, + System::getEnv('_APP_STATS_USAGE_QUEUE_NAME', Event::STATS_USAGE_QUEUE_NAME) => $queueForStatsUsage, + System::getEnv('_APP_WEBHOOK_QUEUE_NAME', Event::WEBHOOK_QUEUE_NAME) => $queueForWebhooks, + System::getEnv('_APP_CERTIFICATES_QUEUE_NAME', Event::CERTIFICATES_QUEUE_NAME) => $queueForCertificates, + System::getEnv('_APP_BUILDS_QUEUE_NAME', Event::BUILDS_QUEUE_NAME) => $queueForBuilds, + System::getEnv('_APP_MESSAGING_QUEUE_NAME', Event::MESSAGING_QUEUE_NAME) => $queueForMessaging, + System::getEnv('_APP_MIGRATIONS_QUEUE_NAME', Event::MIGRATIONS_QUEUE_NAME) => $queueForMigrations, }; $failed = $queue->getSize(failed: true); diff --git a/app/controllers/api/locale.php b/app/controllers/api/locale.php index 69bf766323..edc0e986e9 100644 --- a/app/controllers/api/locale.php +++ b/app/controllers/api/locale.php @@ -20,7 +20,7 @@ App::get('/v1/locale') group: null, name: 'get', description: '/docs/references/locale/get-locale.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -79,7 +79,7 @@ App::get('/v1/locale/codes') group: null, name: 'listCodes', description: '/docs/references/locale/list-locale-codes.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -105,7 +105,7 @@ App::get('/v1/locale/countries') group: null, name: 'listCountries', description: '/docs/references/locale/list-countries.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -142,7 +142,7 @@ App::get('/v1/locale/countries/eu') group: null, name: 'listCountriesEU', description: '/docs/references/locale/list-countries-eu.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -181,7 +181,7 @@ App::get('/v1/locale/countries/phones') group: null, name: 'listCountriesPhones', description: '/docs/references/locale/list-countries-phones.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -219,7 +219,7 @@ App::get('/v1/locale/continents') group: null, name: 'listContinents', description: '/docs/references/locale/list-continents.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -255,7 +255,7 @@ App::get('/v1/locale/currencies') group: null, name: 'listCurrencies', description: '/docs/references/locale/list-currencies.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -282,7 +282,7 @@ App::get('/v1/locale/languages') group: null, name: 'listLanguages', description: '/docs/references/locale/list-languages.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/app/controllers/api/messaging.php b/app/controllers/api/messaging.php index 771dd0e6a5..0b6a314dc5 100644 --- a/app/controllers/api/messaging.php +++ b/app/controllers/api/messaging.php @@ -1145,7 +1145,8 @@ App::get('/v1/messaging/providers/:providerId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $providerId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $providerId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $provider = $dbForProject->getDocument('providers', $providerId); if ($provider->isEmpty()) { @@ -1158,9 +1159,12 @@ App::get('/v1/messaging/providers/:providerId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'provider/' . $providerId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, offset: $offset, limit: $limit); $output = []; foreach ($logs as $i => &$log) { @@ -1207,7 +1211,7 @@ App::get('/v1/messaging/providers/:providerId/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByResource($resource, $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByResource($resource) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -2549,7 +2553,8 @@ App::get('/v1/messaging/topics/:topicId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $topicId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $topicId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $topic = $dbForProject->getDocument('topics', $topicId); if ($topic->isEmpty()) { @@ -2562,9 +2567,12 @@ App::get('/v1/messaging/topics/:topicId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'topic/' . $topicId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, offset: $offset, limit: $limit); $output = []; @@ -2612,7 +2620,7 @@ App::get('/v1/messaging/topics/:topicId/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByResource($resource, $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByResource($resource) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -2966,7 +2974,8 @@ App::get('/v1/messaging/subscribers/:subscriberId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $subscriberId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $subscriberId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $subscriber = $dbForProject->getDocument('subscribers', $subscriberId); if ($subscriber->isEmpty()) { @@ -2979,9 +2988,12 @@ App::get('/v1/messaging/subscribers/:subscriberId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'subscriber/' . $subscriberId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -3029,7 +3041,7 @@ App::get('/v1/messaging/subscribers/:subscriberId/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByResource($resource, $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByResource($resource) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -3552,7 +3564,8 @@ App::post('/v1/messaging/messages/push') throw new Exception(Exception::STORAGE_FILE_TYPE_UNSUPPORTED); } - $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https'; + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; $scheduleTime = $currentScheduledAt ?? $scheduledAt; if (!\is_null($scheduleTime)) { @@ -3572,7 +3585,7 @@ App::post('/v1/messaging/messages/push') $image = [ 'bucketId' => $bucket->getId(), 'fileId' => $file->getId(), - 'url' => "{$platform['endpoint']}/storage/buckets/{$bucket->getId()}/files/{$file->getId()}/push?project={$project->getId()}&jwt={$jwt}", + 'url' => "{$endpoint}/storage/buckets/{$bucket->getId()}/files/{$file->getId()}/push?project={$project->getId()}&jwt={$jwt}", ]; } @@ -3761,7 +3774,8 @@ App::get('/v1/messaging/messages/:messageId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $messageId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $messageId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $message = $dbForProject->getDocument('messages', $messageId); if ($message->isEmpty()) { @@ -3774,9 +3788,12 @@ App::get('/v1/messaging/messages/:messageId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'message/' . $messageId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -3824,7 +3841,7 @@ App::get('/v1/messaging/messages/:messageId/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByResource($resource, $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByResource($resource) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -4562,10 +4579,13 @@ App::patch('/v1/messaging/messages/push/:messageId') 'projectId' => $project->getId(), ]); + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; + $pushData['image'] = [ 'bucketId' => $bucket->getId(), 'fileId' => $file->getId(), - 'url' => "{$platform['endpoint']}/storage/buckets/{$bucket->getId()}/files/{$file->getId()}/push?project={$project->getId()}&jwt={$jwt}", + 'url' => "{$endpoint}/storage/buckets/{$bucket->getId()}/files/{$file->getId()}/push?project={$project->getId()}&jwt={$jwt}", ]; } diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index 41b98ab333..3989ad3298 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -69,10 +69,11 @@ App::post('/v1/migrations/appwrite') ->inject('response') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('user') ->inject('queueForEvents') ->inject('queueForMigrations') - ->action(function (array $resources, string $endpoint, string $projectId, string $apiKey, Response $response, Database $dbForProject, Document $project, Document $user, Event $queueForEvents, Migration $queueForMigrations) { + ->action(function (array $resources, string $endpoint, string $projectId, string $apiKey, Response $response, Database $dbForProject, Document $project, array $platform, Document $user, Event $queueForEvents, Migration $queueForMigrations) { $migration = $dbForProject->createDocument('migrations', new Document([ '$id' => ID::unique(), 'status' => 'pending', @@ -96,6 +97,7 @@ App::post('/v1/migrations/appwrite') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->setUser($user) ->trigger(); @@ -128,10 +130,11 @@ App::post('/v1/migrations/firebase') ->inject('response') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('user') ->inject('queueForEvents') ->inject('queueForMigrations') - ->action(function (array $resources, string $serviceAccount, Response $response, Database $dbForProject, Document $project, Document $user, Event $queueForEvents, Migration $queueForMigrations) { + ->action(function (array $resources, string $serviceAccount, Response $response, Database $dbForProject, Document $project, array $platform, Document $user, Event $queueForEvents, Migration $queueForMigrations) { $serviceAccountData = json_decode($serviceAccount, true); if (empty($serviceAccountData)) { @@ -163,6 +166,7 @@ App::post('/v1/migrations/firebase') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->setUser($user) ->trigger(); @@ -200,10 +204,11 @@ App::post('/v1/migrations/supabase') ->inject('response') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('user') ->inject('queueForEvents') ->inject('queueForMigrations') - ->action(function (array $resources, string $endpoint, string $apiKey, string $databaseHost, string $username, string $password, int $port, Response $response, Database $dbForProject, Document $project, Document $user, Event $queueForEvents, Migration $queueForMigrations) { + ->action(function (array $resources, string $endpoint, string $apiKey, string $databaseHost, string $username, string $password, int $port, Response $response, Database $dbForProject, Document $project, array $platform, Document $user, Event $queueForEvents, Migration $queueForMigrations) { $migration = $dbForProject->createDocument('migrations', new Document([ '$id' => ID::unique(), 'status' => 'pending', @@ -230,6 +235,7 @@ App::post('/v1/migrations/supabase') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->setUser($user) ->trigger(); @@ -268,10 +274,11 @@ App::post('/v1/migrations/nhost') ->inject('response') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('user') ->inject('queueForEvents') ->inject('queueForMigrations') - ->action(function (array $resources, string $subdomain, string $region, string $adminSecret, string $database, string $username, string $password, int $port, Response $response, Database $dbForProject, Document $project, Document $user, Event $queueForEvents, Migration $queueForMigrations) { + ->action(function (array $resources, string $subdomain, string $region, string $adminSecret, string $database, string $username, string $password, int $port, Response $response, Database $dbForProject, Document $project, array $platform, Document $user, Event $queueForEvents, Migration $queueForMigrations) { $migration = $dbForProject->createDocument('migrations', new Document([ '$id' => ID::unique(), 'status' => 'pending', @@ -299,6 +306,7 @@ App::post('/v1/migrations/nhost') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->setUser($user) ->trigger(); @@ -335,6 +343,7 @@ App::post('/v1/migrations/csv/imports') ->inject('dbForProject') ->inject('dbForPlatform') ->inject('project') + ->inject('platform') ->inject('deviceForFiles') ->inject('deviceForMigrations') ->inject('queueForEvents') @@ -348,6 +357,7 @@ App::post('/v1/migrations/csv/imports') Database $dbForProject, Database $dbForPlatform, Document $project, + array $platform, Device $deviceForFiles, Device $deviceForMigrations, Event $queueForEvents, @@ -441,6 +451,7 @@ App::post('/v1/migrations/csv/imports') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setProject($project) ->trigger(); $response @@ -481,6 +492,7 @@ App::post('/v1/migrations/csv/exports') ->inject('dbForProject') ->inject('dbForPlatform') ->inject('project') + ->inject('platform') ->inject('queueForEvents') ->inject('queueForMigrations') ->action(function ( @@ -498,6 +510,7 @@ App::post('/v1/migrations/csv/exports') Database $dbForProject, Database $dbForPlatform, Document $project, + array $platform, Event $queueForEvents, Migration $queueForMigrations ) { @@ -571,6 +584,7 @@ App::post('/v1/migrations/csv/exports') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->trigger(); $response @@ -903,9 +917,10 @@ App::patch('/v1/migrations/:migrationId') ->inject('response') ->inject('dbForProject') ->inject('project') + ->inject('platform') ->inject('user') ->inject('queueForMigrations') - ->action(function (string $migrationId, Response $response, Database $dbForProject, Document $project, Document $user, Migration $queueForMigrations) { + ->action(function (string $migrationId, Response $response, Database $dbForProject, Document $project, array $platform, Document $user, Migration $queueForMigrations) { $migration = $dbForProject->getDocument('migrations', $migrationId); if ($migration->isEmpty()) { @@ -924,6 +939,7 @@ App::patch('/v1/migrations/:migrationId') $queueForMigrations ->setMigration($migration) ->setProject($project) + ->setPlatform($platform) ->setUser($user) ->trigger(); diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 37f7fdbc8b..49c0003588 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -21,6 +21,7 @@ use Appwrite\Utopia\Request; use Appwrite\Utopia\Response; use PHPMailer\PHPMailer\PHPMailer; use Utopia\App; +use Utopia\Audit\Adapter\Database as AdapterDatabase; use Utopia\Audit\Audit; use Utopia\Cache\Cache; use Utopia\Config\Config; @@ -247,13 +248,15 @@ App::post('/v1/projects') } if ($create || $projectTables) { - $audit = new Audit($dbForProject); + $adapter = new AdapterDatabase($dbForProject); + $audit = new Audit($adapter); $audit->setup(); } if (!$create && $sharedTablesV1) { - $attributes = \array_map(fn ($attribute) => new Document($attribute), Audit::ATTRIBUTES); - $indexes = \array_map(fn (array $index) => new Document($index), Audit::INDEXES); + $adapter = new AdapterDatabase($dbForProject); + $attributes = $adapter->getAttributeDocuments(); + $indexes = $adapter->getIndexDocuments(); $dbForProject->createDocument(Database::METADATA, new Document([ '$id' => ID::custom('audit'), '$permissions' => [Permission::create(Role::any())], @@ -294,7 +297,7 @@ App::post('/v1/projects') // Hook allowing instant project mirroring during migration // Outside of migration, hook is not registered and has no effect - $hooks->trigger('afterProjectCreation', [ $project, $pools, $cache ]); + $hooks->trigger('afterProjectCreation', [$project, $pools, $cache]); $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -1499,6 +1502,9 @@ App::post('/v1/projects/:projectId/keys') ], 'projectInternalId' => $project->getSequence(), 'projectId' => $project->getId(), + 'resourceInternalId' => $project->getSequence(), + 'resourceId' => $project->getId(), + 'resourceType' => 'projects', 'name' => $name, 'scopes' => $scopes, 'expire' => $expire, @@ -1546,7 +1552,13 @@ App::get('/v1/projects/:projectId/keys') } $keys = $dbForPlatform->find('keys', [ - Query::equal('projectInternalId', [$project->getSequence()]), + Query::or([ + Query::equal('projectInternalId', [$project->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$project->getSequence()]), + ]) + ]), Query::limit(5000), ]); @@ -1587,7 +1599,13 @@ App::get('/v1/projects/:projectId/keys/:keyId') $key = $dbForPlatform->findOne('keys', [ Query::equal('$id', [$keyId]), - Query::equal('projectInternalId', [$project->getSequence()]), + Query::or([ + Query::equal('projectInternalId', [$project->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$project->getSequence()]), + ]) + ]) ]); if ($key->isEmpty()) { @@ -1631,7 +1649,13 @@ App::put('/v1/projects/:projectId/keys/:keyId') $key = $dbForPlatform->findOne('keys', [ Query::equal('$id', [$keyId]), - Query::equal('projectInternalId', [$project->getSequence()]), + Query::or([ + Query::equal('projectInternalId', [$project->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$project->getSequence()]), + ]) + ]) ]); if ($key->isEmpty()) { @@ -1682,7 +1706,13 @@ App::delete('/v1/projects/:projectId/keys/:keyId') $key = $dbForPlatform->findOne('keys', [ Query::equal('$id', [$keyId]), - Query::equal('projectInternalId', [$project->getSequence()]), + Query::or([ + Query::equal('projectInternalId', [$project->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$project->getSequence()]), + ]) + ]) ]); if ($key->isEmpty()) { @@ -2079,6 +2109,7 @@ App::patch('/v1/projects/:projectId/smtp') if ($enabled) { $mail = new PHPMailer(true); $mail->isSMTP(); + $mail->SMTPAuth = (!empty($username) && !empty($password)); $mail->Username = $username; $mail->Password = $password; $mail->Host = $host; @@ -2094,7 +2125,7 @@ App::patch('/v1/projects/:projectId/smtp') throw new Exception('Connection is not valid.'); } } catch (Throwable $error) { - throw new Exception(Exception::PROJECT_SMTP_CONFIG_INVALID, 'Could not connect to SMTP server: ' . $error->getMessage()); + throw new Exception(Exception::PROJECT_SMTP_CONFIG_INVALID, $error->getMessage()); } } @@ -2665,7 +2696,7 @@ App::patch('/v1/projects/:projectId/auth/session-invalidation') $auths = $project->getAttribute('auths', []); $auths['invalidateSessions'] = $enabled; $dbForPlatform->updateDocument('projects', $project->getId(), $project - ->setAttribute('auths', $auths)); + ->setAttribute('auths', $auths)); $response->dynamic($project, Response::MODEL_PROJECT); }); diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php deleted file mode 100644 index 1af157286c..0000000000 --- a/app/controllers/api/storage.php +++ /dev/null @@ -1,2052 +0,0 @@ -desc('Create bucket') - ->groups(['api', 'storage']) - ->label('scope', 'buckets.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('event', 'buckets.[bucketId].create') - ->label('audits.event', 'bucket.create') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_CREATED, - model: Response::MODEL_BUCKET, - ) - ] - )) - ->param('bucketId', '', new CustomId(), '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.') - ->param('name', '', new Text(128), 'Bucket name') - ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) - ->param('fileSecurity', false, new Boolean(true), '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).', true) - ->param('enabled', true, new Boolean(true), '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.', true) - ->param('maximumFileSize', fn (array $plan) => empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000, fn (array $plan) => new Range(1, empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000), 'Maximum file size allowed in bytes. Maximum allowed value is ' . Storage::human(System::getEnv('_APP_STORAGE_LIMIT', 0), 0) . '.', true, ['plan']) - ->param('allowedFileExtensions', [], new ArrayList(new Text(64), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Allowed file extensions. Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' extensions are allowed, each 64 characters long.', true) - ->param('compression', Compression::NONE, new WhiteList([Compression::NONE, Compression::GZIP, Compression::ZSTD], true), 'Compression algorithm choosen for compression. Can be one of ' . Compression::NONE . ', [' . Compression::GZIP . '](https://en.wikipedia.org/wiki/Gzip), or [' . Compression::ZSTD . '](https://en.wikipedia.org/wiki/Zstd), For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' compression is skipped even if it\'s enabled', true) - ->param('encryption', true, new Boolean(true), 'Is encryption enabled? For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' encryption is skipped even if it\'s enabled', true) - ->param('antivirus', true, new Boolean(true), 'Is virus scanning enabled? For file size above ' . Storage::human(APP_LIMIT_ANTIVIRUS, 0) . ' AntiVirus scanning is skipped even if it\'s enabled', true) - ->param('transformations', true, new Boolean(true), 'Are image transformations enabled?', true) - ->inject('response') - ->inject('dbForProject') - ->inject('queueForEvents') - ->action(function (string $bucketId, string $name, ?array $permissions, bool $fileSecurity, bool $enabled, int $maximumFileSize, array $allowedFileExtensions, ?string $compression, ?bool $encryption, bool $antivirus, bool $transformations, Response $response, Database $dbForProject, Event $queueForEvents) { - - $bucketId = $bucketId === 'unique()' ? ID::unique() : $bucketId; - - // Map aggregate permissions into the multiple permissions they represent. - $permissions = Permission::aggregate($permissions) ?? []; - $compression ??= Compression::NONE; - $encryption ??= true; - try { - $files = (Config::getParam('collections', [])['buckets'] ?? [])['files'] ?? []; - if (empty($files)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Files collection is not configured.'); - } - - $attributes = []; - $indexes = []; - - foreach ($files['attributes'] as $attribute) { - $attributes[] = new Document([ - '$id' => $attribute['$id'], - 'type' => $attribute['type'], - 'size' => $attribute['size'], - 'required' => $attribute['required'], - 'signed' => $attribute['signed'], - 'array' => $attribute['array'], - 'filters' => $attribute['filters'], - 'default' => $attribute['default'] ?? null, - 'format' => $attribute['format'] ?? '' - ]); - } - - foreach ($files['indexes'] as $index) { - $indexes[] = new Document([ - '$id' => $index['$id'], - 'type' => $index['type'], - 'attributes' => $index['attributes'], - 'lengths' => $index['lengths'], - 'orders' => $index['orders'], - ]); - } - - $dbForProject->createDocument('buckets', new Document([ - '$id' => $bucketId, - '$collection' => 'buckets', - '$permissions' => $permissions, - 'name' => $name, - 'maximumFileSize' => $maximumFileSize, - 'allowedFileExtensions' => $allowedFileExtensions, - 'fileSecurity' => $fileSecurity, - 'enabled' => $enabled, - 'compression' => $compression, - 'encryption' => $encryption, - 'antivirus' => $antivirus, - 'transformations' => $transformations, - 'search' => implode(' ', [$bucketId, $name]), - ])); - - $bucket = $dbForProject->getDocument('buckets', $bucketId); - - $dbForProject->createCollection('bucket_' . $bucket->getSequence(), $attributes, $indexes, permissions: $permissions, documentSecurity: $fileSecurity); - } catch (DuplicateException) { - throw new Exception(Exception::STORAGE_BUCKET_ALREADY_EXISTS); - } - - $queueForEvents - ->setParam('bucketId', $bucket->getId()) - ; - - $response - ->setStatusCode(Response::STATUS_CODE_CREATED) - ->dynamic($bucket, Response::MODEL_BUCKET); - }); - -App::get('/v1/storage/buckets') - ->desc('List buckets') - ->groups(['api', 'storage']) - ->label('scope', 'buckets.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_BUCKET_LIST, - ) - ] - )) - ->param('queries', [], new Buckets(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Buckets::ALLOWED_ATTRIBUTES), true) - ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) - ->param('total', true, new Boolean(true), 'When set to false, the total count returned will be 0 and will not be calculated.', true) - ->inject('response') - ->inject('dbForProject') - ->action(function (array $queries, string $search, bool $includeTotal, Response $response, Database $dbForProject) { - - try { - $queries = Query::parseQueries($queries); - } catch (QueryException $e) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); - } - - if (!empty($search)) { - $queries[] = Query::search('search', $search); - } - - /** - * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries - */ - $cursor = \array_filter($queries, function ($query) { - return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); - }); - $cursor = reset($cursor); - if ($cursor) { - /** @var Query $cursor */ - - $validator = new Cursor(); - if (!$validator->isValid($cursor)) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); - } - - $bucketId = $cursor->getValue(); - $cursorDocument = $dbForProject->getDocument('buckets', $bucketId); - - if ($cursorDocument->isEmpty()) { - throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Bucket '{$bucketId}' for the 'cursor' value not found."); - } - - $cursor->setValue($cursorDocument); - } - - $filterQueries = Query::groupByType($queries)['filters']; - try { - $buckets = $dbForProject->find('buckets', $queries); - $total = $includeTotal ? $dbForProject->count('buckets', $filterQueries, APP_LIMIT_COUNT) : 0; - } 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."); - } catch (QueryException $e) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); - } - $response->dynamic(new Document([ - 'buckets' => $buckets, - 'total' => $total, - ]), Response::MODEL_BUCKET_LIST); - }); - -App::get('/v1/storage/buckets/:bucketId') - ->desc('Get bucket') - ->groups(['api', 'storage']) - ->label('scope', 'buckets.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_BUCKET, - ) - ] - )) - ->param('bucketId', '', new UID(), 'Bucket unique ID.') - ->inject('response') - ->inject('dbForProject') - ->action(function (string $bucketId, Response $response, Database $dbForProject) { - - $bucket = $dbForProject->getDocument('buckets', $bucketId); - - if ($bucket->isEmpty()) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $response->dynamic($bucket, Response::MODEL_BUCKET); - }); - -App::put('/v1/storage/buckets/:bucketId') - ->desc('Update bucket') - ->groups(['api', 'storage']) - ->label('scope', 'buckets.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('event', 'buckets.[bucketId].update') - ->label('audits.event', 'bucket.update') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_BUCKET, - ) - ] - )) - ->param('bucketId', '', new UID(), 'Bucket unique ID.') - ->param('name', null, new Text(128), 'Bucket name', false) - ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) - ->param('fileSecurity', false, new Boolean(true), '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).', true) - ->param('enabled', true, new Boolean(true), '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.', true) - ->param('maximumFileSize', fn (array $plan) => empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000, fn (array $plan) => new Range(1, empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000), 'Maximum file size allowed in bytes. Maximum allowed value is ' . Storage::human(System::getEnv('_APP_STORAGE_LIMIT', 0), 0) . '.', true, ['plan']) - ->param('allowedFileExtensions', [], new ArrayList(new Text(64), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Allowed file extensions. Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' extensions are allowed, each 64 characters long.', true) - ->param('compression', Compression::NONE, new WhiteList([Compression::NONE, Compression::GZIP, Compression::ZSTD], true), 'Compression algorithm choosen for compression. Can be one of ' . Compression::NONE . ', [' . Compression::GZIP . '](https://en.wikipedia.org/wiki/Gzip), or [' . Compression::ZSTD . '](https://en.wikipedia.org/wiki/Zstd), For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' compression is skipped even if it\'s enabled', true) - ->param('encryption', true, new Boolean(true), 'Is encryption enabled? For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' encryption is skipped even if it\'s enabled', true) - ->param('antivirus', true, new Boolean(true), 'Is virus scanning enabled? For file size above ' . Storage::human(APP_LIMIT_ANTIVIRUS, 0) . ' AntiVirus scanning is skipped even if it\'s enabled', true) - ->param('transformations', true, new Boolean(true), 'Are image transformations enabled?', true) - ->inject('response') - ->inject('dbForProject') - ->inject('queueForEvents') - ->action(function (string $bucketId, string $name, ?array $permissions, bool $fileSecurity, bool $enabled, ?int $maximumFileSize, array $allowedFileExtensions, ?string $compression, ?bool $encryption, bool $antivirus, bool $transformations, Response $response, Database $dbForProject, Event $queueForEvents) { - $bucket = $dbForProject->getDocument('buckets', $bucketId); - - if ($bucket->isEmpty()) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $permissions ??= $bucket->getPermissions(); - $maximumFileSize ??= $bucket->getAttribute('maximumFileSize', (int) System::getEnv('_APP_STORAGE_LIMIT', 0)); - $allowedFileExtensions ??= $bucket->getAttribute('allowedFileExtensions', []); - $enabled ??= $bucket->getAttribute('enabled', true); - $encryption ??= $bucket->getAttribute('encryption', true); - $antivirus ??= $bucket->getAttribute('antivirus', true); - $compression ??= $bucket->getAttribute('compression', Compression::NONE); - $transformations ??= $bucket->getAttribute('transformations', true); - - // Map aggregate permissions into the multiple permissions they represent. - $permissions = Permission::aggregate($permissions); - - $bucket = $dbForProject->updateDocument('buckets', $bucket->getId(), $bucket - ->setAttribute('name', $name) - ->setAttribute('$permissions', $permissions) - ->setAttribute('maximumFileSize', $maximumFileSize) - ->setAttribute('allowedFileExtensions', $allowedFileExtensions) - ->setAttribute('fileSecurity', $fileSecurity) - ->setAttribute('enabled', $enabled) - ->setAttribute('encryption', $encryption) - ->setAttribute('compression', $compression) - ->setAttribute('antivirus', $antivirus) - ->setAttribute('transformations', $transformations)); - - $dbForProject->updateCollection('bucket_' . $bucket->getSequence(), $permissions, $fileSecurity); - - $queueForEvents - ->setParam('bucketId', $bucket->getId()); - - $response->dynamic($bucket, Response::MODEL_BUCKET); - }); - -App::delete('/v1/storage/buckets/:bucketId') - ->desc('Delete bucket') - ->groups(['api', 'storage']) - ->label('scope', 'buckets.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('audits.event', 'bucket.delete') - ->label('event', 'buckets.[bucketId].delete') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_NOCONTENT, - model: Response::MODEL_NONE, - ) - ], - contentType: ContentType::NONE - )) - ->param('bucketId', '', new UID(), 'Bucket unique ID.') - ->inject('response') - ->inject('dbForProject') - ->inject('queueForDeletes') - ->inject('queueForEvents') - ->action(function (string $bucketId, Response $response, Database $dbForProject, Delete $queueForDeletes, Event $queueForEvents) { - $bucket = $dbForProject->getDocument('buckets', $bucketId); - - if ($bucket->isEmpty()) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - if (!$dbForProject->deleteDocument('buckets', $bucketId)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to remove bucket from DB'); - } - - $queueForDeletes - ->setType(DELETE_TYPE_DOCUMENT) - ->setDocument($bucket); - - $queueForEvents - ->setParam('bucketId', $bucket->getId()) - ->setPayload($response->output($bucket, Response::MODEL_BUCKET)) - ; - - $response->noContent(); - }); - -App::post('/v1/storage/buckets/:bucketId/files') - ->alias('/v1/storage/files') - ->desc('Create file') - ->groups(['api', 'storage']) - ->label('scope', 'files.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('audits.event', 'file.create') - ->label('event', 'buckets.[bucketId].files.[fileId].create') - ->label('audits.resource', 'file/{response.$id}') - ->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}') - ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT) - ->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', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_CREATED, - model: Response::MODEL_FILE, - ) - ], - type: MethodType::UPLOAD, - requestType: ContentType::MULTIPART - )) - ->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 CustomId(), 'File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.') - ->param('file', [], new File(), 'Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https://appwrite.io/docs/products/storage/upload-download#input-file).', skipValidation: true) - ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) - ->inject('request') - ->inject('response') - ->inject('dbForProject') - ->inject('user') - ->inject('queueForEvents') - ->inject('mode') - ->inject('deviceForFiles') - ->inject('deviceForLocal') - ->action(function (string $bucketId, string $fileId, mixed $file, ?array $permissions, Request $request, Response $response, Database $dbForProject, Document $user, Event $queueForEvents, string $mode, Device $deviceForFiles, Device $deviceForLocal) { - - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $validator = new Authorization(Database::PERMISSION_CREATE); - if (!$validator->isValid($bucket->getCreate())) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - $allowedPermissions = [ - Database::PERMISSION_READ, - Database::PERMISSION_UPDATE, - Database::PERMISSION_DELETE, - ]; - - // Map aggregate permissions to into the set of individual permissions they represent. - $permissions = Permission::aggregate($permissions, $allowedPermissions); - - // Add permissions for current the user if none were provided. - if (\is_null($permissions)) { - $permissions = []; - if (!empty($user->getId())) { - foreach ($allowedPermissions as $permission) { - $permissions[] = (new Permission($permission, 'user', $user->getId()))->toString(); - } - } - } - - // Users can only manage their own roles, API keys and Admin users can manage any - $roles = Authorization::getRoles(); - if (!User::isApp($roles) && !User::isPrivileged($roles)) { - foreach (Database::PERMISSIONS as $type) { - foreach ($permissions as $permission) { - $permission = Permission::parse($permission); - if ($permission->getPermission() != $type) { - continue; - } - $role = (new Role( - $permission->getRole(), - $permission->getIdentifier(), - $permission->getDimension() - ))->toString(); - if (!Authorization::isRole($role)) { - throw new Exception(Exception::USER_UNAUTHORIZED, 'Permissions must be one of: (' . \implode(', ', $roles) . ')'); - } - } - } - } - - $maximumFileSize = $bucket->getAttribute('maximumFileSize', 0); - if ($maximumFileSize > (int) System::getEnv('_APP_STORAGE_LIMIT', 0)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Maximum bucket file size is larger than _APP_STORAGE_LIMIT'); - } - - - $file = $request->getFiles('file'); - - // GraphQL multipart spec adds files with index keys - if (empty($file)) { - $file = $request->getFiles(0); - } - - if (empty($file)) { - throw new Exception(Exception::STORAGE_FILE_EMPTY); - } - - // Make sure we handle a single file and multiple files the same way - $fileName = (\is_array($file['name']) && isset($file['name'][0])) ? $file['name'][0] : $file['name']; - $fileTmpName = (\is_array($file['tmp_name']) && isset($file['tmp_name'][0])) ? $file['tmp_name'][0] : $file['tmp_name']; - $fileSize = (\is_array($file['size']) && isset($file['size'][0])) ? $file['size'][0] : $file['size']; - - $contentRange = $request->getHeader('content-range'); - $fileId = $fileId === 'unique()' ? ID::unique() : $fileId; - $chunk = 1; - $chunks = 1; - - if (!empty($contentRange)) { - $start = $request->getContentRangeStart(); - $end = $request->getContentRangeEnd(); - $fileSize = $request->getContentRangeSize(); - $fileId = $request->getHeader('x-appwrite-id', $fileId); - // TODO make `end >= $fileSize` in next breaking version - if (is_null($start) || is_null($end) || is_null($fileSize) || $end > $fileSize) { - throw new Exception(Exception::STORAGE_INVALID_CONTENT_RANGE); - } - - $idValidator = new UID(); - if (!$idValidator->isValid($fileId)) { - throw new Exception(Exception::STORAGE_INVALID_APPWRITE_ID); - } - - // TODO remove the condition that checks `$end === $fileSize` in next breaking version - if ($end === $fileSize - 1 || $end === $fileSize) { - //if it's a last chunks the chunk size might differ, so we set the $chunks and $chunk to -1 notify it's last chunk - $chunks = $chunk = -1; - } else { - // Calculate total number of chunks based on the chunk size i.e ($rangeEnd - $rangeStart) - $chunks = (int) ceil($fileSize / ($end + 1 - $start)); - $chunk = (int) ($start / ($end + 1 - $start)) + 1; - } - } - - /** - * Validators - */ - // Check if file type is allowed - $allowedFileExtensions = $bucket->getAttribute('allowedFileExtensions', []); - $fileExt = new FileExt($allowedFileExtensions); - if (!empty($allowedFileExtensions) && !$fileExt->isValid($fileName)) { - throw new Exception(Exception::STORAGE_FILE_TYPE_UNSUPPORTED, 'File extension not allowed'); - } - - // Check if file size is exceeding allowed limit - $fileSizeValidator = new FileSize($maximumFileSize); - if (!$fileSizeValidator->isValid($fileSize)) { - throw new Exception(Exception::STORAGE_INVALID_FILE_SIZE, 'File size not allowed'); - } - - $upload = new Upload(); - if (!$upload->isValid($fileTmpName)) { - throw new Exception(Exception::STORAGE_INVALID_FILE); - } - - // Save to storage - $fileSize ??= $deviceForLocal->getFileSize($fileTmpName); - $path = $deviceForFiles->getPath($fileId . '.' . \pathinfo($fileName, PATHINFO_EXTENSION)); - $path = str_ireplace($deviceForFiles->getRoot(), $deviceForFiles->getRoot() . DIRECTORY_SEPARATOR . $bucket->getId(), $path); // Add bucket id to path after root - - $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - - $metadata = ['content_type' => $deviceForLocal->getFileMimeType($fileTmpName)]; - if (!$file->isEmpty()) { - $chunks = $file->getAttribute('chunksTotal', 1); - $uploaded = $file->getAttribute('chunksUploaded', 0); - $metadata = $file->getAttribute('metadata', []); - - if ($chunk === -1) { - $chunk = $chunks; - } - - if ($uploaded === $chunks) { - throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); - } - } - - $chunksUploaded = $deviceForFiles->upload($fileTmpName, $path, $chunk, $chunks, $metadata); - - if (empty($chunksUploaded)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed uploading file'); - } - - if ($chunksUploaded === $chunks) { - if (System::getEnv('_APP_STORAGE_ANTIVIRUS') === 'enabled' && $bucket->getAttribute('antivirus', true) && $fileSize <= APP_LIMIT_ANTIVIRUS && $deviceForFiles->getType() === Storage::DEVICE_LOCAL) { - $antivirus = new Network( - System::getEnv('_APP_STORAGE_ANTIVIRUS_HOST', 'clamav'), - (int) System::getEnv('_APP_STORAGE_ANTIVIRUS_PORT', 3310) - ); - - if (!$antivirus->fileScan($path)) { - $deviceForFiles->delete($path); - throw new Exception(Exception::STORAGE_INVALID_FILE); - } - } - - $mimeType = $deviceForFiles->getFileMimeType($path); // Get mime-type before compression and encryption - $fileHash = $deviceForFiles->getFileHash($path); // Get file hash before compression and encryption - $data = ''; - // Compression - $algorithm = $bucket->getAttribute('compression', Compression::NONE); - if ($fileSize <= APP_STORAGE_READ_BUFFER && $algorithm != Compression::NONE) { - $data = $deviceForFiles->read($path); - switch ($algorithm) { - case Compression::ZSTD: - $compressor = new Zstd(); - break; - case Compression::GZIP: - default: - $compressor = new GZIP(); - break; - } - $data = $compressor->compress($data); - } else { - // reset the algorithm to none as we do not compress the file - // if file size exceedes the APP_STORAGE_READ_BUFFER - // regardless the bucket compression algoorithm - $algorithm = Compression::NONE; - } - - if ($bucket->getAttribute('encryption', true) && $fileSize <= APP_STORAGE_READ_BUFFER) { - if (empty($data)) { - $data = $deviceForFiles->read($path); - } - $key = System::getEnv('_APP_OPENSSL_KEY_V1'); - $iv = OpenSSL::randomPseudoBytes(OpenSSL::cipherIVLength(OpenSSL::CIPHER_AES_128_GCM)); - $data = OpenSSL::encrypt($data, OpenSSL::CIPHER_AES_128_GCM, $key, 0, $iv, $tag); - } - - if (!empty($data)) { - if (!$deviceForFiles->write($path, $data, $mimeType)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to save file'); - } - } - - $sizeActual = $deviceForFiles->getFileSize($path); - - $openSSLVersion = null; - $openSSLCipher = null; - $openSSLTag = null; - $openSSLIV = null; - - if ($bucket->getAttribute('encryption', true) && $fileSize <= APP_STORAGE_READ_BUFFER) { - $openSSLVersion = '1'; - $openSSLCipher = OpenSSL::CIPHER_AES_128_GCM; - $openSSLTag = \bin2hex($tag); - $openSSLIV = \bin2hex($iv); - } - - if ($file->isEmpty()) { - $doc = new Document([ - '$id' => $fileId, - '$permissions' => $permissions, - 'bucketId' => $bucket->getId(), - 'bucketInternalId' => $bucket->getSequence(), - 'name' => $fileName, - 'path' => $path, - 'signature' => $fileHash, - 'mimeType' => $mimeType, - 'sizeOriginal' => $fileSize, - 'sizeActual' => $sizeActual, - 'algorithm' => $algorithm, - 'comment' => '', - 'chunksTotal' => $chunks, - 'chunksUploaded' => $chunksUploaded, - 'openSSLVersion' => $openSSLVersion, - 'openSSLCipher' => $openSSLCipher, - 'openSSLTag' => $openSSLTag, - 'openSSLIV' => $openSSLIV, - 'search' => implode(' ', [$fileId, $fileName]), - 'metadata' => $metadata, - ]); - - try { - $file = $dbForProject->createDocument('bucket_' . $bucket->getSequence(), $doc); - } catch (DuplicateException) { - throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); - } catch (NotFoundException) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - } else { - $file = $file - ->setAttribute('$permissions', $permissions) - ->setAttribute('signature', $fileHash) - ->setAttribute('mimeType', $mimeType) - ->setAttribute('sizeActual', $sizeActual) - ->setAttribute('algorithm', $algorithm) - ->setAttribute('openSSLVersion', $openSSLVersion) - ->setAttribute('openSSLCipher', $openSSLCipher) - ->setAttribute('openSSLTag', $openSSLTag) - ->setAttribute('openSSLIV', $openSSLIV) - ->setAttribute('metadata', $metadata) - ->setAttribute('chunksUploaded', $chunksUploaded); - - /** - * Validate create permission and skip authorization in updateDocument - * Without this, the file creation will fail when user doesn't have update permission - * However as with chunk upload even if we are updating, we are essentially creating a file - * adding it's new chunk so we validate create permission instead of update - */ - $validator = new Authorization(Database::PERMISSION_CREATE); - if (!$validator->isValid($bucket->getCreate())) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); - } - } else { - if ($file->isEmpty()) { - $doc = new Document([ - '$id' => ID::custom($fileId), - '$permissions' => $permissions, - 'bucketId' => $bucket->getId(), - 'bucketInternalId' => $bucket->getSequence(), - 'name' => $fileName, - 'path' => $path, - 'signature' => '', - 'mimeType' => '', - 'sizeOriginal' => $fileSize, - 'sizeActual' => 0, - 'algorithm' => '', - 'comment' => '', - 'chunksTotal' => $chunks, - 'chunksUploaded' => $chunksUploaded, - 'search' => implode(' ', [$fileId, $fileName]), - 'metadata' => $metadata, - ]); - - try { - $file = $dbForProject->createDocument('bucket_' . $bucket->getSequence(), $doc); - } catch (DuplicateException) { - throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); - } catch (NotFoundException) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - } else { - $file = $file - ->setAttribute('chunksUploaded', $chunksUploaded) - ->setAttribute('metadata', $metadata); - - /** - * Validate create permission and skip authorization in updateDocument - * Without this, the file creation will fail when user doesn't have update permission - * However as with chunk upload even if we are updating, we are essentially creating a file - * adding it's new chunk so we validate create permission instead of update - */ - $validator = new Authorization(Database::PERMISSION_CREATE); - if (!$validator->isValid($bucket->getCreate())) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - try { - $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); - } catch (NotFoundException) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - } - } - - $queueForEvents - ->setParam('bucketId', $bucket->getId()) - ->setParam('fileId', $file->getId()) - ->setContext('bucket', $bucket); - - $metadata = null; // was causing leaks as it was passed by reference - - $response - ->setStatusCode(Response::STATUS_CODE_CREATED) - ->dynamic($file, Response::MODEL_FILE); - }); - -App::get('/v1/storage/buckets/:bucketId/files') - ->alias('/v1/storage/files') - ->desc('List files') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_FILE_LIST, - ) - ] - )) - ->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('queries', [], new Files(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Files::ALLOWED_ATTRIBUTES), true) - ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) - ->param('total', true, new Boolean(true), 'When set to false, the total count returned will be 0 and will not be calculated.', true) - ->inject('response') - ->inject('dbForProject') - ->inject('mode') - ->action(function (string $bucketId, array $queries, string $search, bool $includeTotal, Response $response, Database $dbForProject, string $mode) { - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_READ); - $valid = $validator->isValid($bucket->getRead()); - if (!$fileSecurity && !$valid) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - $queries = Query::parseQueries($queries); - - if (!empty($search)) { - $queries[] = Query::search('search', $search); - } - - /** - * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries - */ - $cursor = \array_filter($queries, function ($query) { - return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); - }); - $cursor = reset($cursor); - if ($cursor) { - /** @var Query $cursor */ - - $validator = new Cursor(); - if (!$validator->isValid($cursor)) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); - } - - $fileId = $cursor->getValue(); - - if ($fileSecurity && !$valid) { - $cursorDocument = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - $cursorDocument = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - - if ($cursorDocument->isEmpty()) { - throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "File '{$fileId}' for the 'cursor' value not found."); - } - - $cursor->setValue($cursorDocument); - } - - $filterQueries = Query::groupByType($queries)['filters']; - - try { - if ($fileSecurity && !$valid) { - $files = $dbForProject->find('bucket_' . $bucket->getSequence(), $queries); - $total = $includeTotal ? $dbForProject->count('bucket_' . $bucket->getSequence(), $filterQueries, APP_LIMIT_COUNT) : 0; - } else { - $files = Authorization::skip(fn () => $dbForProject->find('bucket_' . $bucket->getSequence(), $queries)); - $total = $includeTotal ? Authorization::skip(fn () => $dbForProject->count('bucket_' . $bucket->getSequence(), $filterQueries, APP_LIMIT_COUNT)) : 0; - } - } 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."); - } catch (QueryException $e) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); - } - - $response->dynamic(new Document([ - 'files' => $files, - 'total' => $total, - ]), Response::MODEL_FILE_LIST); - }); - -App::get('/v1/storage/buckets/:bucketId/files/:fileId') - ->alias('/v1/storage/files/:fileId') - ->desc('Get file') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_FILE, - ) - ] - )) - ->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.') - ->inject('response') - ->inject('dbForProject') - ->inject('mode') - ->action(function (string $bucketId, string $fileId, Response $response, Database $dbForProject, string $mode) { - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_READ); - $valid = $validator->isValid($bucket->getRead()); - if (!$fileSecurity && !$valid) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($fileSecurity && !$valid) { - $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - $response->dynamic($file, Response::MODEL_FILE); - }); - -App::get('/v1/storage/buckets/:bucketId/files/:fileId/preview') - ->alias('/v1/storage/files/:fileId/preview') - ->desc('Get file preview') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('cache', true) - ->label('cache.resourceType', 'bucket/{request.bucketId}') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_NONE - ) - ], - type: MethodType::LOCATION, - contentType: ContentType::IMAGE - )) - ->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('width', 0, new Range(0, 4000), 'Resize preview image width, Pass an integer between 0 to 4000.', true) - ->param('height', 0, new Range(0, 4000), 'Resize preview image height, Pass an integer between 0 to 4000.', true) - ->param('gravity', Image::GRAVITY_CENTER, new WhiteList(Image::getGravityTypes()), 'Image crop gravity. Can be one of ' . implode(",", Image::getGravityTypes()), true) - ->param('quality', -1, new Range(-1, 100), 'Preview image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.', true) - ->param('borderWidth', 0, new Range(0, 100), 'Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.', true) - ->param('borderColor', '', new HexColor(), 'Preview image border color. Use a valid HEX color, no # is needed for prefix.', true) - ->param('borderRadius', 0, new Range(0, 4000), 'Preview image border radius in pixels. Pass an integer between 0 to 4000.', true) - ->param('opacity', 1, new Range(0, 1, Range::TYPE_FLOAT), 'Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.', true) - ->param('rotation', 0, new Range(-360, 360), 'Preview image rotation in degrees. Pass an integer between -360 and 360.', true) - ->param('background', '', new HexColor(), 'Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.', true) - ->param('output', '', new WhiteList(\array_keys(Config::getParam('storage-outputs')), true), 'Output format type (jpeg, jpg, png, gif and webp).', true) - // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. - ->param('token', '', new Text(512), 'File token for accessing this file.', true) - ->inject('request') - ->inject('response') - ->inject('dbForProject') - ->inject('resourceToken') - ->inject('deviceForFiles') - ->inject('deviceForLocal') - ->inject('project') - ->action(function (string $bucketId, string $fileId, int $width, int $height, string $gravity, int $quality, int $borderWidth, string $borderColor, int $borderRadius, float $opacity, int $rotation, string $background, string $output, ?string $token, Request $request, Response $response, Database $dbForProject, Document $resourceToken, Device $deviceForFiles, Device $deviceForLocal, Document $project) { - - if (!\extension_loaded('imagick')) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Imagick extension is missing'); - } - - /* @type Document $bucket */ - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - if (!$bucket->getAttribute('transformations', true) && !$isAPIKey && !$isPrivilegedUser) { - throw new Exception(Exception::STORAGE_BUCKET_TRANSFORMATIONS_DISABLED); - } - - $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_READ); - $valid = $validator->isValid($bucket->getRead()); - if (!$fileSecurity && !$valid && !$isToken) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($fileSecurity && !$valid && !$isToken) { - $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - /* @type Document $file */ - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - - if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - $inputs = Config::getParam('storage-inputs'); - $outputs = Config::getParam('storage-outputs'); - $fileLogos = Config::getParam('storage-logos'); - - $path = $file->getAttribute('path'); - $type = \strtolower(\pathinfo($path, PATHINFO_EXTENSION)); - $algorithm = $file->getAttribute('algorithm', Compression::NONE); - $cipher = $file->getAttribute('openSSLCipher'); - $mime = $file->getAttribute('mimeType'); - if (!\in_array($mime, $inputs) || $file->getAttribute('sizeActual') > (int) System::getEnv('_APP_STORAGE_PREVIEW_LIMIT', APP_STORAGE_READ_BUFFER)) { - if (!\in_array($mime, $inputs)) { - $path = (\array_key_exists($mime, $fileLogos)) ? $fileLogos[$mime] : $fileLogos['default']; - } else { - // it was an image but the file size exceeded the limit - $path = $fileLogos['default_image']; - } - - $algorithm = Compression::NONE; - $cipher = null; - $background = (empty($background)) ? 'eceff1' : $background; - $type = \strtolower(\pathinfo($path, PATHINFO_EXTENSION)); - $deviceForFiles = $deviceForLocal; - } - - if (!$deviceForFiles->exists($path)) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - if (empty($output)) { - // when file extension is provided but it's not one of our - // supported outputs we fallback to `jpg` - if (!empty($type) && !array_key_exists($type, $outputs)) { - $type = 'jpg'; - } - - // when file extension is not provided and the mime type is not one of our supported outputs - // we fallback to `jpg` output format - $output = empty($type) ? (array_search($mime, $outputs) ?? 'jpg') : $type; - } - - $startTime = \microtime(true); - - $source = $deviceForFiles->read($path); - - $downloadTime = \microtime(true) - $startTime; - - if (!empty($cipher)) { // Decrypt - $source = OpenSSL::decrypt( - $source, - $file->getAttribute('openSSLCipher'), - System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), - 0, - \hex2bin($file->getAttribute('openSSLIV')), - \hex2bin($file->getAttribute('openSSLTag')) - ); - } - - $decryptionTime = \microtime(true) - $startTime - $downloadTime; - - switch ($algorithm) { - case Compression::ZSTD: - $compressor = new Zstd(); - $source = $compressor->decompress($source); - break; - case Compression::GZIP: - $compressor = new GZIP(); - $source = $compressor->decompress($source); - break; - } - - $decompressionTime = \microtime(true) - $startTime - $downloadTime - $decryptionTime; - - try { - $image = new Image($source); - } catch (ImagickException $e) { - throw new Exception(Exception::STORAGE_FILE_TYPE_UNSUPPORTED, $e->getMessage()); - } - - $image->crop((int) $width, (int) $height, $gravity); - - if (!empty($opacity) || $opacity === 0) { - $image->setOpacity($opacity); - } - - if (!empty($background)) { - $image->setBackground('#' . $background); - } - - if (!empty($borderWidth)) { - $image->setBorder($borderWidth, '#' . $borderColor); - } - - if (!empty($borderRadius)) { - $image->setBorderRadius($borderRadius); - } - - if (!empty($rotation)) { - $image->setRotation(($rotation + 360) % 360); - } - - $data = $image->output($output, $quality); - - $renderingTime = \microtime(true) - $startTime - $downloadTime - $decryptionTime - $decompressionTime; - - $totalTime = \microtime(true) - $startTime; - - Console::info("File preview rendered,project=" . $project->getId() . ",bucket=" . $bucketId . ",file=" . $file->getId() . ",uri=" . $request->getURI() . ",total=" . $totalTime . ",rendering=" . $renderingTime . ",decryption=" . $decryptionTime . ",decompression=" . $decompressionTime . ",download=" . $downloadTime); - - $contentType = (\array_key_exists($output, $outputs)) ? $outputs[$output] : $outputs['jpg']; - - //Do not update transformedAt if it's a console user - if (!User::isPrivileged(Authorization::getRoles())) { - $transformedAt = $file->getAttribute('transformedAt', ''); - if (DateTime::formatTz(DateTime::addSeconds(new \DateTime(), -APP_PROJECT_ACCESS)) > $transformedAt) { - $file->setAttribute('transformedAt', DateTime::now()); - Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $file->getAttribute('bucketInternalId'), $file->getId(), $file)); - } - } - - $response - ->addHeader('Cache-Control', 'private, max-age=2592000') // 30 days - ->setContentType($contentType) - ->file($data); - - unset($image); - }); - -App::get('/v1/storage/buckets/:bucketId/files/:fileId/download') - ->alias('/v1/storage/files/:fileId/download') - ->desc('Get file for download') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_NONE - ) - ], - type: MethodType::LOCATION, - contentType: ContentType::ANY, - )) - ->param('bucketId', '', new UID(), 'Storage bucket 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.') - // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. - ->param('token', '', new Text(512), 'File token for accessing this file.', true) - ->inject('request') - ->inject('response') - ->inject('dbForProject') - ->inject('mode') - ->inject('resourceToken') - ->inject('deviceForFiles') - ->action(function (string $bucketId, string $fileId, ?string $token, Request $request, Response $response, Database $dbForProject, string $mode, Document $resourceToken, Device $deviceForFiles) { - /* @type Document $bucket */ - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_READ); - $valid = $validator->isValid($bucket->getRead()); - if (!$fileSecurity && !$valid && !$isToken) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($fileSecurity && !$valid && !$isToken) { - $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - /* @type Document $file */ - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - - if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - $path = $file->getAttribute('path', ''); - - if (!$deviceForFiles->exists($path)) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); - } - - $size = $file->getAttribute('sizeOriginal', 0); - - $rangeHeader = $request->getHeader('range'); - if (!empty($rangeHeader)) { - $start = $request->getRangeStart(); - $end = $request->getRangeEnd(); - $unit = $request->getRangeUnit(); - - if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { - $end = min(($start + MAX_OUTPUT_CHUNK_SIZE - 1), ($size - 1)); - } - - if ($unit !== 'bytes' || $start >= $end || $end >= $size) { - throw new Exception(Exception::STORAGE_INVALID_RANGE); - } - - $response - ->addHeader('Accept-Ranges', 'bytes') - ->addHeader('Content-Range', 'bytes ' . $start . '-' . $end . '/' . $size) - ->addHeader('Content-Length', $end - $start + 1) - ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); - } - - $response - ->setContentType($file->getAttribute('mimeType')) - ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days - ->addHeader('X-Peak', \memory_get_peak_usage()) - ->addHeader('Content-Disposition', 'attachment; filename="' . $file->getAttribute('name', '') . '"') - ; - - $source = ''; - if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt - $source = $deviceForFiles->read($path); - $source = OpenSSL::decrypt( - $source, - $file->getAttribute('openSSLCipher'), - System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), - 0, - \hex2bin($file->getAttribute('openSSLIV')), - \hex2bin($file->getAttribute('openSSLTag')) - ); - } - - switch ($file->getAttribute('algorithm', Compression::NONE)) { - case Compression::ZSTD: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new Zstd(); - $source = $compressor->decompress($source); - break; - case Compression::GZIP: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new GZIP(); - $source = $compressor->decompress($source); - break; - } - - if (!empty($source)) { - if (!empty($rangeHeader)) { - $response->send(substr($source, $start, ($end - $start + 1))); - return; - } - $response->send($source); - return; - } - - if (!empty($rangeHeader)) { - $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); - return; - } - - if ($size > APP_STORAGE_READ_BUFFER) { - for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { - $response->chunk( - $deviceForFiles->read( - $path, - ($i * MAX_OUTPUT_CHUNK_SIZE), - min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) - ), - (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size - ); - } - } else { - $response->send($deviceForFiles->read($path)); - } - }); - -App::get('/v1/storage/buckets/:bucketId/files/:fileId/view') - ->alias('/v1/storage/files/:fileId/view') - ->desc('Get file for view') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_NONE, - ) - ], - type: MethodType::LOCATION, - contentType: ContentType::ANY, - )) - ->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.') - // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. - ->param('token', '', new Text(512), 'File token for accessing this file.', true) - ->inject('response') - ->inject('request') - ->inject('dbForProject') - ->inject('mode') - ->inject('resourceToken') - ->inject('deviceForFiles') - ->action(function (string $bucketId, string $fileId, ?string $token, Response $response, Request $request, Database $dbForProject, string $mode, Document $resourceToken, Device $deviceForFiles) { - /* @type Document $bucket */ - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_READ); - $valid = $validator->isValid($bucket->getRead()); - if (!$fileSecurity && !$valid && !$isToken) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($fileSecurity && !$valid && !$isToken) { - $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - /* @type Document $file */ - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - - if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - $mimes = Config::getParam('storage-mimes'); - - $path = $file->getAttribute('path', ''); - - if (!$deviceForFiles->exists($path)) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); - } - - $contentType = 'text/plain'; - - if (\in_array($file->getAttribute('mimeType'), $mimes)) { - $contentType = $file->getAttribute('mimeType'); - } - - $size = $file->getAttribute('sizeOriginal', 0); - - $rangeHeader = $request->getHeader('range'); - if (!empty($rangeHeader)) { - $start = $request->getRangeStart(); - $end = $request->getRangeEnd(); - $unit = $request->getRangeUnit(); - - if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { - $end = min(($start + APP_STORAGE_READ_BUFFER - 1), ($size - 1)); - } - - if ($unit != 'bytes' || $start >= $end || $end >= $size) { - throw new Exception(Exception::STORAGE_INVALID_RANGE); - } - - $response - ->addHeader('Accept-Ranges', 'bytes') - ->addHeader('Content-Range', "bytes $start-$end/$size") - ->addHeader('Content-Length', $end - $start + 1) - ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); - } - - $response - ->setContentType($contentType) - ->addHeader('Content-Security-Policy', 'script-src none;') - ->addHeader('X-Content-Type-Options', 'nosniff') - ->addHeader('Content-Disposition', 'inline; filename="' . $file->getAttribute('name', '') . '"') - ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days - ->addHeader('X-Peak', \memory_get_peak_usage()) - ; - - $source = ''; - if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt - $source = $deviceForFiles->read($path); - $source = OpenSSL::decrypt( - $source, - $file->getAttribute('openSSLCipher'), - System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), - 0, - \hex2bin($file->getAttribute('openSSLIV')), - \hex2bin($file->getAttribute('openSSLTag')) - ); - } - - switch ($file->getAttribute('algorithm', Compression::NONE)) { - case Compression::ZSTD: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new Zstd(); - $source = $compressor->decompress($source); - break; - case Compression::GZIP: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new GZIP(); - $source = $compressor->decompress($source); - break; - } - - if (!empty($source)) { - if (!empty($rangeHeader)) { - $response->send(substr($source, $start, ($end - $start + 1))); - return; - } - $response->send($source); - return; - } - - if (!empty($rangeHeader)) { - $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); - return; - } - - $size = $deviceForFiles->getFileSize($path); - if ($size > APP_STORAGE_READ_BUFFER) { - for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { - $response->chunk( - $deviceForFiles->read( - $path, - ($i * MAX_OUTPUT_CHUNK_SIZE), - min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) - ), - (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size - ); - } - } else { - $response->send($deviceForFiles->read($path)); - } - }); - -App::get('/v1/storage/buckets/:bucketId/files/:fileId/push') - ->desc('Get file for push notification') - ->groups(['api', 'storage']) - ->label('scope', 'public') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->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) - ->inject('response') - ->inject('request') - ->inject('dbForProject') - ->inject('dbForPlatform') - ->inject('project') - ->inject('mode') - ->inject('deviceForFiles') - ->action(function (string $bucketId, string $fileId, string $jwt, Response $response, Request $request, Database $dbForProject, Database $dbForPlatform, Document $project, string $mode, Device $deviceForFiles) { - $decoder = new JWT(System::getEnv('_APP_OPENSSL_KEY_V1'), 'HS256', 3600, 0); - - try { - $decoded = $decoder->decode($jwt); - } catch (JWTException) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - if ( - $decoded['projectId'] !== $project->getId() || - $decoded['bucketId'] !== $bucketId || - $decoded['fileId'] !== $fileId - ) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - $isInternal = $decoded['internal'] ?? false; - $disposition = $decoded['disposition'] ?? 'inline'; - $dbForProject = $isInternal ? $dbForPlatform : $dbForProject; - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - $mimes = Config::getParam('storage-mimes'); - - $path = $file->getAttribute('path', ''); - - if (!$deviceForFiles->exists($path)) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); - } - - $contentType = 'text/plain'; - - if (\in_array($file->getAttribute('mimeType'), $mimes)) { - $contentType = $file->getAttribute('mimeType'); - } - - $size = $file->getAttribute('sizeOriginal', 0); - - $rangeHeader = $request->getHeader('range'); - if (!empty($rangeHeader)) { - $start = $request->getRangeStart(); - $end = $request->getRangeEnd(); - $unit = $request->getRangeUnit(); - - if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { - $end = min(($start + APP_STORAGE_READ_BUFFER - 1), ($size - 1)); - } - - if ($unit != 'bytes' || $start >= $end || $end >= $size) { - throw new Exception(Exception::STORAGE_INVALID_RANGE); - } - - $response - ->addHeader('Accept-Ranges', 'bytes') - ->addHeader('Content-Range', "bytes $start-$end/$size") - ->addHeader('Content-Length', $end - $start + 1) - ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); - } - - $response - ->setContentType($contentType) - ->addHeader('Content-Security-Policy', 'script-src none;') - ->addHeader('X-Content-Type-Options', 'nosniff') - ->addHeader('Content-Disposition', $disposition . '; filename="' . $file->getAttribute('name', '') . '"') - ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days - ->addHeader('X-Peak', \memory_get_peak_usage()); - - $source = ''; - if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt - $source = $deviceForFiles->read($path); - $source = OpenSSL::decrypt( - $source, - $file->getAttribute('openSSLCipher'), - System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), - 0, - \hex2bin($file->getAttribute('openSSLIV')), - \hex2bin($file->getAttribute('openSSLTag')) - ); - } - - switch ($file->getAttribute('algorithm', Compression::NONE)) { - case Compression::ZSTD: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new Zstd(); - $source = $compressor->decompress($source); - break; - case Compression::GZIP: - if (empty($source)) { - $source = $deviceForFiles->read($path); - } - $compressor = new GZIP(); - $source = $compressor->decompress($source); - break; - } - - if (!empty($source)) { - if (!empty($rangeHeader)) { - $response->send(substr($source, $start, ($end - $start + 1))); - return; - } - $response->send($source); - return; - } - - if (!empty($rangeHeader)) { - $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); - return; - } - - $size = $deviceForFiles->getFileSize($path); - if ($size > APP_STORAGE_READ_BUFFER) { - for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { - $response->chunk( - $deviceForFiles->read( - $path, - ($i * MAX_OUTPUT_CHUNK_SIZE), - min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) - ), - (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size - ); - } - } else { - $response->send($deviceForFiles->read($path)); - } - }); - -App::put('/v1/storage/buckets/:bucketId/files/:fileId') - ->alias('/v1/storage/files/:fileId') - ->desc('Update file') - ->groups(['api', 'storage']) - ->label('scope', 'files.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('event', 'buckets.[bucketId].files.[fileId].update') - ->label('audits.event', 'file.update') - ->label('audits.resource', 'file/{response.$id}') - ->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}') - ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT) - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_FILE, - ) - ] - )) - ->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 unique ID.') - ->param('name', null, new Nullable(new Text(255)), 'Name of the file', true) - ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) - ->inject('response') - ->inject('dbForProject') - ->inject('user') - ->inject('mode') - ->inject('queueForEvents') - ->action(function (string $bucketId, string $fileId, ?string $name, ?array $permissions, Response $response, Database $dbForProject, Document $user, string $mode, Event $queueForEvents) { - - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_UPDATE); - $valid = $validator->isValid($bucket->getUpdate()); - if (!$fileSecurity && !$valid) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - // Read permission should not be required for update - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - // Map aggregate permissions into the multiple permissions they represent. - $permissions = Permission::aggregate($permissions, [ - Database::PERMISSION_READ, - Database::PERMISSION_UPDATE, - Database::PERMISSION_DELETE, - ]); - - // Users can only manage their own roles, API keys and Admin users can manage any - $roles = Authorization::getRoles(); - if (!User::isApp($roles) && !User::isPrivileged($roles) && !\is_null($permissions)) { - foreach (Database::PERMISSIONS as $type) { - foreach ($permissions as $permission) { - $permission = Permission::parse($permission); - if ($permission->getPermission() != $type) { - continue; - } - $role = (new Role( - $permission->getRole(), - $permission->getIdentifier(), - $permission->getDimension() - ))->toString(); - if (!Authorization::isRole($role)) { - throw new Exception(Exception::USER_UNAUTHORIZED, 'Permissions must be one of: (' . \implode(', ', $roles) . ')'); - } - } - } - } - - if (\is_null($permissions)) { - $permissions = $file->getPermissions() ?? []; - } - - $file->setAttribute('$permissions', $permissions); - - if (!is_null($name)) { - $file->setAttribute('name', $name); - } - - try { - if ($fileSecurity && !$valid) { - $file = $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file); - } else { - $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); - } - } catch (NotFoundException) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $queueForEvents - ->setParam('bucketId', $bucket->getId()) - ->setParam('fileId', $file->getId()) - ->setContext('bucket', $bucket) - ; - - $response->dynamic($file, Response::MODEL_FILE); - }); - -App::delete('/v1/storage/buckets/:bucketId/files/:fileId') - ->desc('Delete file') - ->groups(['api', 'storage']) - ->label('scope', 'files.write') - ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('event', 'buckets.[bucketId].files.[fileId].delete') - ->label('audits.event', 'file.delete') - ->label('audits.resource', 'file/{request.fileId}') - ->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}') - ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT) - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_NOCONTENT, - model: Response::MODEL_NONE, - ) - ], - contentType: ContentType::NONE - )) - ->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.') - ->inject('response') - ->inject('dbForProject') - ->inject('queueForEvents') - ->inject('mode') - ->inject('deviceForFiles') - ->inject('queueForDeletes') - ->action(function (string $bucketId, string $fileId, Response $response, Database $dbForProject, Event $queueForEvents, string $mode, Device $deviceForFiles, Delete $queueForDeletes) { - $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); - - $isAPIKey = User::isApp(Authorization::getRoles()); - $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); - - if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $fileSecurity = $bucket->getAttribute('fileSecurity', false); - $validator = new Authorization(Database::PERMISSION_DELETE); - $valid = $validator->isValid($bucket->getDelete()); - if (!$fileSecurity && !$valid) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - // Read permission should not be required for delete - $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); - - if ($file->isEmpty()) { - throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); - } - - // Make sure we don't delete the file before the document permission check occurs - if ($fileSecurity && !$valid && !$validator->isValid($file->getDelete())) { - throw new Exception(Exception::USER_UNAUTHORIZED); - } - - $deviceDeleted = false; - if ($file->getAttribute('chunksTotal') !== $file->getAttribute('chunksUploaded')) { - $deviceDeleted = $deviceForFiles->abort( - $file->getAttribute('path'), - ($file->getAttribute('metadata', [])['uploadId'] ?? '') - ); - } else { - $deviceDeleted = $deviceForFiles->delete($file->getAttribute('path')); - } - - if ($deviceDeleted) { - $queueForDeletes - ->setType(DELETE_TYPE_CACHE_BY_RESOURCE) - ->setResourceType('bucket/' . $bucket->getId()) - ->setResource('file/' . $fileId) - ; - - try { - if ($fileSecurity && !$valid) { - $deleted = $dbForProject->deleteDocument('bucket_' . $bucket->getSequence(), $fileId); - } else { - $deleted = Authorization::skip(fn () => $dbForProject->deleteDocument('bucket_' . $bucket->getSequence(), $fileId)); - } - } catch (NotFoundException) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - if (!$deleted) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to remove file from DB'); - } - } else { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to delete file from device'); - } - - $queueForEvents - ->setParam('bucketId', $bucket->getId()) - ->setParam('fileId', $file->getId()) - ->setContext('bucket', $bucket) - ->setPayload($response->output($file, Response::MODEL_FILE)) - ; - - $response->noContent(); - }); - -/** Storage usage */ -App::get('/v1/storage/usage') - ->desc('Get storage usage stats') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_USAGE_STORAGE, - ) - ] - )) - ->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true) - ->inject('response') - ->inject('dbForProject') - ->action(function (string $range, Response $response, Database $dbForProject) { - - $periods = Config::getParam('usage', []); - $stats = $usage = []; - $days = $periods[$range]; - $metrics = [ - METRIC_BUCKETS, - METRIC_FILES, - METRIC_FILES_STORAGE, - ]; - - $total = []; - Authorization::skip(function () use ($dbForProject, $days, $metrics, &$stats, &$total) { - foreach ($metrics as $metric) { - $result = $dbForProject->findOne('stats', [ - Query::equal('metric', [$metric]), - Query::equal('period', ['inf']) - ]); - - $stats[$metric]['total'] = $result['value'] ?? 0; - $limit = $days['limit']; - $period = $days['period']; - $results = $dbForProject->find('stats', [ - Query::equal('metric', [$metric]), - Query::equal('period', [$period]), - Query::limit($limit), - Query::orderDesc('time'), - ]); - $stats[$metric]['data'] = []; - foreach ($results as $result) { - $stats[$metric]['data'][$result->getAttribute('time')] = [ - 'value' => $result->getAttribute('value'), - ]; - } - } - }); - - $format = match ($days['period']) { - '1h' => 'Y-m-d\TH:00:00.000P', - '1d' => 'Y-m-d\T00:00:00.000P', - }; - - foreach ($metrics as $metric) { - $usage[$metric]['total'] = $stats[$metric]['total']; - $usage[$metric]['data'] = []; - $leap = time() - ($days['limit'] * $days['factor']); - while ($leap < time()) { - $leap += $days['factor']; - $formatDate = date($format, $leap); - $usage[$metric]['data'][] = [ - 'value' => $stats[$metric]['data'][$formatDate]['value'] ?? 0, - 'date' => $formatDate, - ]; - } - } - $response->dynamic(new Document([ - 'range' => $range, - 'bucketsTotal' => $usage[$metrics[0]]['total'], - 'filesTotal' => $usage[$metrics[1]]['total'], - 'filesStorageTotal' => $usage[$metrics[2]]['total'], - 'buckets' => $usage[$metrics[0]]['data'], - 'files' => $usage[$metrics[1]]['data'], - 'storage' => $usage[$metrics[2]]['data'], - ]), Response::MODEL_USAGE_STORAGE); - }); - -App::get('/v1/storage/:bucketId/usage') - ->desc('Get bucket usage stats') - ->groups(['api', 'storage']) - ->label('scope', 'files.read') - ->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], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_USAGE_BUCKETS, - ) - ] - )) - ->param('bucketId', '', new UID(), 'Bucket ID.') - ->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true) - ->inject('response') - ->inject('project') - ->inject('dbForProject') - ->inject('getLogsDB') - ->action(function (string $bucketId, string $range, Response $response, Document $project, Database $dbForProject, callable $getLogsDB) { - - $dbForLogs = call_user_func($getLogsDB, $project); - $bucket = $dbForProject->getDocument('buckets', $bucketId); - - if ($bucket->isEmpty()) { - throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); - } - - $periods = Config::getParam('usage', []); - $stats = $usage = []; - $days = $periods[$range]; - $metrics = [ - str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES), - str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_STORAGE), - str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_IMAGES_TRANSFORMED), - ]; - - Authorization::skip(function () use ($dbForProject, $dbForLogs, $bucket, $days, $metrics, &$stats) { - foreach ($metrics as $metric) { - $db = ($metric === str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_IMAGES_TRANSFORMED)) - ? $dbForLogs - : $dbForProject; - - $result = $db->findOne('stats', [ - Query::equal('metric', [$metric]), - Query::equal('period', ['inf']) - ]); - - $stats[$metric]['total'] = $result['value'] ?? 0; - $limit = $days['limit']; - $period = $days['period']; - $results = $db->find('stats', [ - Query::equal('metric', [$metric]), - Query::equal('period', [$period]), - Query::limit($limit), - Query::orderDesc('time'), - ]); - $stats[$metric]['data'] = []; - foreach ($results as $result) { - $stats[$metric]['data'][$result->getAttribute('time')] = [ - 'value' => $result->getAttribute('value'), - ]; - } - } - }); - - - $format = match ($days['period']) { - '1h' => 'Y-m-d\TH:00:00.000P', - '1d' => 'Y-m-d\T00:00:00.000P', - }; - - foreach ($metrics as $metric) { - $usage[$metric]['total'] = $stats[$metric]['total']; - $usage[$metric]['data'] = []; - $leap = time() - ($days['limit'] * $days['factor']); - while ($leap < time()) { - $leap += $days['factor']; - $formatDate = date($format, $leap); - $usage[$metric]['data'][] = [ - 'value' => $stats[$metric]['data'][$formatDate]['value'] ?? 0, - 'date' => $formatDate, - ]; - } - } - - $response->dynamic(new Document([ - 'range' => $range, - 'filesTotal' => $usage[$metrics[0]]['total'], - 'filesStorageTotal' => $usage[$metrics[1]]['total'], - 'files' => $usage[$metrics[0]]['data'], - 'storage' => $usage[$metrics[1]]['data'], - 'imageTransformations' => $usage[$metrics[2]]['data'], - 'imageTransformationsTotal' => $usage[$metrics[2]]['total'], - ]), Response::MODEL_USAGE_BUCKETS); - }); diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 5f45c38fed..1f8555b6cd 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -72,7 +72,7 @@ App::post('/v1/teams') group: 'teams', name: 'create', description: '/docs/references/teams/create-team.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -163,7 +163,7 @@ App::get('/v1/teams') group: 'teams', name: 'list', description: '/docs/references/teams/list-teams.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -237,7 +237,7 @@ App::get('/v1/teams/:teamId') group: 'teams', name: 'get', description: '/docs/references/teams/get-team.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -268,7 +268,7 @@ App::get('/v1/teams/:teamId/prefs') group: 'teams', name: 'getPrefs', description: '/docs/references/teams/get-team-prefs.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -310,7 +310,7 @@ App::put('/v1/teams/:teamId') group: 'teams', name: 'updateName', description: '/docs/references/teams/update-team-name.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -356,7 +356,7 @@ App::put('/v1/teams/:teamId/prefs') group: 'teams', name: 'updatePrefs', description: '/docs/references/teams/update-team-prefs.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -403,7 +403,7 @@ App::delete('/v1/teams/:teamId') group: 'teams', name: 'delete', description: '/docs/references/teams/delete-team.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -462,7 +462,7 @@ App::post('/v1/teams/:teamId/memberships') group: 'memberships', name: 'createMembership', description: '/docs/references/teams/create-team-membership.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -848,7 +848,7 @@ App::get('/v1/teams/:teamId/memberships') group: 'memberships', name: 'listMemberships', description: '/docs/references/teams/list-team-members.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -991,7 +991,7 @@ App::get('/v1/teams/:teamId/memberships/:membershipId') group: 'memberships', name: 'getMembership', description: '/docs/references/teams/get-team-member.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1078,7 +1078,7 @@ App::patch('/v1/teams/:teamId/memberships/:membershipId') group: 'memberships', name: 'updateMembership', description: '/docs/references/teams/update-team-membership.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1188,7 +1188,7 @@ App::patch('/v1/teams/:teamId/memberships/:membershipId/status') group: 'memberships', name: 'updateMembershipStatus', description: '/docs/references/teams/update-team-membership-status.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1353,7 +1353,7 @@ App::delete('/v1/teams/:teamId/memberships/:membershipId') group: 'memberships', name: 'deleteMembership', description: '/docs/references/teams/delete-team-membership.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -1464,7 +1464,8 @@ App::get('/v1/teams/:teamId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $teamId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $teamId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $team = $dbForProject->getDocument('teams', $teamId); @@ -1478,9 +1479,12 @@ App::get('/v1/teams/:teamId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'team/' . $team->getId(); - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, offset: $offset, limit: $limit); $output = []; @@ -1527,7 +1531,7 @@ App::get('/v1/teams/:teamId/logs') } } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByResource($resource, $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByResource($resource) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index e49b0631d3..bbe1d8a84a 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -238,7 +238,7 @@ App::post('/v1/users') group: 'users', name: 'create', description: '/docs/references/users/create-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -275,7 +275,7 @@ App::post('/v1/users/bcrypt') group: 'users', name: 'createBcryptUser', description: '/docs/references/users/create-bcrypt-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -313,7 +313,7 @@ App::post('/v1/users/md5') group: 'users', name: 'createMD5User', description: '/docs/references/users/create-md5-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -350,7 +350,7 @@ App::post('/v1/users/argon2') group: 'users', name: 'createArgon2User', description: '/docs/references/users/create-argon2-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -387,7 +387,7 @@ App::post('/v1/users/sha') group: 'users', name: 'createSHAUser', description: '/docs/references/users/create-sha-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -428,7 +428,7 @@ App::post('/v1/users/phpass') group: 'users', name: 'createPHPassUser', description: '/docs/references/users/create-phpass-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -465,7 +465,7 @@ App::post('/v1/users/scrypt') group: 'users', name: 'createScryptUser', description: '/docs/references/users/create-scrypt-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -513,7 +513,7 @@ App::post('/v1/users/scrypt-modified') group: 'users', name: 'createScryptModifiedUser', description: '/docs/references/users/create-scrypt-modified-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -650,7 +650,7 @@ App::get('/v1/users') group: 'users', name: 'list', description: '/docs/references/users/list-users.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -729,7 +729,7 @@ App::get('/v1/users/:userId') group: 'users', name: 'get', description: '/docs/references/users/get-user.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -760,7 +760,7 @@ App::get('/v1/users/:userId/prefs') group: 'users', name: 'getPrefs', description: '/docs/references/users/get-user-prefs.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -831,7 +831,7 @@ App::get('/v1/users/:userId/sessions') group: 'sessions', name: 'listSessions', description: '/docs/references/users/list-user-sessions.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -875,7 +875,7 @@ App::get('/v1/users/:userId/memberships') group: 'memberships', name: 'listMemberships', description: '/docs/references/users/list-user-memberships.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -930,7 +930,7 @@ App::get('/v1/users/:userId/logs') group: 'logs', name: 'listLogs', description: '/docs/references/users/list-user-logs.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -945,7 +945,8 @@ App::get('/v1/users/:userId/logs') ->inject('dbForProject') ->inject('locale') ->inject('geodb') - ->action(function (string $userId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb) { + ->inject('audit') + ->action(function (string $userId, array $queries, bool $includeTotal, Response $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit) { $user = $dbForProject->getDocument('users', $userId); @@ -958,8 +959,11 @@ App::get('/v1/users/:userId/logs') throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); - $logs = $audit->getLogsByUser($user->getSequence(), $queries); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + + $logs = $audit->getLogsByUser($user->getSequence(), limit: $limit, offset: $offset); $output = []; foreach ($logs as $i => &$log) { $log['userAgent'] = (!empty($log['userAgent'])) ? $log['userAgent'] : 'UNKNOWN'; @@ -999,7 +1003,7 @@ App::get('/v1/users/:userId/logs') } $response->dynamic(new Document([ - 'total' => $includeTotal ? $audit->countLogsByUser($user->getSequence(), $queries) : 0, + 'total' => $includeTotal ? $audit->countLogsByUser($user->getSequence()) : 0, 'logs' => $output, ]), Response::MODEL_LOG_LIST); }); @@ -1078,7 +1082,7 @@ App::get('/v1/users/identities') group: 'identities', name: 'listIdentities', description: '/docs/references/users/list-identities.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1148,7 +1152,7 @@ App::patch('/v1/users/:userId/status') group: 'users', name: 'updateStatus', description: '/docs/references/users/update-user-status.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1189,7 +1193,7 @@ App::put('/v1/users/:userId/labels') group: 'users', name: 'updateLabels', description: '/docs/references/users/update-user-labels.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1232,7 +1236,7 @@ App::patch('/v1/users/:userId/verification/phone') group: 'users', name: 'updatePhoneVerification', description: '/docs/references/users/update-user-phone-verification.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1274,7 +1278,7 @@ App::patch('/v1/users/:userId/name') group: 'users', name: 'updateName', description: '/docs/references/users/update-user-name.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1317,7 +1321,7 @@ App::patch('/v1/users/:userId/password') group: 'users', name: 'updatePassword', description: '/docs/references/users/update-user-password.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1416,7 +1420,7 @@ App::patch('/v1/users/:userId/email') group: 'users', name: 'updateEmail', description: '/docs/references/users/update-user-email.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1527,7 +1531,7 @@ App::patch('/v1/users/:userId/phone') group: 'users', name: 'updatePhone', description: '/docs/references/users/update-user-phone.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1617,7 +1621,7 @@ App::patch('/v1/users/:userId/verification') group: 'users', name: 'updateEmailVerification', description: '/docs/references/users/update-user-email-verification.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1655,7 +1659,7 @@ App::patch('/v1/users/:userId/prefs') group: 'users', name: 'updatePrefs', description: '/docs/references/users/update-user-prefs.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1802,7 +1806,7 @@ App::patch('/v1/users/:userId/mfa') group: 'users', name: 'updateMfa', description: '/docs/references/users/update-user-mfa.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1820,7 +1824,7 @@ App::patch('/v1/users/:userId/mfa') group: 'users', name: 'updateMFA', description: '/docs/references/users/update-user-mfa.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1862,7 +1866,7 @@ App::get('/v1/users/:userId/mfa/factors') group: 'mfa', name: 'listMfaFactors', description: '/docs/references/users/list-mfa-factors.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1880,7 +1884,7 @@ App::get('/v1/users/:userId/mfa/factors') group: 'mfa', name: 'listMFAFactors', description: '/docs/references/users/list-mfa-factors.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1921,7 +1925,7 @@ App::get('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'getMfaRecoveryCodes', description: '/docs/references/users/get-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1939,7 +1943,7 @@ App::get('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'getMFARecoveryCodes', description: '/docs/references/users/get-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -1986,7 +1990,7 @@ App::patch('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'createMfaRecoveryCodes', description: '/docs/references/users/create-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2004,7 +2008,7 @@ App::patch('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'createMFARecoveryCodes', description: '/docs/references/users/create-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2058,7 +2062,7 @@ App::put('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'updateMfaRecoveryCodes', description: '/docs/references/users/update-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -2076,7 +2080,7 @@ App::put('/v1/users/:userId/mfa/recovery-codes') group: 'mfa', name: 'updateMFARecoveryCodes', description: '/docs/references/users/update-mfa-recovery-codes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -2130,7 +2134,7 @@ App::delete('/v1/users/:userId/mfa/authenticators/:type') group: 'mfa', name: 'deleteMfaAuthenticator', description: '/docs/references/users/delete-mfa-authenticator.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2149,7 +2153,7 @@ App::delete('/v1/users/:userId/mfa/authenticators/:type') group: 'mfa', name: 'deleteMFAAuthenticator', description: '/docs/references/users/delete-mfa-authenticator.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2198,7 +2202,7 @@ App::post('/v1/users/:userId/sessions') group: 'sessions', name: 'createSession', description: '/docs/references/users/create-session.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2290,7 +2294,7 @@ App::post('/v1/users/:userId/tokens') group: 'sessions', name: 'createToken', description: '/docs/references/users/create-token.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -2355,7 +2359,7 @@ App::delete('/v1/users/:userId/sessions/:sessionId') group: 'sessions', name: 'deleteSession', description: '/docs/references/users/delete-user-session.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2406,7 +2410,7 @@ App::delete('/v1/users/:userId/sessions') group: 'sessions', name: 'deleteSessions', description: '/docs/references/users/delete-user-sessions.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2456,7 +2460,7 @@ App::delete('/v1/users/:userId') group: 'users', name: 'delete', description: '/docs/references/users/delete.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2566,7 +2570,7 @@ App::delete('/v1/users/identities/:identityId') group: 'identities', name: 'deleteIdentity', description: '/docs/references/users/delete-identity.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -2606,7 +2610,7 @@ App::post('/v1/users/:userId/jwts') group: 'sessions', name: 'createJWT', description: '/docs/references/users/create-user-jwt.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, diff --git a/app/controllers/general.php b/app/controllers/general.php index 30bb46ed9a..23de89af27 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -458,10 +458,13 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw $vars[$var->getAttribute('key')] = $var->getAttribute('value', ''); } + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; + // Appwrite vars if ($type === 'function') { $vars = \array_merge($vars, [ - 'APPWRITE_FUNCTION_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_FUNCTION_API_ENDPOINT' => $endpoint, 'APPWRITE_FUNCTION_ID' => $resource->getId(), 'APPWRITE_FUNCTION_NAME' => $resource->getAttribute('name'), 'APPWRITE_FUNCTION_DEPLOYMENT' => $deployment->getId(), @@ -473,7 +476,7 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw ]); } elseif ($type === 'site') { $vars = \array_merge($vars, [ - 'APPWRITE_SITE_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_SITE_API_ENDPOINT' => $endpoint, 'APPWRITE_SITE_ID' => $resource->getId(), 'APPWRITE_SITE_NAME' => $resource->getAttribute('name'), 'APPWRITE_SITE_DEPLOYMENT' => $deployment->getId(), @@ -1045,18 +1048,15 @@ App::init() if (empty($domain->get()) || !$domain->isKnown() || $domain->isTest()) { $cache[$domain->get()] = false; Config::setParam('hostnames', $cache); - Console::warning($domain->get() . ' is not a publicly accessible domain. Skipping SSL certificate generation.'); return; } if (str_starts_with($request->getURI(), '/.well-known/acme-challenge')) { - Console::warning('Skipping SSL certificates generation on ACME challenge.'); return; } // 3. Check if domain is a main domain if (!in_array($domain->get(), $platformHostnames)) { - Console::warning($domain->get() . ' is not a main domain. Skipping SSL certificate generation.'); return; } diff --git a/app/controllers/mock.php b/app/controllers/mock.php index d78bb61481..6f092a5d19 100644 --- a/app/controllers/mock.php +++ b/app/controllers/mock.php @@ -117,6 +117,28 @@ App::get('/v1/mock/tests/general/oauth2/user') 'id' => 1, 'name' => 'User Name', 'email' => 'useroauth@localhost.test', + 'verified' => true, + ]); + }); + +App::get('/v1/mock/tests/general/oauth2/user-unverified') + ->desc('OAuth2 User Unverified') + ->groups(['mock']) + ->label('scope', 'public') + ->label('docs', false) + ->param('token', '', new Text(100), 'OAuth2 Access Token.') + ->inject('response') + ->action(function (string $token, Response $response) { + + if ($token != '123456') { + throw new Exception(Exception::GENERAL_MOCK, 'Invalid token'); + } + + $response->json([ + 'id' => 2, + 'name' => 'User Name Unverified', + 'email' => 'useroauthunverified@localhost.test', + 'verified' => false, ]); }); diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 8467468ed6..83b56f626a 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -628,7 +628,6 @@ App::init() $queueForFunctions->setPlatform($platform); $queueForBuilds->setPlatform($platform); $queueForMails->setPlatform($platform); - $queueForMigrations->setPlatform($platform); // Clone the queues, to prevent events triggered by the database listener // from overwriting the events that are supposed to be triggered in the shutdown hook. diff --git a/app/controllers/web/console.php b/app/controllers/web/console.php deleted file mode 100644 index c02e140270..0000000000 --- a/app/controllers/web/console.php +++ /dev/null @@ -1,43 +0,0 @@ -groups(['web']) - ->inject('request') - ->inject('response') - ->action(function (Request $request, Response $response) { - $response - ->addHeader('X-Frame-Options', 'SAMEORIGIN') // Avoid console and homepage from showing in iframes - ->addHeader('X-XSS-Protection', '1; mode=block; report=/v1/xss?url=' . \urlencode($request->getURI())) - ->addHeader('X-UA-Compatible', 'IE=Edge') // Deny IE browsers from going into quirks mode - ; - }); - -App::get('/') - ->alias('auth/*') - ->alias('/invite') - ->alias('/login') - ->alias('/mfa') - ->alias('/card/*') - ->alias('/recover') - ->alias('/register/*') - ->groups(['web']) - ->label('permission', 'public') - ->label('scope', 'home') - ->inject('request') - ->inject('response') - ->action(function (Request $request, Response $response) { - $url = parse_url($request->getURI()); - $target = "/console{$url['path']}"; - $params = $request->getParams(); - if (!empty($params)) { - $target .= "?" . \http_build_query($params); - } - if ($url['fragment'] ?? false) { - $target .= "#{$url['fragment']}"; - } - $response->redirect($target); - }); diff --git a/app/http.php b/app/http.php index 1bd3e97e69..b7f857da48 100644 --- a/app/http.php +++ b/app/http.php @@ -12,6 +12,8 @@ use Swoole\Process; use Swoole\Table; use Swoole\Timer; use Utopia\App; +use Utopia\Audit\Adapter\Database as AdapterDatabase; +use Utopia\Audit\Adapter\SQL as AuditAdapterSQL; use Utopia\Audit\Audit; use Utopia\CLI\Console; use Utopia\Compression\Compression; @@ -260,8 +262,9 @@ $http->on(Constant::EVENT_START, function (Server $http) use ($payloadSize, $reg // create appwrite database, `dbForPlatform` is a direct access call. createDatabase($app, 'dbForPlatform', 'appwrite', $collections['console'], $pools, function (Database $dbForPlatform) use ($collections) { - if ($dbForPlatform->getCollection(Audit::COLLECTION)->isEmpty()) { - $audit = new Audit($dbForPlatform); + if ($dbForPlatform->getCollection(AuditAdapterSQL::COLLECTION)->isEmpty()) { + $adapter = new AdapterDatabase($dbForPlatform); + $audit = new Audit($adapter); $audit->setup(); } @@ -389,8 +392,9 @@ $http->on(Constant::EVENT_START, function (Server $http) use ($payloadSize, $reg Console::success('[Setup] - Skip: metadata table already exists'); } - if ($dbForProject->getCollection(Audit::COLLECTION)->isEmpty()) { - $audit = new Audit($dbForProject); + if ($dbForProject->getCollection(AuditAdapterSQL::COLLECTION)->isEmpty()) { + $adapter = new AdapterDatabase($dbForProject); + $audit = new Audit($adapter); $audit->setup(); } diff --git a/app/init/constants.php b/app/init/constants.php index 9c771edb0a..78b8e3a5ae 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -60,6 +60,7 @@ const APP_DATABASE_TIMEOUT_MILLISECONDS_API = 15 * 1000; // 15 seconds const APP_DATABASE_TIMEOUT_MILLISECONDS_WORKER = 300 * 1000; // 5 minutes const APP_DATABASE_TIMEOUT_MILLISECONDS_TASK = 300 * 1000; // 5 minutes const APP_DATABASE_QUERY_MAX_VALUES = 500; +const APP_DATABASE_QUERY_MAX_VALUES_WORKER = 5000; const APP_DATABASE_ENCRYPT_SIZE_MIN = 150; const APP_DATABASE_TXN_TTL_MIN = 60; // 1 minute const APP_DATABASE_TXN_TTL_MAX = 3600; // 1 hour @@ -89,9 +90,9 @@ const APP_SOCIAL_YOUTUBE = 'https://www.youtube.com/c/appwrite?sub_confirmation= const APP_COMPUTE_CPUS_DEFAULT = 0.5; const APP_COMPUTE_MEMORY_DEFAULT = 512; const APP_COMPUTE_SPECIFICATION_DEFAULT = Specification::S_1VCPU_512MB; -const APP_PLATFORM_SERVER = 'server'; -const APP_PLATFORM_CLIENT = 'client'; -const APP_PLATFORM_CONSOLE = 'console'; +const APP_SDK_PLATFORM_SERVER = 'server'; +const APP_SDK_PLATFORM_CLIENT = 'client'; +const APP_SDK_PLATFORM_CONSOLE = 'console'; const APP_VCS_GITHUB_USERNAME = 'Appwrite'; const APP_VCS_GITHUB_EMAIL = 'team@appwrite.io'; const APP_VCS_GITHUB_URL = 'https://github.com/TeamAppwrite'; @@ -208,6 +209,12 @@ const DELETE_TYPE_SESSION_TARGETS = 'session_targets'; const DELETE_TYPE_CSV_EXPORTS = 'csv_exports'; const DELETE_TYPE_MAINTENANCE = 'maintenance'; +// Rule statuses +const RULE_STATUS_CREATED = 'created'; // This is also the status when domain DNS verification fails. +const RULE_STATUS_CERTIFICATE_GENERATING = 'verifying'; +const RULE_STATUS_CERTIFICATE_GENERATION_FAILED = 'unverified'; +const RULE_STATUS_VERIFIED = 'verified'; + // Message types const MESSAGE_SEND_TYPE_INTERNAL = 'internal'; const MESSAGE_SEND_TYPE_EXTERNAL = 'external'; diff --git a/app/init/database/filters.php b/app/init/database/filters.php index c4cfd1ac81..49c13c9a0b 100644 --- a/app/init/database/filters.php +++ b/app/init/database/filters.php @@ -136,7 +136,13 @@ Database::addFilter( function (mixed $value, Document $document, Database $database) { return $database ->find('keys', [ - Query::equal('projectInternalId', [$document->getSequence()]), + Query::or([ + Query::equal('projectInternalId', [$document->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$document->getSequence()]), + ]) + ]), Query::limit(APP_LIMIT_SUBQUERY), ]); } diff --git a/app/init/resources.php b/app/init/resources.php index 6351dae478..d56354c14b 100644 --- a/app/init/resources.php +++ b/app/init/resources.php @@ -4,7 +4,7 @@ use Ahc\Jwt\JWT; use Ahc\Jwt\JWTException; use Appwrite\Auth\Key; use Appwrite\Databases\TransactionState; -use Appwrite\Event\Audit; +use Appwrite\Event\Audit as AuditEvent; use Appwrite\Event\Build; use Appwrite\Event\Certificate; use Appwrite\Event\Database as EventDatabase; @@ -30,6 +30,8 @@ use Appwrite\Utopia\Response; use Executor\Executor; use Utopia\Abuse\Adapters\TimeLimit\Redis as TimeLimitRedis; use Utopia\App; +use Utopia\Audit\Adapter\Database as AdapterDatabase; +use Utopia\Audit\Audit; use Utopia\Auth\Hashes\Argon2; use Utopia\Auth\Hashes\Sha; use Utopia\Auth\Proofs\Code; @@ -146,7 +148,7 @@ App::setResource('queueForStatsUsage', function (Publisher $publisher) { return new StatsUsage($publisher); }, ['publisher']); App::setResource('queueForAudits', function (Publisher $publisher) { - return new Audit($publisher); + return new AuditEvent($publisher); }, ['publisher']); App::setResource('queueForFunctions', function (Publisher $publisher) { return new Func($publisher); @@ -164,21 +166,9 @@ App::setResource('queueForStatsResources', function (Publisher $publisher) { /** * Platform configuration */ -App::setResource('platform', function (Request $request) { - $platform = Config::getParam('platform', []); - $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; - - $port = ''; - if ($request->getPort() === '443' && $protocol !== 'https') { - $port = ':443'; - } - if ($request->getPort() === '80' && $protocol !== 'http') { - $port = ':80'; - } - $platform['endpoint'] = "$protocol://{$platform['apiHostname']}{$port}/v1"; - - return $platform; -}, ['request']); +App::setResource('platform', function () { + return Config::getParam('platform', []); +}, []); /** * List of allowed request hostnames for the request. @@ -287,12 +277,14 @@ App::setResource('cors', fn (array $allowedHostnames) => new Cors( 'X-Appwrite-ID', 'X-Appwrite-Timestamp', 'X-Appwrite-Session', + 'X-Appwrite-Platform', // for `$platform` injection and SDK generator // SDK generator 'X-SDK-Version', 'X-SDK-Name', 'X-SDK-Language', 'X-SDK-Platform', 'X-SDK-GraphQL', + 'X-SDK-Profile', // Caching 'Range', 'Cache-Control', @@ -652,6 +644,11 @@ App::setResource('getLogsDB', function (Group $pools, Cache $cache) { }; }, ['pools', 'cache']); +App::setResource('audit', function ($dbForProject) { + $adapter = new AdapterDatabase($dbForProject); + return new Audit($adapter); +}, ['dbForProject']); + App::setResource('telemetry', fn () => new NoTelemetry()); App::setResource('cache', function (Group $pools, Telemetry $telemetry) { @@ -831,7 +828,7 @@ App::setResource('passwordsDictionary', function ($register) { App::setResource('servers', function () { $platforms = Config::getParam('sdks'); - $server = $platforms[APP_PLATFORM_SERVER]; + $server = $platforms[APP_SDK_PLATFORM_SERVER]; $languages = array_map(function ($language) { return strtolower($language['name']); diff --git a/app/worker.php b/app/worker.php index ce210d7c8b..7868861cf4 100644 --- a/app/worker.php +++ b/app/worker.php @@ -21,6 +21,8 @@ use Appwrite\Utopia\Database\Documents\User; use Executor\Executor; use Swoole\Runtime; use Utopia\Abuse\Adapters\TimeLimit\Redis as TimeLimitRedis; +use Utopia\Audit\Adapter\Database as AdapterDatabase; +use Utopia\Audit\Audit as UtopiaAudit; use Utopia\Cache\Adapter\Pool as CachePool; use Utopia\Cache\Adapter\Sharding; use Utopia\Cache\Cache; @@ -183,7 +185,7 @@ Server::setResource('getLogsDB', function (Group $pools, Cache $cache) { ->setSharedTables(true) ->setNamespace('logsV1') ->setTimeout(APP_DATABASE_TIMEOUT_MILLISECONDS_WORKER) - ->setMaxQueryValues(APP_DATABASE_QUERY_MAX_VALUES); + ->setMaxQueryValues(APP_DATABASE_QUERY_MAX_VALUES_WORKER); // set tenant if ($project !== null && !$project->isEmpty() && $project->getId() !== 'console') { @@ -411,6 +413,13 @@ Server::setResource('logError', function (Registry $register, Document $project) $log->addExtra('line', $error->getLine()); $log->addExtra('trace', $error->getTraceAsString()); + if ($error->getPrevious() !== null) { + if ($error->getPrevious()->getMessage() != $error->getMessage()) { + $log->addExtra('previousMessage', $error->getPrevious()->getMessage()); + } + $log->addExtra('previousFile', $error->getPrevious()->getFile()); + $log->addExtra('previousLine', $error->getPrevious()->getLine()); + } foreach (($extras ?? []) as $key => $value) { $log->addExtra($key, $value); @@ -431,11 +440,31 @@ Server::setResource('logError', function (Registry $register, Document $project) Console::warning("Failed: {$error->getMessage()}"); Console::warning($error->getTraceAsString()); + + if ($error->getPrevious() !== null) { + if ($error->getPrevious()->getMessage() != $error->getMessage()) { + Console::warning("Previous Failed: {$error->getPrevious()->getMessage()}"); + } + Console::warning("Previous File: {$error->getPrevious()->getFile()} Line: {$error->getPrevious()->getLine()}"); + } }; }, ['register', 'project']); Server::setResource('executor', fn () => new Executor()); +Server::setResource('getAudit', function (Database $dbForPlatform, callable $getProjectDB) { + return function (Document $project) use ($dbForPlatform, $getProjectDB) { + if ($project->isEmpty() || $project->getId() === 'console') { + $adapter = new AdapterDatabase($dbForPlatform); + return new UtopiaAudit($adapter); + } + + $dbForProject = $getProjectDB($project); + $adapter = new AdapterDatabase($dbForProject); + return new UtopiaAudit($adapter); + }; +}, ['dbForPlatform', 'getProjectDB']); + $pools = $register->get('pools'); $platform = new Appwrite(); $args = $platform->getEnv('argv'); diff --git a/bin/doctor b/bin/doctor index b2a4547156..16a693381c 100755 --- a/bin/doctor +++ b/bin/doctor @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php doctor $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php doctor "$@" diff --git a/bin/install b/bin/install index e669e91e6b..115f088014 100755 --- a/bin/install +++ b/bin/install @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php install $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php install "$@" \ No newline at end of file diff --git a/bin/interval b/bin/interval new file mode 100644 index 0000000000..c7afa68c51 --- /dev/null +++ b/bin/interval @@ -0,0 +1,3 @@ +#!/bin/sh + +exec php /usr/src/code/app/cli.php interval "$@" \ No newline at end of file diff --git a/bin/maintenance b/bin/maintenance index 099551cb32..2311a834e0 100644 --- a/bin/maintenance +++ b/bin/maintenance @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php maintenance $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php maintenance "$@" \ No newline at end of file diff --git a/bin/migrate b/bin/migrate index 28ebbd19e7..6527f1f8f8 100755 --- a/bin/migrate +++ b/bin/migrate @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php migrate $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php migrate "$@" \ No newline at end of file diff --git a/bin/queue-count-failed b/bin/queue-count-failed index ca8f2b4291..904514e4c2 100644 --- a/bin/queue-count-failed +++ b/bin/queue-count-failed @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=failed $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=failed "$@" \ No newline at end of file diff --git a/bin/queue-count-processing b/bin/queue-count-processing index 325d86111d..2bc906d3d0 100644 --- a/bin/queue-count-processing +++ b/bin/queue-count-processing @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=processing $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=processing "$@" \ No newline at end of file diff --git a/bin/queue-count-success b/bin/queue-count-success index 34fc54b4c1..71cafa990b 100644 --- a/bin/queue-count-success +++ b/bin/queue-count-success @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=success $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=success "$@" \ No newline at end of file diff --git a/bin/queue-retry b/bin/queue-retry index f9473e6b07..357917915d 100644 --- a/bin/queue-retry +++ b/bin/queue-retry @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-retry $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-retry "$@" \ No newline at end of file diff --git a/bin/realtime b/bin/realtime index e43dc269e0..2022808e2a 100644 --- a/bin/realtime +++ b/bin/realtime @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/realtime.php $@ \ No newline at end of file +exec php /usr/src/code/app/realtime.php "$@" \ No newline at end of file diff --git a/bin/schedule-executions b/bin/schedule-executions index f239cad206..b15fad0e69 100644 --- a/bin/schedule-executions +++ b/bin/schedule-executions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-executions $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-executions "$@" \ No newline at end of file diff --git a/bin/schedule-functions b/bin/schedule-functions index 10edbe8226..3183b24351 100644 --- a/bin/schedule-functions +++ b/bin/schedule-functions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-functions $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-functions "$@" \ No newline at end of file diff --git a/bin/schedule-messages b/bin/schedule-messages index fa7219f6ea..08f7c7b5f5 100644 --- a/bin/schedule-messages +++ b/bin/schedule-messages @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-messages $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-messages "$@" \ No newline at end of file diff --git a/bin/screenshot b/bin/screenshot index 4d8ceb998f..ee6f0932cc 100755 --- a/bin/screenshot +++ b/bin/screenshot @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php screenshot $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php screenshot "$@" \ No newline at end of file diff --git a/bin/sdks b/bin/sdks index ab73414829..f5ae6a186d 100644 --- a/bin/sdks +++ b/bin/sdks @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php sdks $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php sdks "$@" \ No newline at end of file diff --git a/bin/specs b/bin/specs index e77d1487d4..ffc0fc22e8 100644 --- a/bin/specs +++ b/bin/specs @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php specs $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php specs "$@" \ No newline at end of file diff --git a/bin/ssl b/bin/ssl index 83dcf6a026..99748bb27d 100755 --- a/bin/ssl +++ b/bin/ssl @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php ssl $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php ssl "$@" \ No newline at end of file diff --git a/bin/stats-resources b/bin/stats-resources index 3104bab896..622a3b2b05 100644 --- a/bin/stats-resources +++ b/bin/stats-resources @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php stats-resources $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php stats-resources "$@" \ No newline at end of file diff --git a/bin/test b/bin/test index a2153fc536..0c0ec83efe 100755 --- a/bin/test +++ b/bin/test @@ -1,3 +1,3 @@ #!/bin/sh -/usr/src/code/vendor/bin/phpunit --configuration /usr/src/code/phpunit.xml $@ \ No newline at end of file +exec /usr/src/code/vendor/bin/phpunit --configuration /usr/src/code/phpunit.xml "$@" \ No newline at end of file diff --git a/bin/upgrade b/bin/upgrade index ce32b9ca30..df5f60216b 100755 --- a/bin/upgrade +++ b/bin/upgrade @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php upgrade $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php upgrade "$@" \ No newline at end of file diff --git a/bin/vars b/bin/vars index 19e3f1ebf2..d7bb615117 100644 --- a/bin/vars +++ b/bin/vars @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php vars $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php vars "$@" \ No newline at end of file diff --git a/bin/worker-audits b/bin/worker-audits index 3df65d65e8..b7eb47f417 100644 --- a/bin/worker-audits +++ b/bin/worker-audits @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php audits $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php audits "$@" \ No newline at end of file diff --git a/bin/worker-builds b/bin/worker-builds index 3400111cb5..a646625678 100644 --- a/bin/worker-builds +++ b/bin/worker-builds @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php builds $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php builds "$@" \ No newline at end of file diff --git a/bin/worker-certificates b/bin/worker-certificates index 901688c4c8..33be1a3c9b 100755 --- a/bin/worker-certificates +++ b/bin/worker-certificates @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php certificates $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php certificates "$@" \ No newline at end of file diff --git a/bin/worker-databases b/bin/worker-databases index 61e09aa9f1..32822ed068 100644 --- a/bin/worker-databases +++ b/bin/worker-databases @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php databases $@ +exec php /usr/src/code/app/worker.php databases "$@" diff --git a/bin/worker-deletes b/bin/worker-deletes index 7c9793e6cb..00c216f2e9 100644 --- a/bin/worker-deletes +++ b/bin/worker-deletes @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php deletes $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php deletes "$@" \ No newline at end of file diff --git a/bin/worker-functions b/bin/worker-functions index 4757b1b72a..c24cb08821 100644 --- a/bin/worker-functions +++ b/bin/worker-functions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php functions $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php functions "$@" \ No newline at end of file diff --git a/bin/worker-mails b/bin/worker-mails index fee8a96da7..3b1415f45f 100644 --- a/bin/worker-mails +++ b/bin/worker-mails @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php mails $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php mails "$@" \ No newline at end of file diff --git a/bin/worker-messaging b/bin/worker-messaging index e6edf80f06..34e85ac485 100644 --- a/bin/worker-messaging +++ b/bin/worker-messaging @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php messaging $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php messaging "$@" \ No newline at end of file diff --git a/bin/worker-migrations b/bin/worker-migrations index 32d4aef468..3fa669edc6 100644 --- a/bin/worker-migrations +++ b/bin/worker-migrations @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php migrations $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php migrations "$@" \ No newline at end of file diff --git a/bin/worker-stats-resources b/bin/worker-stats-resources index 9c5d2bebff..44bfa6e15f 100644 --- a/bin/worker-stats-resources +++ b/bin/worker-stats-resources @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php stats-resources $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php stats-resources "$@" \ No newline at end of file diff --git a/bin/worker-stats-usage b/bin/worker-stats-usage index 2c267d805e..544ea71ee3 100644 --- a/bin/worker-stats-usage +++ b/bin/worker-stats-usage @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php stats-usage $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php stats-usage "$@" \ No newline at end of file diff --git a/bin/worker-webhooks b/bin/worker-webhooks index 93f8027a81..e3c9e9471e 100644 --- a/bin/worker-webhooks +++ b/bin/worker-webhooks @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php webhooks $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php webhooks "$@" \ No newline at end of file diff --git a/composer.json b/composer.json index d32b739311..844a10d7e8 100644 --- a/composer.json +++ b/composer.json @@ -47,12 +47,12 @@ "appwrite/php-clamav": "2.0.*", "utopia-php/abuse": "1.*", "utopia-php/analytics": "0.10.*", - "utopia-php/audit": "1.*", + "utopia-php/audit": "2.0.2-rc1", "utopia-php/auth": "0.5.*", "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "1.*.*", - "utopia-php/database": "3.*", + "utopia-php/database": "3.*.*", "utopia-php/detector": "0.2.*", "utopia-php/domains": "0.9.*", "utopia-php/emails": "0.6.*", @@ -109,4 +109,4 @@ "tbachert/spi": true } } -} +} \ No newline at end of file diff --git a/composer.lock b/composer.lock index 47a32cf774..c678d1c01e 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": "7c9cb03eb5267f1e7a3ffc037ae22b6a", + "content-hash": "b873febd2b03c32ec61a57b690cc44a2", "packages": [ { "name": "adhocore/jwt", @@ -2004,16 +2004,16 @@ }, { "name": "phpseclib/phpseclib", - "version": "3.0.47", + "version": "3.0.48", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d" + "reference": "64065a5679c50acb886e82c07aa139b0f757bb89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/9d6ca36a6c2dd434765b1071b2644a1c683b385d", - "reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/64065a5679c50acb886e82c07aa139b0f757bb89", + "reference": "64065a5679c50acb886e82c07aa139b0f757bb89", "shasum": "" }, "require": { @@ -2094,7 +2094,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.47" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.48" }, "funding": [ { @@ -2110,7 +2110,7 @@ "type": "tidelift" } ], - "time": "2025-10-06T01:07:24+00:00" + "time": "2025-12-15T11:51:42+00:00" }, { "name": "psr/container", @@ -2453,20 +2453,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.1", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -2525,9 +2525,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.1" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "time": "2025-09-04T20:59:21+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "spomky-labs/otphp", @@ -2673,16 +2673,16 @@ }, { "name": "symfony/http-client", - "version": "v7.4.1", + "version": "v7.4.3", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "26cc224ea7103dda90e9694d9e139a389092d007" + "reference": "d01dfac1e0dc99f18da48b18101c23ce57929616" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/26cc224ea7103dda90e9694d9e139a389092d007", - "reference": "26cc224ea7103dda90e9694d9e139a389092d007", + "url": "https://api.github.com/repos/symfony/http-client/zipball/d01dfac1e0dc99f18da48b18101c23ce57929616", + "reference": "d01dfac1e0dc99f18da48b18101c23ce57929616", "shasum": "" }, "require": { @@ -2750,7 +2750,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.1" + "source": "https://github.com/symfony/http-client/tree/v7.4.3" }, "funding": [ { @@ -2770,7 +2770,7 @@ "type": "tidelift" } ], - "time": "2025-12-04T21:12:57+00:00" + "time": "2025-12-23T14:50:43+00:00" }, { "name": "symfony/http-client-contracts", @@ -3552,21 +3552,23 @@ }, { "name": "utopia-php/audit", - "version": "1.0.2", + "version": "2.0.2-rc1", "source": { "type": "git", "url": "https://github.com/utopia-php/audit.git", - "reference": "8c17065c2473d4ca799f65585ca74eb53e1be211" + "reference": "7b35dab40bce66bda56eeeacd2bbcbf1e823f05f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/audit/zipball/8c17065c2473d4ca799f65585ca74eb53e1be211", - "reference": "8c17065c2473d4ca799f65585ca74eb53e1be211", + "url": "https://api.github.com/repos/utopia-php/audit/zipball/7b35dab40bce66bda56eeeacd2bbcbf1e823f05f", + "reference": "7b35dab40bce66bda56eeeacd2bbcbf1e823f05f", "shasum": "" }, "require": { "php": ">=8.0", - "utopia-php/database": "*" + "utopia-php/database": "3.*", + "utopia-php/fetch": "^0.4.2", + "utopia-php/validators": "^0.1.0" }, "require-dev": { "laravel/pint": "1.*", @@ -3593,9 +3595,9 @@ ], "support": { "issues": "https://github.com/utopia-php/audit/issues", - "source": "https://github.com/utopia-php/audit/tree/1.0.2" + "source": "https://github.com/utopia-php/audit/tree/2.0.2-rc1" }, - "time": "2025-10-20T07:14:26+00:00" + "time": "2025-12-24T01:20:43+00:00" }, { "name": "utopia-php/auth", @@ -3654,16 +3656,16 @@ }, { "name": "utopia-php/cache", - "version": "0.13.1", + "version": "0.13.2", "source": { "type": "git", "url": "https://github.com/utopia-php/cache.git", - "reference": "97220cb3b3822b166ee016d1646e2ae2815dc540" + "reference": "5768498c9f451482f0bf3eede4d6452ddcd4a0f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cache/zipball/97220cb3b3822b166ee016d1646e2ae2815dc540", - "reference": "97220cb3b3822b166ee016d1646e2ae2815dc540", + "url": "https://api.github.com/repos/utopia-php/cache/zipball/5768498c9f451482f0bf3eede4d6452ddcd4a0f6", + "reference": "5768498c9f451482f0bf3eede4d6452ddcd4a0f6", "shasum": "" }, "require": { @@ -3672,7 +3674,7 @@ "ext-redis": "*", "php": ">=8.0", "utopia-php/pools": "0.8.*", - "utopia-php/telemetry": "0.1.*" + "utopia-php/telemetry": "*" }, "require-dev": { "laravel/pint": "1.2.*", @@ -3700,9 +3702,9 @@ ], "support": { "issues": "https://github.com/utopia-php/cache/issues", - "source": "https://github.com/utopia-php/cache/tree/0.13.1" + "source": "https://github.com/utopia-php/cache/tree/0.13.2" }, - "time": "2025-05-09T14:43:52+00:00" + "time": "2025-12-17T08:55:43+00:00" }, { "name": "utopia-php/cli", @@ -3896,16 +3898,16 @@ }, { "name": "utopia-php/database", - "version": "3.5.0", + "version": "3.6.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "5da71b65a6123ce2e78795522b05b7458aabfbd7" + "reference": "c8c1b2f5770245dd4006e2680681e3efbe8b1fa7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/5da71b65a6123ce2e78795522b05b7458aabfbd7", - "reference": "5da71b65a6123ce2e78795522b05b7458aabfbd7", + "url": "https://api.github.com/repos/utopia-php/database/zipball/c8c1b2f5770245dd4006e2680681e3efbe8b1fa7", + "reference": "c8c1b2f5770245dd4006e2680681e3efbe8b1fa7", "shasum": "" }, "require": { @@ -3948,9 +3950,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/3.5.0" + "source": "https://github.com/utopia-php/database/tree/3.6.1" }, - "time": "2025-11-18T08:11:01+00:00" + "time": "2025-12-16T09:55:41+00:00" }, { "name": "utopia-php/detector", @@ -3999,23 +4001,23 @@ }, { "name": "utopia-php/dns", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/dns.git", - "reference": "dce3453364a4524b7250db8d8eb74820b814409e" + "reference": "5daf8b683dad877491c4df84c6be24850b2f363b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/dns/zipball/dce3453364a4524b7250db8d8eb74820b814409e", - "reference": "dce3453364a4524b7250db8d8eb74820b814409e", + "url": "https://api.github.com/repos/utopia-php/dns/zipball/5daf8b683dad877491c4df84c6be24850b2f363b", + "reference": "5daf8b683dad877491c4df84c6be24850b2f363b", "shasum": "" }, "require": { "php": ">=8.3", "utopia-php/console": "0.0.*", "utopia-php/domains": "0.9.*", - "utopia-php/telemetry": "0.1.*", + "utopia-php/telemetry": "*", "utopia-php/validators": "0.*" }, "require-dev": { @@ -4050,9 +4052,9 @@ ], "support": { "issues": "https://github.com/utopia-php/dns/issues", - "source": "https://github.com/utopia-php/dns/tree/1.4.0" + "source": "https://github.com/utopia-php/dns/tree/1.4.1" }, - "time": "2025-12-05T10:09:00+00:00" + "time": "2025-12-17T09:09:08+00:00" }, { "name": "utopia-php/domains", @@ -4264,16 +4266,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.34", + "version": "0.33.35", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "76def92594c32504ec80eaacdb60ff8fad73c856" + "reference": "82b139fb04f30045db51b0d322224f222da32313" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/76def92594c32504ec80eaacdb60ff8fad73c856", - "reference": "76def92594c32504ec80eaacdb60ff8fad73c856", + "url": "https://api.github.com/repos/utopia-php/http/zipball/82b139fb04f30045db51b0d322224f222da32313", + "reference": "82b139fb04f30045db51b0d322224f222da32313", "shasum": "" }, "require": { @@ -4306,9 +4308,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.34" + "source": "https://github.com/utopia-php/http/tree/0.33.35" }, - "time": "2025-12-08T07:55:31+00:00" + "time": "2025-12-12T08:33:52+00:00" }, { "name": "utopia-php/image", @@ -4730,21 +4732,21 @@ }, { "name": "utopia-php/pools", - "version": "0.8.2", + "version": "0.8.3", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "05c67aba42eb68ac65489cc1e7fc5db83db2dd4d" + "reference": "ad7d6ba946376e81c603204285ce9a674b6502b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/05c67aba42eb68ac65489cc1e7fc5db83db2dd4d", - "reference": "05c67aba42eb68ac65489cc1e7fc5db83db2dd4d", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/ad7d6ba946376e81c603204285ce9a674b6502b8", + "reference": "ad7d6ba946376e81c603204285ce9a674b6502b8", "shasum": "" }, "require": { - "php": ">=8.3", - "utopia-php/telemetry": "0.1.*" + "php": ">=8.4", + "utopia-php/telemetry": "*" }, "require-dev": { "laravel/pint": "1.*", @@ -4776,9 +4778,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/0.8.2" + "source": "https://github.com/utopia-php/pools/tree/0.8.3" }, - "time": "2025-04-17T02:04:54+00:00" + "time": "2025-12-17T09:35:18+00:00" }, { "name": "utopia-php/preloader", @@ -4835,16 +4837,16 @@ }, { "name": "utopia-php/queue", - "version": "0.11.1", + "version": "0.11.2", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6" + "reference": "a854f7c4abc18e0eca55fc5608cd7088d71eb19f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", - "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/a854f7c4abc18e0eca55fc5608cd7088d71eb19f", + "reference": "a854f7c4abc18e0eca55fc5608cd7088d71eb19f", "shasum": "" }, "require": { @@ -4854,7 +4856,7 @@ "utopia-php/fetch": "0.4.*", "utopia-php/framework": "0.33.*", "utopia-php/pools": "0.8.*", - "utopia-php/telemetry": "0.1.*" + "utopia-php/telemetry": "*" }, "require-dev": { "ext-redis": "*", @@ -4895,9 +4897,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.11.1" + "source": "https://github.com/utopia-php/queue/tree/0.11.2" }, - "time": "2025-05-30T11:50:34+00:00" + "time": "2025-12-17T09:32:35+00:00" }, { "name": "utopia-php/registry", @@ -4953,16 +4955,16 @@ }, { "name": "utopia-php/storage", - "version": "0.18.16", + "version": "0.18.18", "source": { "type": "git", "url": "https://github.com/utopia-php/storage.git", - "reference": "0c7b8ad68de8e1eb23ccc8af9f27a30eb832930f" + "reference": "acaea524f315f87b8811a2c34450fe2b502f49d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/storage/zipball/0c7b8ad68de8e1eb23ccc8af9f27a30eb832930f", - "reference": "0c7b8ad68de8e1eb23ccc8af9f27a30eb832930f", + "url": "https://api.github.com/repos/utopia-php/storage/zipball/acaea524f315f87b8811a2c34450fe2b502f49d8", + "reference": "acaea524f315f87b8811a2c34450fe2b502f49d8", "shasum": "" }, "require": { @@ -5005,28 +5007,28 @@ ], "support": { "issues": "https://github.com/utopia-php/storage/issues", - "source": "https://github.com/utopia-php/storage/tree/0.18.16" + "source": "https://github.com/utopia-php/storage/tree/0.18.18" }, - "time": "2025-12-03T02:15:45+00:00" + "time": "2025-12-17T07:33:45+00:00" }, { "name": "utopia-php/swoole", - "version": "0.8.4", + "version": "0.8.5", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "150c30700e738c52348cce9ed0e0f0ff96872081" + "reference": "e42b6b8e44c457a7b35d8a857d7af1d67d667c58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/150c30700e738c52348cce9ed0e0f0ff96872081", - "reference": "150c30700e738c52348cce9ed0e0f0ff96872081", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/e42b6b8e44c457a7b35d8a857d7af1d67d667c58", + "reference": "e42b6b8e44c457a7b35d8a857d7af1d67d667c58", "shasum": "" }, "require": { "ext-swoole": "*", "php": ">=8.0", - "utopia-php/framework": "0.33.*" + "utopia-php/framework": "0.33.35" }, "require-dev": { "laravel/pint": "1.2.*", @@ -5056,9 +5058,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/0.8.4" + "source": "https://github.com/utopia-php/swoole/tree/0.8.5" }, - "time": "2025-09-07T09:39:46+00:00" + "time": "2025-12-15T14:03:23+00:00" }, { "name": "utopia-php/system", @@ -5436,16 +5438,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.5.9", + "version": "1.8.6", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "ee434aa00a9185380b9a39bb46bf86d7104d3a93" + "reference": "b6cc29d3bd247e193f3c06b4168dc69d884645f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/ee434aa00a9185380b9a39bb46bf86d7104d3a93", - "reference": "ee434aa00a9185380b9a39bb46bf86d7104d3a93", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/b6cc29d3bd247e193f3c06b4168dc69d884645f0", + "reference": "b6cc29d3bd247e193f3c06b4168dc69d884645f0", "shasum": "" }, "require": { @@ -5481,9 +5483,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/1.5.9" + "source": "https://github.com/appwrite/sdk-generator/tree/1.8.6" }, - "time": "2025-11-25T05:22:25+00:00" + "time": "2025-12-31T10:22:17+00:00" }, { "name": "doctrine/annotations", @@ -7931,16 +7933,16 @@ }, { "name": "symfony/console", - "version": "v8.0.1", + "version": "v8.0.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "fcb73f69d655b48fcb894a262f074218df08bd58" + "reference": "6145b304a5c1ea0bdbd0b04d297a5864f9a7d587" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/fcb73f69d655b48fcb894a262f074218df08bd58", - "reference": "fcb73f69d655b48fcb894a262f074218df08bd58", + "url": "https://api.github.com/repos/symfony/console/zipball/6145b304a5c1ea0bdbd0b04d297a5864f9a7d587", + "reference": "6145b304a5c1ea0bdbd0b04d297a5864f9a7d587", "shasum": "" }, "require": { @@ -7997,7 +7999,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.0.1" + "source": "https://github.com/symfony/console/tree/v8.0.3" }, "funding": [ { @@ -8017,7 +8019,7 @@ "type": "tidelift" } ], - "time": "2025-12-05T15:25:33+00:00" + "time": "2025-12-23T14:52:06+00:00" }, { "name": "symfony/filesystem", @@ -8091,16 +8093,16 @@ }, { "name": "symfony/finder", - "version": "v8.0.0", + "version": "v8.0.3", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291" + "reference": "dd3a2953570a283a2ba4e17063bb98c734cf5b12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/7598dd5770580fa3517ec83e8da0c9b9e01f4291", - "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291", + "url": "https://api.github.com/repos/symfony/finder/zipball/dd3a2953570a283a2ba4e17063bb98c734cf5b12", + "reference": "dd3a2953570a283a2ba4e17063bb98c734cf5b12", "shasum": "" }, "require": { @@ -8135,7 +8137,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v8.0.0" + "source": "https://github.com/symfony/finder/tree/v8.0.3" }, "funding": [ { @@ -8155,7 +8157,7 @@ "type": "tidelift" } ], - "time": "2025-11-05T14:36:47+00:00" + "time": "2025-12-23T14:52:06+00:00" }, { "name": "symfony/options-resolver", @@ -8943,7 +8945,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "utopia-php/audit": 5 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8967,5 +8971,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } diff --git a/docker-compose.yml b/docker-compose.yml index 87b45d7e4f..9e831f4360 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,6 +63,8 @@ services: - 9501:80 networks: - appwrite + dns: + - 172.16.238.100 labels: - "traefik.enable=true" - "traefik.constraint-label-stack=appwrite" @@ -99,6 +101,7 @@ services: depends_on: - mariadb - redis + - coredns # - clamav entrypoint: - php @@ -220,6 +223,7 @@ services: - _APP_DATABASE_SHARED_NAMESPACE - _APP_FUNCTIONS_CREATION_ABUSE_LIMIT - _APP_CUSTOM_DOMAIN_DENY_LIST + - _APP_TRUSTED_HEADERS extra_hosts: - "host.docker.internal:host-gateway" @@ -551,6 +555,7 @@ services: - _APP_DOMAIN_TARGET_CAA - _APP_DNS - _APP_DOMAIN_FUNCTIONS + - _APP_DOMAIN_SITES - _APP_EMAIL_CERTIFICATES - _APP_REDIS_HOST - _APP_REDIS_PORT @@ -736,6 +741,7 @@ services: - _APP_MIGRATIONS_FIREBASE_CLIENT_ID - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET - _APP_DATABASE_SHARED_TABLES + - _APP_OPTIONS_FORCE_HTTPS appwrite-task-maintenance: entrypoint: maintenance @@ -748,6 +754,7 @@ services: - ./app:/usr/src/code/app - ./src:/usr/src/code/src depends_on: + - mariadb - redis environment: - _APP_ENV @@ -780,6 +787,43 @@ services: - _APP_MAINTENANCE_START_TIME - _APP_DATABASE_SHARED_TABLES + appwrite-task-interval: + entrypoint: interval + <<: *x-logging + container_name: appwrite-task-interval + image: appwrite-dev + networks: + - appwrite + volumes: + - ./app:/usr/src/code/app + - ./src:/usr/src/code/src + depends_on: + - mariadb + - redis + environment: + - _APP_ENV + - _APP_WORKER_PER_CORE + - _APP_DOMAIN + - _APP_DOMAIN_TARGET_CNAME + - _APP_DOMAIN_TARGET_AAAA + - _APP_DOMAIN_TARGET_A + - _APP_DOMAIN_TARGET_CAA + - _APP_DNS + - _APP_DOMAIN_FUNCTIONS + - _APP_DOMAIN_SITES + - _APP_OPENSSL_KEY_V1 + - _APP_REDIS_HOST + - _APP_REDIS_PORT + - _APP_REDIS_USER + - _APP_REDIS_PASS + - _APP_DB_HOST + - _APP_DB_PORT + - _APP_DB_SCHEMA + - _APP_DB_USER + - _APP_DB_PASS + - _APP_DATABASE_SHARED_TABLES + - _APP_INTERVAL_DOMAIN_VERIFICATION + appwrite-task-stats-resources: container_name: appwrite-task-stats-resources entrypoint: stats-resources @@ -1023,27 +1067,6 @@ services: - OPR_EXECUTOR_STORAGE_WASABI_REGION=$_APP_STORAGE_WASABI_REGION - OPR_EXECUTOR_STORAGE_WASABI_BUCKET=$_APP_STORAGE_WASABI_BUCKET - openruntimes-proxy: - container_name: openruntimes-proxy - hostname: proxy - <<: *x-logging - stop_signal: SIGINT - image: openruntimes/proxy:0.5.5 - networks: - - appwrite - - runtimes - environment: - - OPR_PROXY_WORKER_PER_CORE=$_APP_WORKER_PER_CORE - - OPR_PROXY_ENV=$_APP_ENV - - OPR_PROXY_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET - - OPR_PROXY_SECRET=$_APP_EXECUTOR_SECRET - - OPR_PROXY_LOGGING_CONFIG=$_APP_LOGGING_CONFIG - - OPR_PROXY_ALGORITHM=random - - OPR_PROXY_EXECUTORS=exc1 - - OPR_PROXY_HEALTHCHECK_INTERVAL=10000 - - OPR_PROXY_MAX_TIMEOUT=600 - - OPR_PROXY_HEALTHCHECK=enabled - mariadb: image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb @@ -1078,6 +1101,21 @@ services: volumes: - appwrite-redis:/data:rw + coredns: # DNS server for testing purposes (Proxy APIs) + image: coredns/coredns:1.12.4 + container_name: appwrite-coredns + restart: unless-stopped + <<: *x-logging + command: ["-conf", "/mnt/resources/Corefile"] + # If you need to debug CoreDNS, do it from "appwrite container", or port forward: + # ports: + # - "53:53" + networks: + appwrite: + ipv4_address: 172.16.238.100 + volumes: + - ./tests/resources/coredns:/mnt/resources:ro + # Dev Tools Start ------------------------------------------------------------------------------------------ # # The Appwrite Team uses the following tools to help debug, monitor and diagnose the Appwrite stack @@ -1111,6 +1149,9 @@ services: - "traefik.http.routers.appwrite_maildev_https.rule=Host(`mail.localhost`)" - "traefik.http.routers.appwrite_maildev_https.service=appwrite_maildev" - "traefik.http.routers.appwrite_maildev_https.tls=true" + environment: + - MAILDEV_INCOMING_USER=${_APP_SMTP_USERNAME} + - MAILDEV_INCOMING_PASS=${_APP_SMTP_PASSWORD} request-catcher-webhook: # used mainly for dev tests (mock HTTP webhook) image: appwrite/requestcatcher:1.0.0 @@ -1208,6 +1249,9 @@ networks: name: gateway appwrite: name: appwrite + ipam: + config: + - subnet: 172.16.238.0/24 runtimes: name: runtimes diff --git a/docs/examples/1.8.x/client-android/java/databases/update-document.md b/docs/examples/1.8.x/client-android/java/databases/update-document.md index 0f13f74e08..74e4244cc6 100644 --- a/docs/examples/1.8.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.8.x/client-android/java/databases/update-document.md @@ -14,7 +14,13 @@ databases.updateDocument( "", // databaseId "", // collectionId "", // documentId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/client-android/java/databases/upsert-document.md b/docs/examples/1.8.x/client-android/java/databases/upsert-document.md index 8c72734f98..9e04ef544a 100644 --- a/docs/examples/1.8.x/client-android/java/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-android/java/databases/upsert-document.md @@ -14,7 +14,13 @@ databases.upsertDocument( "", // databaseId "", // collectionId "", // documentId - Map.of("a", "b"), // data + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 30, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md index 89f2646d9d..c41cc09f0c 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md @@ -14,7 +14,13 @@ tablesDB.updateRow( "", // databaseId "", // tableId "", // rowId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md index c6cfe6d1bc..0b40f6b976 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md @@ -14,7 +14,13 @@ tablesDB.upsertRow( "", // databaseId "", // tableId "", // rowId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.8.x/client-android/kotlin/databases/update-document.md index ba6d4d189f..49f0dbcffe 100644 --- a/docs/examples/1.8.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.8.x/client-android/kotlin/databases/update-document.md @@ -14,7 +14,13 @@ val result = databases.updateDocument( databaseId = "", collectionId = "", documentId = "", - data = mapOf( "a" to "b" ), // (optional) + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md b/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md index 4d95c9d684..42aff0ec0c 100644 --- a/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md @@ -14,7 +14,13 @@ val result = databases.upsertDocument( databaseId = "", collectionId = "", documentId = "", - data = mapOf( "a" to "b" ), + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 30, + "isAdmin" to false + ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md index 91b2709058..20319e3b6d 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md @@ -14,7 +14,13 @@ val result = tablesDB.updateRow( databaseId = "", tableId = "", rowId = "", - data = mapOf( "a" to "b" ), // (optional) + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md index 6b1a45e5eb..3af7902c33 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md @@ -14,7 +14,13 @@ val result = tablesDB.upsertRow( databaseId = "", tableId = "", rowId = "", - data = mapOf( "a" to "b" ), // (optional) + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/databases/update-document.md b/docs/examples/1.8.x/client-apple/examples/databases/update-document.md index 33dce44031..3a1b4c4bd9 100644 --- a/docs/examples/1.8.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-apple/examples/databases/update-document.md @@ -10,7 +10,13 @@ let document = try await databases.updateDocument( databaseId: "", collectionId: "", documentId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md index e678632df2..4026c33d7b 100644 --- a/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md @@ -10,7 +10,13 @@ let document = try await databases.upsertDocument( databaseId: "", collectionId: "", documentId: "", - data: [:], + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md index 90bf66a966..e9b32e6c9a 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md @@ -10,7 +10,13 @@ let row = try await tablesDB.updateRow( databaseId: "", tableId: "", rowId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md index 5665f929e2..f1e3872200 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md @@ -10,7 +10,13 @@ let row = try await tablesDB.upsertRow( databaseId: "", tableId: "", rowId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.8.x/client-flutter/examples/databases/update-document.md index 9a5b3ee7dd..92407b14ef 100644 --- a/docs/examples/1.8.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-flutter/examples/databases/update-document.md @@ -12,7 +12,13 @@ Document result = await databases.updateDocument( databaseId: '', collectionId: '', documentId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '', // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md index 7e6eb1aea9..6ad76385f8 100644 --- a/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md @@ -12,7 +12,13 @@ Document result = await databases.upsertDocument( databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '', // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md index 91f2dd3cdf..cf7dd773ed 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md @@ -12,7 +12,13 @@ Row result = await tablesDB.updateRow( databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '', // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md index 4fb785d744..9d69ef6b62 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md @@ -12,7 +12,13 @@ Row result = await tablesDB.upsertRow( databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '', // optional ); diff --git a/docs/examples/1.8.x/client-graphql/examples/databases/update-document.md b/docs/examples/1.8.x/client-graphql/examples/databases/update-document.md index cf43d9eed0..056a5bed4e 100644 --- a/docs/examples/1.8.x/client-graphql/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-graphql/examples/databases/update-document.md @@ -3,7 +3,7 @@ mutation { databaseId: "", collectionId: "", documentId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md index d487c0d303..6d54d7ad10 100644 --- a/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md @@ -3,7 +3,7 @@ mutation { databaseId: "", collectionId: "", documentId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/client-graphql/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-graphql/examples/tablesdb/update-row.md index aa89e6ae01..a0fd284f95 100644 --- a/docs/examples/1.8.x/client-graphql/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-graphql/examples/tablesdb/update-row.md @@ -3,7 +3,7 @@ mutation { databaseId: "", tableId: "", rowId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/client-graphql/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-graphql/examples/tablesdb/upsert-row.md index 3fe36ee7f1..ed5309cab8 100644 --- a/docs/examples/1.8.x/client-graphql/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-graphql/examples/tablesdb/upsert-row.md @@ -3,7 +3,7 @@ mutation { databaseId: "", tableId: "", rowId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/client-react-native/examples/databases/update-document.md b/docs/examples/1.8.x/client-react-native/examples/databases/update-document.md index a82fa5238c..2be12b1acd 100644 --- a/docs/examples/1.8.x/client-react-native/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-react-native/examples/databases/update-document.md @@ -10,7 +10,13 @@ const result = await databases.updateDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: ["read("any")"], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md index b6d2bed4d3..fcf1fb4820 100644 --- a/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md @@ -10,7 +10,13 @@ const result = await databases.upsertDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // optional permissions: ["read("any")"], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md index b53b927b3b..9ba5054f76 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.updateRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: ["read("any")"], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md index 28909273a5..bea81ba413 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.upsertRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: ["read("any")"], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md index b62c82a6a8..ff7408fa94 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md @@ -3,4 +3,6 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md index 1103d2ebfb..2cf4121b4f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "email": "email@example.com", diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md index 552b724b9c..3e0d10827f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-jwt.md b/docs/examples/1.8.x/client-rest/examples/account/create-jwt.md index 62a7dee7e9..52901d67a2 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-jwt.md @@ -3,4 +3,6 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-magic-url-token.md index 29d68bd0fa..4629afaac8 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-magic-url-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md index e5a5b0ea05..0990fcb98d 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "factor": "email" diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-session.md index d136722ec8..f99a3ecc76 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-session.md @@ -2,3 +2,5 @@ GET /v1/account/sessions/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-token.md index 8a0cab614f..6d569682c1 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth-2-token.md @@ -2,3 +2,5 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md index 5127c8377a..c3cb75347f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-session.md index 0acc50cda6..810f816212 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/create.md b/docs/examples/1.8.x/client-rest/examples/account/create.md index fa06bfcc1a..ef9967cab1 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/client-rest/examples/account/update-magic-url-session.md index 1a82afbfcc..a1fe139a8b 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-magic-url-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md b/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md index 54872eecd2..eb18a0960c 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/client-rest/examples/databases/update-document.md b/docs/examples/1.8.x/client-rest/examples/databases/update-document.md index f39cabfec3..5eca403b5d 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/update-document.md @@ -7,7 +7,13 @@ X-Appwrite-Session: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md index c84d74a5ff..3e98bfd22f 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md @@ -7,7 +7,13 @@ X-Appwrite-Session: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/client-rest/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-rest/examples/tablesdb/update-row.md index 7249d93906..8f66400634 100644 --- a/docs/examples/1.8.x/client-rest/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-rest/examples/tablesdb/update-row.md @@ -7,7 +7,13 @@ X-Appwrite-Session: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/client-rest/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-rest/examples/tablesdb/upsert-row.md index 93f6236eca..3da7011225 100644 --- a/docs/examples/1.8.x/client-rest/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-rest/examples/tablesdb/upsert-row.md @@ -7,7 +7,13 @@ X-Appwrite-Session: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/client-web/examples/databases/update-document.md b/docs/examples/1.8.x/client-web/examples/databases/update-document.md index b5d90fd58d..8b1f8a8079 100644 --- a/docs/examples/1.8.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-web/examples/databases/update-document.md @@ -10,7 +10,13 @@ const result = await databases.updateDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md index 7af42d6337..5a9ade4086 100644 --- a/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md @@ -10,7 +10,13 @@ const result = await databases.upsertDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md index cda74edb07..c0656d36b3 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.updateRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md index c0cb973c79..c4eb5c3c75 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.upsertRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md b/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md index 558ffeb5c4..8b1e138206 100644 --- a/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md @@ -1,5 +1,4 @@ appwrite databases upsert-document \ --database-id \ --collection-id \ - --document-id \ - --data '{ "key": "value" }' + --document-id diff --git a/docs/examples/1.8.x/console-web/examples/databases/create-collection.md b/docs/examples/1.8.x/console-web/examples/databases/create-collection.md index f02b110e51..492379bab0 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/console-web/examples/databases/create-collection.md @@ -12,7 +12,9 @@ const result = await databases.createCollection({ name: '', permissions: [Permission.read(Role.any())], // optional documentSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + attributes: [], // optional + indexes: [] // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/update-document.md b/docs/examples/1.8.x/console-web/examples/databases/update-document.md index 5ab73b3210..30f9b4c39b 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.8.x/console-web/examples/databases/update-document.md @@ -10,7 +10,13 @@ const result = await databases.updateDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/databases/update-documents.md b/docs/examples/1.8.x/console-web/examples/databases/update-documents.md index 9f9054bad2..da4043bbc1 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/console-web/examples/databases/update-documents.md @@ -9,7 +9,13 @@ const databases = new Databases(client); const result = await databases.updateDocuments({ databaseId: '', collectionId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional queries: [], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md b/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md index 9c29601d67..03947bc418 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md @@ -10,7 +10,13 @@ const result = await databases.upsertDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md index a203aeb7e4..725bb50ef0 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md @@ -12,7 +12,9 @@ const result = await tablesDB.createTable({ name: '', permissions: [Permission.read(Role.any())], // optional rowSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + columns: [], // optional + indexes: [] // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md index 952ed62e64..b096cfa992 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.updateRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md index 7601955b8b..699ab5dfef 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md @@ -9,7 +9,13 @@ const tablesDB = new TablesDB(client); const result = await tablesDB.updateRows({ databaseId: '', tableId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional queries: [], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md index dee8dd0a6b..0c1a7ea2b6 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md @@ -10,7 +10,13 @@ const result = await tablesDB.upsertRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [Permission.read(Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-dart/examples/account/create-anonymous-session.md index 7b1cc08304..b12451d11a 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-anonymous-session.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-dart/examples/account/create-email-password-session.md index 2305367d94..63200d506c 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-email-password-session.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-email-token.md b/docs/examples/1.8.x/server-dart/examples/account/create-email-token.md index e9696f92bf..348b8bb157 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-email-token.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-jwt.md b/docs/examples/1.8.x/server-dart/examples/account/create-jwt.md index 4288c71ce1..5b2945e8ba 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-jwt.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-dart/examples/account/create-magic-url-token.md index 791b9cbd4f..9aa4c5e502 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-magic-url-token.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-dart/examples/account/create-mfa-challenge.md index 5df3abadad..7696794b35 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-mfa-challenge.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-dart/examples/account/create-o-auth-2-token.md index 4a26a9fd7f..42c4ed85fa 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-o-auth-2-token.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-dart/examples/account/create-phone-token.md index 7011b3cf48..1ea7532fbd 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-phone-token.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-session.md b/docs/examples/1.8.x/server-dart/examples/account/create-session.md index 1e56fc71bb..c23e5c94bb 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create-session.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create.md b/docs/examples/1.8.x/server-dart/examples/account/create.md index f0384f46f4..21af6db4c8 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/create.md +++ b/docs/examples/1.8.x/server-dart/examples/account/create.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-dart/examples/account/update-magic-url-session.md index 475e464ff0..c18efc60b8 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-dart/examples/account/update-magic-url-session.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-dart/examples/account/update-phone-session.md index 046dd0a701..47176c4d97 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-dart/examples/account/update-phone-session.md @@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.8.x/server-dart/examples/databases/create-collection.md index 51a7c12626..e131269f6f 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/create-collection.md @@ -16,4 +16,6 @@ Collection result = await databases.createCollection( permissions: [Permission.read(Role.any())], // (optional) documentSecurity: false, // (optional) enabled: false, // (optional) + attributes: [], // (optional) + indexes: [], // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/update-document.md b/docs/examples/1.8.x/server-dart/examples/databases/update-document.md index b48041e228..b193cdffc1 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/update-document.md @@ -13,7 +13,13 @@ Document result = await databases.updateDocument( databaseId: '', collectionId: '', documentId: '', - data: {}, // (optional) + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // (optional) permissions: [Permission.read(Role.any())], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/update-documents.md b/docs/examples/1.8.x/server-dart/examples/databases/update-documents.md index babc2d96fb..cf3be35fda 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/update-documents.md @@ -10,7 +10,13 @@ Databases databases = Databases(client); DocumentList result = await databases.updateDocuments( databaseId: '', collectionId: '', - data: {}, // (optional) + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // (optional) queries: [], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md index 95a6d9d4a4..6d2f832512 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md @@ -13,7 +13,13 @@ Document result = await databases.upsertDocument( databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // (optional) permissions: [Permission.read(Role.any())], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md index ee6776f08c..4a3c58d2b9 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md @@ -16,4 +16,6 @@ Table result = await tablesDB.createTable( permissions: [Permission.read(Role.any())], // (optional) rowSecurity: false, // (optional) enabled: false, // (optional) + columns: [], // (optional) + indexes: [], // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md index 02ba458c0f..a7906d9b08 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md @@ -13,7 +13,13 @@ Row result = await tablesDB.updateRow( databaseId: '', tableId: '', rowId: '', - data: {}, // (optional) + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // (optional) permissions: [Permission.read(Role.any())], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md index a7c0d61b45..4e3e42dbcb 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md @@ -10,7 +10,13 @@ TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.updateRows( databaseId: '', tableId: '', - data: {}, // (optional) + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // (optional) queries: [], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md index 72f1ae2064..1fd5489971 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md @@ -13,7 +13,13 @@ Row result = await tablesDB.upsertRow( databaseId: '', tableId: '', rowId: '', - data: {}, // (optional) + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // (optional) permissions: [Permission.read(Role.any())], // (optional) transactionId: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-anonymous-session.md index fc807aa4e5..087afeee81 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-anonymous-session.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-email-password-session.md index abf5a41317..8e62f30d7e 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-email-password-session.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-email-token.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-email-token.md index 69862feed0..0e867a00d0 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-email-token.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-jwt.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-jwt.md index 423cbed2b3..9572d69014 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-jwt.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-magic-url-token.md index 21bcef6bed..9bba5fcf69 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-magic-url-token.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-mfa-challenge.md index 32497b4ec3..0d7a20c7f6 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-mfa-challenge.md @@ -5,7 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-o-auth-2-token.md index 5b405449b1..a5e15c086d 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-o-auth-2-token.md @@ -5,7 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-phone-token.md index 0d17f5ecee..02f86ee31f 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-phone-token.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-session.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-session.md index 2da46ce62b..e682599e21 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-session.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create.md b/docs/examples/1.8.x/server-dotnet/examples/account/create.md index 83c1d54251..d3d2ecc62d 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/create.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-dotnet/examples/account/update-magic-url-session.md index a8d8312e18..b1d729b405 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/update-magic-url-session.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-dotnet/examples/account/update-phone-session.md index 2f8b091999..e5dbef1a39 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/update-phone-session.md @@ -4,7 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject(""); // Your project ID + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/create-collection.md b/docs/examples/1.8.x/server-dotnet/examples/databases/create-collection.md index bfb24faf82..a4cbf7c4ed 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/create-collection.md @@ -15,5 +15,7 @@ Collection result = await databases.CreateCollection( name: "", permissions: new List { Permission.Read(Role.Any()) }, // optional documentSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + attributes: new List(), // optional + indexes: new List() // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/update-document.md b/docs/examples/1.8.x/server-dotnet/examples/databases/update-document.md index 85f3ba5d2f..8bebfdfd8e 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/update-document.md @@ -13,7 +13,13 @@ Document result = await databases.UpdateDocument( databaseId: "", collectionId: "", documentId: "", - data: [object], // optional + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 33, + isAdmin = false + }, // optional permissions: new List { Permission.Read(Role.Any()) }, // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/update-documents.md b/docs/examples/1.8.x/server-dotnet/examples/databases/update-documents.md index 077ec04da6..d7788b4387 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/update-documents.md @@ -12,7 +12,13 @@ Databases databases = new Databases(client); DocumentList result = await databases.UpdateDocuments( databaseId: "", collectionId: "", - data: [object], // optional + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 33, + isAdmin = false + }, // optional queries: new List(), // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md index 9ebcafe87f..c54bcfc54f 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md @@ -13,7 +13,13 @@ Document result = await databases.UpsertDocument( databaseId: "", collectionId: "", documentId: "", - data: [object], + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 30, + isAdmin = false + }, // optional permissions: new List { Permission.Read(Role.Any()) }, // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md index 0df89acc12..7b622d1d58 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md @@ -15,5 +15,7 @@ Table result = await tablesDB.CreateTable( name: "", permissions: new List { Permission.Read(Role.Any()) }, // optional rowSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + columns: new List(), // optional + indexes: new List() // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md index 328469923b..31dfd9dd89 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md @@ -13,7 +13,13 @@ Row result = await tablesDB.UpdateRow( databaseId: "", tableId: "", rowId: "", - data: [object], // optional + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 33, + isAdmin = false + }, // optional permissions: new List { Permission.Read(Role.Any()) }, // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md index 368977a0cc..ddd88e041e 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md @@ -12,7 +12,13 @@ TablesDB tablesDB = new TablesDB(client); RowList result = await tablesDB.UpdateRows( databaseId: "", tableId: "", - data: [object], // optional + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 33, + isAdmin = false + }, // optional queries: new List(), // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md index 88ef7146c2..f4860bc9f5 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md @@ -13,7 +13,13 @@ Row result = await tablesDB.UpsertRow( databaseId: "", tableId: "", rowId: "", - data: [object], // optional + data: new { + username = "walter.obrien", + email = "walter.obrien@example.com", + fullName = "Walter O'Brien", + age = 33, + isAdmin = false + }, // optional permissions: new List { Permission.Read(Role.Any()) }, // optional transactionId: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-go/examples/account/create-anonymous-session.md index c2f23a5b2c..b6da8a7467 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-anonymous-session.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-go/examples/account/create-email-password-session.md index 66a55b953e..7067b8a073 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-email-password-session.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-email-token.md b/docs/examples/1.8.x/server-go/examples/account/create-email-token.md index b2a1aac498..466d1c839a 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-email-token.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-jwt.md b/docs/examples/1.8.x/server-go/examples/account/create-jwt.md index 153c70d9fc..b3adb79574 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-jwt.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-go/examples/account/create-magic-url-token.md index b36a2d99b1..e1fe889732 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-magic-url-token.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-go/examples/account/create-mfa-challenge.md index 0ae3262568..7eb816c829 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-mfa-challenge.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-go/examples/account/create-o-auth-2-token.md index 19b9258f00..48ff13ee70 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-o-auth-2-token.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-go/examples/account/create-phone-token.md index 97737e5646..043ef3c8e3 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-phone-token.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create-session.md b/docs/examples/1.8.x/server-go/examples/account/create-session.md index fb0b9cbfe4..3c24783b3c 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-go/examples/account/create-session.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/create.md b/docs/examples/1.8.x/server-go/examples/account/create.md index 5e04847860..ebb5001509 100644 --- a/docs/examples/1.8.x/server-go/examples/account/create.md +++ b/docs/examples/1.8.x/server-go/examples/account/create.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-go/examples/account/update-magic-url-session.md index 9f799c511f..0fc951b346 100644 --- a/docs/examples/1.8.x/server-go/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-go/examples/account/update-magic-url-session.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-go/examples/account/update-phone-session.md index 5af46b840b..6c7ee57b1d 100644 --- a/docs/examples/1.8.x/server-go/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-go/examples/account/update-phone-session.md @@ -9,6 +9,7 @@ import ( client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("") + client.WithSession("") ) service := account.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md index 9191ad8875..b08534669e 100644 --- a/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md @@ -27,7 +27,7 @@ response, error := service.GetScreenshot( avatars.WithGetScreenshotUserAgent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15"), avatars.WithGetScreenshotFullpage(true), avatars.WithGetScreenshotLocale("en-US"), - avatars.WithGetScreenshotTimezone("America/New_York"), + avatars.WithGetScreenshotTimezone("america/new_york"), avatars.WithGetScreenshotLatitude(37.7749), avatars.WithGetScreenshotLongitude(-122.4194), avatars.WithGetScreenshotAccuracy(100), diff --git a/docs/examples/1.8.x/server-go/examples/databases/create-collection.md b/docs/examples/1.8.x/server-go/examples/databases/create-collection.md index 4e4e9f764c..5cad00a6a5 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-go/examples/databases/create-collection.md @@ -21,4 +21,6 @@ response, error := service.CreateCollection( databases.WithCreateCollectionPermissions(interface{}{"read("any")"}), databases.WithCreateCollectionDocumentSecurity(false), databases.WithCreateCollectionEnabled(false), + databases.WithCreateCollectionAttributes([]interface{}{}), + databases.WithCreateCollectionIndexes([]interface{}{}), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/update-document.md b/docs/examples/1.8.x/server-go/examples/databases/update-document.md index 314385d6a8..51359e88d8 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-go/examples/databases/update-document.md @@ -18,7 +18,13 @@ response, error := service.UpdateDocument( "", "", "", - databases.WithUpdateDocumentData(map[string]interface{}{}), + databases.WithUpdateDocumentData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }), databases.WithUpdateDocumentPermissions(interface{}{"read("any")"}), databases.WithUpdateDocumentTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/update-documents.md b/docs/examples/1.8.x/server-go/examples/databases/update-documents.md index 729656affd..1e1043c67d 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-go/examples/databases/update-documents.md @@ -17,7 +17,13 @@ service := databases.New(client) response, error := service.UpdateDocuments( "", "", - databases.WithUpdateDocumentsData(map[string]interface{}{}), + databases.WithUpdateDocumentsData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }), databases.WithUpdateDocumentsQueries([]interface{}{}), databases.WithUpdateDocumentsTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md index 471c39185b..95f1c4b6ec 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md @@ -18,7 +18,13 @@ response, error := service.UpsertDocument( "", "", "", - map[string]interface{}{}, + databases.WithUpsertDocumentData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }), databases.WithUpsertDocumentPermissions(interface{}{"read("any")"}), databases.WithUpsertDocumentTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-go/examples/tablesdb/create-table.md index c454c08d6e..c5e1826fe6 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/create-table.md @@ -21,4 +21,6 @@ response, error := service.CreateTable( tablesdb.WithCreateTablePermissions(interface{}{"read("any")"}), tablesdb.WithCreateTableRowSecurity(false), tablesdb.WithCreateTableEnabled(false), + tablesdb.WithCreateTableColumns([]interface{}{}), + tablesdb.WithCreateTableIndexes([]interface{}{}), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-go/examples/tablesdb/update-row.md index 12ea0b10a4..212be5b298 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/update-row.md @@ -18,7 +18,13 @@ response, error := service.UpdateRow( "", "", "", - tablesdb.WithUpdateRowData(map[string]interface{}{}), + tablesdb.WithUpdateRowData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }), tablesdb.WithUpdateRowPermissions(interface{}{"read("any")"}), tablesdb.WithUpdateRowTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-go/examples/tablesdb/update-rows.md index ff6a81e57c..706abaeee4 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/update-rows.md @@ -17,7 +17,13 @@ service := tablesdb.New(client) response, error := service.UpdateRows( "", "", - tablesdb.WithUpdateRowsData(map[string]interface{}{}), + tablesdb.WithUpdateRowsData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }), tablesdb.WithUpdateRowsQueries([]interface{}{}), tablesdb.WithUpdateRowsTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-go/examples/tablesdb/upsert-row.md index 4caa5415e9..097b355083 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/upsert-row.md @@ -18,7 +18,13 @@ response, error := service.UpsertRow( "", "", "", - tablesdb.WithUpsertRowData(map[string]interface{}{}), + tablesdb.WithUpsertRowData(map[string]interface{}{ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }), tablesdb.WithUpsertRowPermissions(interface{}{"read("any")"}), tablesdb.WithUpsertRowTransactionId(""), ) diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/create-collection.md b/docs/examples/1.8.x/server-graphql/examples/databases/create-collection.md index 7ee68b41c7..429c25cd4a 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/create-collection.md @@ -5,7 +5,9 @@ mutation { name: "", permissions: ["read("any")"], documentSecurity: false, - enabled: false + enabled: false, + attributes: [], + indexes: [] ) { _id _createdAt diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/update-document.md b/docs/examples/1.8.x/server-graphql/examples/databases/update-document.md index cf43d9eed0..056a5bed4e 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/update-document.md @@ -3,7 +3,7 @@ mutation { databaseId: "", collectionId: "", documentId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/update-documents.md b/docs/examples/1.8.x/server-graphql/examples/databases/update-documents.md index d6eb18de2a..45913eb005 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/update-documents.md @@ -2,7 +2,7 @@ mutation { databasesUpdateDocuments( databaseId: "", collectionId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", queries: [], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md index d487c0d303..6d54d7ad10 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md @@ -3,7 +3,7 @@ mutation { databaseId: "", collectionId: "", documentId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md index 61203b9359..1fb339f0d3 100644 --- a/docs/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md @@ -5,7 +5,9 @@ mutation { name: "", permissions: ["read("any")"], rowSecurity: false, - enabled: false + enabled: false, + columns: [], + indexes: [] ) { _id _createdAt diff --git a/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-row.md index aa89e6ae01..a0fd284f95 100644 --- a/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-row.md @@ -3,7 +3,7 @@ mutation { databaseId: "", tableId: "", rowId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-rows.md index 5a6203a4dc..1b77bda3fd 100644 --- a/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-graphql/examples/tablesdb/update-rows.md @@ -2,7 +2,7 @@ mutation { tablesDBUpdateRows( databaseId: "", tableId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", queries: [], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-graphql/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-graphql/examples/tablesdb/upsert-row.md index 3fe36ee7f1..ed5309cab8 100644 --- a/docs/examples/1.8.x/server-graphql/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-graphql/examples/tablesdb/upsert-row.md @@ -3,7 +3,7 @@ mutation { databaseId: "", tableId: "", rowId: "", - data: "{}", + data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":33,\"isAdmin\":false}", permissions: ["read("any")"], transactionId: "" ) { diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-anonymous-session.md b/docs/examples/1.8.x/server-kotlin/java/account/create-anonymous-session.md index d65c20a600..07e4f387f8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-anonymous-session.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-email-password-session.md b/docs/examples/1.8.x/server-kotlin/java/account/create-email-password-session.md index 633931089f..aaf282ebc3 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-email-password-session.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-email-token.md b/docs/examples/1.8.x/server-kotlin/java/account/create-email-token.md index 7a6a0d7fea..940f8d60e4 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-email-token.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-email-token.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-jwt.md b/docs/examples/1.8.x/server-kotlin/java/account/create-jwt.md index 3756edee25..5930854bd2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-jwt.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-jwt.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-magic-url-token.md b/docs/examples/1.8.x/server-kotlin/java/account/create-magic-url-token.md index df021f9568..bb4cc7a09f 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-magic-url-token.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-kotlin/java/account/create-mfa-challenge.md index 5c048cbace..0463633669 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-mfa-challenge.md @@ -5,7 +5,8 @@ import io.appwrite.enums.AuthenticationFactor; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-kotlin/java/account/create-o-auth-2-token.md index 376d943533..3af15e0689 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-o-auth-2-token.md @@ -5,7 +5,8 @@ import io.appwrite.enums.OAuthProvider; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-phone-token.md b/docs/examples/1.8.x/server-kotlin/java/account/create-phone-token.md index 14fb812687..cdec5d54ac 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-phone-token.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-session.md b/docs/examples/1.8.x/server-kotlin/java/account/create-session.md index 5bcdf99059..295016494a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create-session.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-session.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create.md b/docs/examples/1.8.x/server-kotlin/java/account/create.md index d24bfb8592..b7bd821681 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/create.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/create.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/update-magic-url-session.md b/docs/examples/1.8.x/server-kotlin/java/account/update-magic-url-session.md index b4735f49ea..3e236342cf 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/update-magic-url-session.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/update-phone-session.md b/docs/examples/1.8.x/server-kotlin/java/account/update-phone-session.md index cbfdca58ec..97d7cd3693 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/update-phone-session.md @@ -4,7 +4,8 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.8.x/server-kotlin/java/databases/create-collection.md index eea55558cc..083e37001a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/create-collection.md @@ -18,6 +18,8 @@ databases.createCollection( List.of(Permission.read(Role.any())), // permissions (optional) false, // documentSecurity (optional) false, // enabled (optional) + List.of(), // attributes (optional) + List.of(), // indexes (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.8.x/server-kotlin/java/databases/update-document.md index 0638225bfd..2cd48d1e4a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/update-document.md @@ -15,7 +15,13 @@ databases.updateDocument( "", // databaseId "", // collectionId "", // documentId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/update-documents.md b/docs/examples/1.8.x/server-kotlin/java/databases/update-documents.md index 57a82f56f9..9f2d73bda4 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/update-documents.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/update-documents.md @@ -12,7 +12,13 @@ Databases databases = new Databases(client); databases.updateDocuments( "", // databaseId "", // collectionId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(), // queries (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md index ec99390e15..a170342035 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md @@ -15,7 +15,13 @@ databases.upsertDocument( "", // databaseId "", // collectionId "", // documentId - Map.of("a", "b"), // data + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 30, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md index 615278a2d4..80ae1a3015 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md @@ -18,6 +18,8 @@ tablesDB.createTable( List.of(Permission.read(Role.any())), // permissions (optional) false, // rowSecurity (optional) false, // enabled (optional) + List.of(), // columns (optional) + List.of(), // indexes (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md index 5585274cbb..444cc8d9fb 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md @@ -15,7 +15,13 @@ tablesDB.updateRow( "", // databaseId "", // tableId "", // rowId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md index b479613856..4674a10927 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md @@ -12,7 +12,13 @@ TablesDB tablesDB = new TablesDB(client); tablesDB.updateRows( "", // databaseId "", // tableId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(), // queries (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md index adb2095f34..3c0bddec58 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md @@ -15,7 +15,13 @@ tablesDB.upsertRow( "", // databaseId "", // tableId "", // rowId - Map.of("a", "b"), // data (optional) + Map.of( + "username", "walter.obrien", + "email", "walter.obrien@example.com", + "fullName", "Walter O'Brien", + "age", 33, + "isAdmin", false + ), // data (optional) List.of(Permission.read(Role.any())), // permissions (optional) "", // transactionId (optional) new CoroutineCallback<>((result, error) -> { diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-anonymous-session.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-anonymous-session.md index 0ddc3835dc..8f35c6359e 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-anonymous-session.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-password-session.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-password-session.md index 9c7af95e13..55add0bbc1 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-password-session.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-token.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-token.md index 84acd78a9c..416163acde 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-token.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-email-token.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-jwt.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-jwt.md index 4c04aa1215..2691a4cfe6 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-jwt.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-jwt.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-magic-url-token.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-magic-url-token.md index c1d8cba2cb..185ee6bcce 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-magic-url-token.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-mfa-challenge.md index 7213142a45..3dbe1bff20 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-mfa-challenge.md @@ -6,6 +6,7 @@ import io.appwrite.enums.AuthenticationFactor val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-o-auth-2-token.md index 1a8c1188b0..e1391dbe53 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-o-auth-2-token.md @@ -6,6 +6,7 @@ import io.appwrite.enums.OAuthProvider val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-phone-token.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-phone-token.md index be03e0659f..1d44bfa107 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-phone-token.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-session.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-session.md index 5afb219ff0..07a3cd40cc 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-session.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-session.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create.md index 80640ba830..1b5742c92c 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/create.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-magic-url-session.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-magic-url-session.md index d4fe7f4861..33a4b4f65b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-magic-url-session.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-phone-session.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-phone-session.md index 1bcc4c0955..346a25bd96 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-phone-session.md @@ -5,6 +5,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md b/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md index a2de2e5adc..040964f381 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md @@ -25,7 +25,7 @@ val result = avatars.getScreenshot( userAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional fullpage = true, // optional locale = "en-US", // optional - timezone = "America/New_York", // optional + timezone = "america/new_york", // optional latitude = 37.7749, // optional longitude = -122.4194, // optional accuracy = 100, // optional diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md index 43031b4a43..1166e73bcb 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md @@ -17,5 +17,7 @@ val response = databases.createCollection( name = "", permissions = listOf(Permission.read(Role.any())), // optional documentSecurity = false, // optional - enabled = false // optional + enabled = false, // optional + attributes = listOf(), // optional + indexes = listOf() // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-document.md index 399dfcd970..ad3ddf04c5 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-document.md @@ -15,7 +15,13 @@ val response = databases.updateDocument( databaseId = "", collectionId = "", documentId = "", - data = mapOf( "a" to "b" ), // optional + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // optional permissions = listOf(Permission.read(Role.any())), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-documents.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-documents.md index b5b76fcaee..f04ae12287 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-documents.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/update-documents.md @@ -12,7 +12,13 @@ val databases = Databases(client) val response = databases.updateDocuments( databaseId = "", collectionId = "", - data = mapOf( "a" to "b" ), // optional + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // optional queries = listOf(), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md index 8387398193..c5a2553636 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md @@ -15,7 +15,13 @@ val response = databases.upsertDocument( databaseId = "", collectionId = "", documentId = "", - data = mapOf( "a" to "b" ), + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 30, + "isAdmin" to false + ), // optional permissions = listOf(Permission.read(Role.any())), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md index 5ff2ba4e08..81e4830e39 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md @@ -17,5 +17,7 @@ val response = tablesDB.createTable( name = "", permissions = listOf(Permission.read(Role.any())), // optional rowSecurity = false, // optional - enabled = false // optional + enabled = false, // optional + columns = listOf(), // optional + indexes = listOf() // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md index 94f3770ed1..19460e9b92 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md @@ -15,7 +15,13 @@ val response = tablesDB.updateRow( databaseId = "", tableId = "", rowId = "", - data = mapOf( "a" to "b" ), // optional + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // optional permissions = listOf(Permission.read(Role.any())), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md index 61041a7783..f1ced7b12f 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md @@ -12,7 +12,13 @@ val tablesDB = TablesDB(client) val response = tablesDB.updateRows( databaseId = "", tableId = "", - data = mapOf( "a" to "b" ), // optional + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // optional queries = listOf(), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md index b72ab80c38..dc067352f0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md @@ -15,7 +15,13 @@ val response = tablesDB.upsertRow( databaseId = "", tableId = "", rowId = "", - data = mapOf( "a" to "b" ), // optional + data = mapOf( + "username" to "walter.obrien", + "email" to "walter.obrien@example.com", + "fullName" to "Walter O'Brien", + "age" to 33, + "isAdmin" to false + ), // optional permissions = listOf(Permission.read(Role.any())), // optional transactionId = "" // optional ) diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-anonymous-session.md index d8590b03cb..0ec4807a06 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-anonymous-session.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-email-password-session.md index f173d2117a..582ca2976f 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-email-password-session.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-email-token.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-email-token.md index eb071b9e08..6bb7254ef9 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-email-token.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-jwt.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-jwt.md index 2273646635..76d52e17f5 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-jwt.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-magic-url-token.md index 59f7d10c53..d5194c5c3a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-magic-url-token.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-mfa-challenge.md index 4195f46892..9588fa16c8 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-mfa-challenge.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-o-auth-2-token.md index cc4f31552a..7f9e2297e9 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-o-auth-2-token.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-phone-token.md index fe88e77b47..b5bb586f1d 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-phone-token.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-session.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-session.md index 448f9017b5..9e6f068d5b 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-session.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create.md b/docs/examples/1.8.x/server-nodejs/examples/account/create.md index 7ba2d427d1..48ef1aaf7c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/create.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-nodejs/examples/account/update-magic-url-session.md index d67d481bf8..65221b5961 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/update-magic-url-session.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-nodejs/examples/account/update-phone-session.md index 7d9680025b..d2e7543611 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/update-phone-session.md @@ -2,7 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.8.x/server-nodejs/examples/databases/create-collection.md index 9bc014b59b..562b5380d1 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/create-collection.md @@ -13,5 +13,7 @@ const result = await databases.createCollection({ name: '', permissions: [sdk.Permission.read(sdk.Role.any())], // optional documentSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + attributes: [], // optional + indexes: [] // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.8.x/server-nodejs/examples/databases/update-document.md index d33d78d7d3..7e1a8c507b 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/update-document.md @@ -11,7 +11,13 @@ const result = await databases.updateDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [sdk.Permission.read(sdk.Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/update-documents.md b/docs/examples/1.8.x/server-nodejs/examples/databases/update-documents.md index dc79e433aa..038ed1a7b6 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/update-documents.md @@ -10,7 +10,13 @@ const databases = new sdk.Databases(client); const result = await databases.updateDocuments({ databaseId: '', collectionId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional queries: [], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md index 8fe4b35194..55156bd663 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md @@ -11,7 +11,13 @@ const result = await databases.upsertDocument({ databaseId: '', collectionId: '', documentId: '', - data: {}, + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, // optional permissions: [sdk.Permission.read(sdk.Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md index 6a4c12d34d..120f5de8cc 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md @@ -13,5 +13,7 @@ const result = await tablesDB.createTable({ name: '', permissions: [sdk.Permission.read(sdk.Role.any())], // optional rowSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + columns: [], // optional + indexes: [] // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md index d5d2ee3002..8c003bfe6d 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md @@ -11,7 +11,13 @@ const result = await tablesDB.updateRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [sdk.Permission.read(sdk.Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md index d66fc28a62..b41f0c2ef0 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md @@ -10,7 +10,13 @@ const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateRows({ databaseId: '', tableId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional queries: [], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md index f48b0daebd..2905b31fc4 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md @@ -11,7 +11,13 @@ const result = await tablesDB.upsertRow({ databaseId: '', tableId: '', rowId: '', - data: {}, // optional + data: { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, // optional permissions: [sdk.Permission.read(sdk.Role.any())], // optional transactionId: '' // optional }); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-php/examples/account/create-anonymous-session.md index b3e811e18d..9959a3fee5 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-anonymous-session.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-php/examples/account/create-email-password-session.md index 827b1292c5..3ffa5a5a6b 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-email-password-session.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-email-token.md b/docs/examples/1.8.x/server-php/examples/account/create-email-token.md index b2c553291b..f1405da535 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-email-token.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-jwt.md b/docs/examples/1.8.x/server-php/examples/account/create-jwt.md index 3dc486502d..458405edd4 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-jwt.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-php/examples/account/create-magic-url-token.md index 639b199756..6e738e649f 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-magic-url-token.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-php/examples/account/create-mfa-challenge.md index 64471ef7e6..6f0ecf8790 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-mfa-challenge.md @@ -6,7 +6,8 @@ use Appwrite\Enums\AuthenticationFactor; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-php/examples/account/create-o-auth-2-token.md index 1f91db79fd..721ed364ab 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-o-auth-2-token.md @@ -6,7 +6,8 @@ use Appwrite\Enums\OAuthProvider; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-php/examples/account/create-phone-token.md index 93c185479e..a2b45f76ee 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-phone-token.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-session.md b/docs/examples/1.8.x/server-php/examples/account/create-session.md index 2ff630a2c2..02525f74ce 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-php/examples/account/create-session.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/create.md b/docs/examples/1.8.x/server-php/examples/account/create.md index f92155b6ab..91684345e0 100644 --- a/docs/examples/1.8.x/server-php/examples/account/create.md +++ b/docs/examples/1.8.x/server-php/examples/account/create.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-php/examples/account/update-magic-url-session.md index fc42cbe6d1..ef6b8cc094 100644 --- a/docs/examples/1.8.x/server-php/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-php/examples/account/update-magic-url-session.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-php/examples/account/update-phone-session.md index 12d71c2fcd..42f7fb933c 100644 --- a/docs/examples/1.8.x/server-php/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-php/examples/account/update-phone-session.md @@ -5,7 +5,8 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject(''); // Your project ID + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.8.x/server-php/examples/databases/create-collection.md b/docs/examples/1.8.x/server-php/examples/databases/create-collection.md index 9ac9e365d1..aabfa0335b 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-php/examples/databases/create-collection.md @@ -18,5 +18,7 @@ $result = $databases->createCollection( name: '', permissions: [Permission::read(Role::any())], // optional documentSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + attributes: [], // optional + indexes: [] // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/update-document.md b/docs/examples/1.8.x/server-php/examples/databases/update-document.md index 2aaada2b52..5037d4bf9e 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-php/examples/databases/update-document.md @@ -16,7 +16,13 @@ $result = $databases->updateDocument( databaseId: '', collectionId: '', documentId: '', - data: [], // optional + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 33, + 'isAdmin' => false + ], // optional permissions: [Permission::read(Role::any())], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/update-documents.md b/docs/examples/1.8.x/server-php/examples/databases/update-documents.md index 72632461a9..3a4aaad284 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-php/examples/databases/update-documents.md @@ -13,7 +13,13 @@ $databases = new Databases($client); $result = $databases->updateDocuments( databaseId: '', collectionId: '', - data: [], // optional + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 33, + 'isAdmin' => false + ], // optional queries: [], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md index 8e9d2c9c17..c4cee07e51 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md @@ -16,7 +16,13 @@ $result = $databases->upsertDocument( databaseId: '', collectionId: '', documentId: '', - data: [], + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 30, + 'isAdmin' => false + ], // optional permissions: [Permission::read(Role::any())], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md index aff821c844..aef39e5454 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md @@ -18,5 +18,7 @@ $result = $tablesDB->createTable( name: '', permissions: [Permission::read(Role::any())], // optional rowSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + columns: [], // optional + indexes: [] // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md index d92ab78968..71916cd6ec 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md @@ -16,7 +16,13 @@ $result = $tablesDB->updateRow( databaseId: '', tableId: '', rowId: '', - data: [], // optional + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 33, + 'isAdmin' => false + ], // optional permissions: [Permission::read(Role::any())], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md index 681a9f0d8b..a6892f8149 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md @@ -13,7 +13,13 @@ $tablesDB = new TablesDB($client); $result = $tablesDB->updateRows( databaseId: '', tableId: '', - data: [], // optional + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 33, + 'isAdmin' => false + ], // optional queries: [], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md index 192463e9be..e26c825505 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md @@ -16,7 +16,13 @@ $result = $tablesDB->upsertRow( databaseId: '', tableId: '', rowId: '', - data: [], // optional + data: [ + 'username' => 'walter.obrien', + 'email' => 'walter.obrien@example.com', + 'fullName' => 'Walter O'Brien', + 'age' => 33, + 'isAdmin' => false + ], // optional permissions: [Permission::read(Role::any())], // optional transactionId: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-python/examples/account/create-anonymous-session.md index c3b7a87d27..d98cceafbb 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-anonymous-session.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-python/examples/account/create-email-password-session.md index e831821a6c..c69b50ad84 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-email-password-session.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-email-token.md b/docs/examples/1.8.x/server-python/examples/account/create-email-token.md index 7ff4f6b8a9..0e4f1b6a43 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-email-token.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-jwt.md b/docs/examples/1.8.x/server-python/examples/account/create-jwt.md index 172f45f996..9b5fd905c5 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-jwt.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-python/examples/account/create-magic-url-token.md index 14e76ed4d3..439f2e743d 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-magic-url-token.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-python/examples/account/create-mfa-challenge.md index abd746c605..85dcd7a929 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-mfa-challenge.md @@ -5,6 +5,7 @@ from appwrite.enums import AuthenticationFactor client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-python/examples/account/create-o-auth-2-token.md index 2dc171bb31..4d4c068065 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-o-auth-2-token.md @@ -5,6 +5,7 @@ from appwrite.enums import OAuthProvider client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-python/examples/account/create-phone-token.md index 06c2b20414..3b63669769 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-phone-token.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-session.md b/docs/examples/1.8.x/server-python/examples/account/create-session.md index 1048dfedb2..a05d4f2422 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-python/examples/account/create-session.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/create.md b/docs/examples/1.8.x/server-python/examples/account/create.md index 7eda5a37fe..a0c09f1017 100644 --- a/docs/examples/1.8.x/server-python/examples/account/create.md +++ b/docs/examples/1.8.x/server-python/examples/account/create.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-python/examples/account/update-magic-url-session.md index 0146083030..60baca81f9 100644 --- a/docs/examples/1.8.x/server-python/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-python/examples/account/update-magic-url-session.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-python/examples/account/update-phone-session.md index 52e77233a6..5fbba21347 100644 --- a/docs/examples/1.8.x/server-python/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-python/examples/account/update-phone-session.md @@ -4,6 +4,7 @@ from appwrite.services.account import Account client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.8.x/server-python/examples/databases/create-collection.md b/docs/examples/1.8.x/server-python/examples/databases/create-collection.md index 66dc66763b..196a9d5565 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-python/examples/databases/create-collection.md @@ -16,5 +16,7 @@ result = databases.create_collection( name = '', permissions = [Permission.read(Role.any())], # optional document_security = False, # optional - enabled = False # optional + enabled = False, # optional + attributes = [], # optional + indexes = [] # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/update-document.md b/docs/examples/1.8.x/server-python/examples/databases/update-document.md index a396b9e771..91d233d09e 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-python/examples/databases/update-document.md @@ -14,7 +14,13 @@ result = databases.update_document( database_id = '', collection_id = '', document_id = '', - data = {}, # optional + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": False + }, # optional permissions = [Permission.read(Role.any())], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/update-documents.md b/docs/examples/1.8.x/server-python/examples/databases/update-documents.md index 2aab8c61c4..cbf6f64652 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-python/examples/databases/update-documents.md @@ -11,7 +11,13 @@ databases = Databases(client) result = databases.update_documents( database_id = '', collection_id = '', - data = {}, # optional + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": False + }, # optional queries = [], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md index ac53ae1172..0d0f1b21d6 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md @@ -14,7 +14,13 @@ result = databases.upsert_document( database_id = '', collection_id = '', document_id = '', - data = {}, + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": False + }, # optional permissions = [Permission.read(Role.any())], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md index 91a15df486..649a4e8ad2 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md @@ -16,5 +16,7 @@ result = tables_db.create_table( name = '', permissions = [Permission.read(Role.any())], # optional row_security = False, # optional - enabled = False # optional + enabled = False, # optional + columns = [], # optional + indexes = [] # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md index 3d342642ab..d6a55c6485 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md @@ -14,7 +14,13 @@ result = tables_db.update_row( database_id = '', table_id = '', row_id = '', - data = {}, # optional + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": False + }, # optional permissions = [Permission.read(Role.any())], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md index 4717581276..77360af4d8 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md @@ -11,7 +11,13 @@ tables_db = TablesDB(client) result = tables_db.update_rows( database_id = '', table_id = '', - data = {}, # optional + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": False + }, # optional queries = [], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md index a89d657c63..d0520b384e 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md @@ -14,7 +14,13 @@ result = tables_db.upsert_row( database_id = '', table_id = '', row_id = '', - data = {}, # optional + data = { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": False + }, # optional permissions = [Permission.read(Role.any())], # optional transaction_id = '' # optional ) diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-rest/examples/account/create-anonymous-session.md index b62c82a6a8..ff7408fa94 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-anonymous-session.md @@ -3,4 +3,6 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-rest/examples/account/create-email-password-session.md index 1103d2ebfb..2cf4121b4f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-email-password-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "email": "email@example.com", diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-email-token.md b/docs/examples/1.8.x/server-rest/examples/account/create-email-token.md index 552b724b9c..3e0d10827f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-email-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-jwt.md b/docs/examples/1.8.x/server-rest/examples/account/create-jwt.md index 62a7dee7e9..52901d67a2 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-jwt.md @@ -3,4 +3,6 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-rest/examples/account/create-magic-url-token.md index 29d68bd0fa..4629afaac8 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-magic-url-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md index e5a5b0ea05..0990fcb98d 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "factor": "email" diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-rest/examples/account/create-o-auth-2-token.md index 8a0cab614f..6d569682c1 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-o-auth-2-token.md @@ -2,3 +2,5 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-rest/examples/account/create-phone-token.md index 5127c8377a..c3cb75347f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-phone-token.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-session.md b/docs/examples/1.8.x/server-rest/examples/account/create-session.md index 0acc50cda6..810f816212 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/create.md b/docs/examples/1.8.x/server-rest/examples/account/create.md index fa06bfcc1a..ef9967cab1 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-rest/examples/account/update-magic-url-session.md index 1a82afbfcc..a1fe139a8b 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-magic-url-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-rest/examples/account/update-phone-session.md index 54872eecd2..eb18a0960c 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-phone-session.md @@ -3,6 +3,8 @@ Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: { "userId": "", diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-collection.md b/docs/examples/1.8.x/server-rest/examples/databases/create-collection.md index 4f1e77728e..6d87ed2e90 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-collection.md @@ -10,5 +10,7 @@ X-Appwrite-Key: "name": "", "permissions": ["read(\"any\")"], "documentSecurity": false, - "enabled": false + "enabled": false, + "attributes": [], + "indexes": [] } diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-document.md b/docs/examples/1.8.x/server-rest/examples/databases/update-document.md index dafd249c31..16415c1205 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-document.md @@ -8,7 +8,13 @@ X-Appwrite-Key: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md index 69d2dccd13..d408ee61cc 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md @@ -6,7 +6,13 @@ X-Appwrite-Project: X-Appwrite-Key: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "queries": [], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md index e4a9c7796a..f0b41d10dc 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md @@ -8,7 +8,13 @@ X-Appwrite-Key: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-rest/examples/tablesdb/create-table.md index 1625e8441b..d06ce5ce04 100644 --- a/docs/examples/1.8.x/server-rest/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-rest/examples/tablesdb/create-table.md @@ -10,5 +10,7 @@ X-Appwrite-Key: "name": "", "permissions": ["read(\"any\")"], "rowSecurity": false, - "enabled": false + "enabled": false, + "columns": [], + "indexes": [] } diff --git a/docs/examples/1.8.x/server-rest/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-rest/examples/tablesdb/update-row.md index 5c37e3d929..2cbef177bb 100644 --- a/docs/examples/1.8.x/server-rest/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-rest/examples/tablesdb/update-row.md @@ -8,7 +8,13 @@ X-Appwrite-Key: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-rest/examples/tablesdb/update-rows.md index c872907d30..7ba1a7af2b 100644 --- a/docs/examples/1.8.x/server-rest/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-rest/examples/tablesdb/update-rows.md @@ -6,7 +6,13 @@ X-Appwrite-Project: X-Appwrite-Key: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "queries": [], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-rest/examples/tablesdb/upsert-row.md index 9f698fb195..a333aa3fc4 100644 --- a/docs/examples/1.8.x/server-rest/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-rest/examples/tablesdb/upsert-row.md @@ -8,7 +8,13 @@ X-Appwrite-Key: X-Appwrite-JWT: { - "data": {}, + "data": { + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + }, "permissions": ["read(\"any\")"], "transactionId": "" } diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-ruby/examples/account/create-anonymous-session.md index bcb25d66f5..d24b239712 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-anonymous-session.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-ruby/examples/account/create-email-password-session.md index be5fc1c07a..d38a7c3cc5 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-email-password-session.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-email-token.md b/docs/examples/1.8.x/server-ruby/examples/account/create-email-token.md index d75e310a36..6fb295c529 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-email-token.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-jwt.md b/docs/examples/1.8.x/server-ruby/examples/account/create-jwt.md index 8e5b6b78c8..682c247750 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-jwt.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-ruby/examples/account/create-magic-url-token.md index 9537d1fb3d..ea19378441 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-magic-url-token.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-ruby/examples/account/create-mfa-challenge.md index ba34779ad2..e5da228b87 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-mfa-challenge.md @@ -6,6 +6,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-ruby/examples/account/create-o-auth-2-token.md index 52bc5d6194..60543c9441 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-o-auth-2-token.md @@ -6,6 +6,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-ruby/examples/account/create-phone-token.md index 81bedd0ce9..d1f2e1e849 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-phone-token.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-session.md b/docs/examples/1.8.x/server-ruby/examples/account/create-session.md index 4b8ce216bc..6d606b53b3 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-session.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create.md b/docs/examples/1.8.x/server-ruby/examples/account/create.md index 84228b8351..259e25e70d 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/create.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/create.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-ruby/examples/account/update-magic-url-session.md index c96820f183..27257c8281 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/update-magic-url-session.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-ruby/examples/account/update-phone-session.md index b81c485c8c..307b9a3a55 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/update-phone-session.md @@ -5,6 +5,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID + .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.8.x/server-ruby/examples/databases/create-collection.md index 178b5a5221..ab6233c6ee 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/create-collection.md @@ -17,5 +17,7 @@ result = databases.create_collection( name: '', permissions: [Permission.read(Role.any())], # optional document_security: false, # optional - enabled: false # optional + enabled: false, # optional + attributes: [], # optional + indexes: [] # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.8.x/server-ruby/examples/databases/update-document.md index 5a1eb56537..0f736a1a66 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/update-document.md @@ -15,7 +15,13 @@ result = databases.update_document( database_id: '', collection_id: '', document_id: '', - data: {}, # optional + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 33, + "isAdmin" => false + }, # optional permissions: [Permission.read(Role.any())], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/update-documents.md b/docs/examples/1.8.x/server-ruby/examples/databases/update-documents.md index c85f594e55..00bdc9a20c 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/update-documents.md @@ -12,7 +12,13 @@ databases = Databases.new(client) result = databases.update_documents( database_id: '', collection_id: '', - data: {}, # optional + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 33, + "isAdmin" => false + }, # optional queries: [], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md index fa2f1cd124..07c7b7e876 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md @@ -15,7 +15,13 @@ result = databases.upsert_document( database_id: '', collection_id: '', document_id: '', - data: {}, + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 30, + "isAdmin" => false + }, # optional permissions: [Permission.read(Role.any())], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md index 6a1a0e901a..ba09b9dfc0 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md @@ -17,5 +17,7 @@ result = tables_db.create_table( name: '', permissions: [Permission.read(Role.any())], # optional row_security: false, # optional - enabled: false # optional + enabled: false, # optional + columns: [], # optional + indexes: [] # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md index fc6fca6635..16e8accc24 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md @@ -15,7 +15,13 @@ result = tables_db.update_row( database_id: '', table_id: '', row_id: '', - data: {}, # optional + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 33, + "isAdmin" => false + }, # optional permissions: [Permission.read(Role.any())], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md index 7c538a137d..c82754d587 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md @@ -12,7 +12,13 @@ tables_db = TablesDB.new(client) result = tables_db.update_rows( database_id: '', table_id: '', - data: {}, # optional + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 33, + "isAdmin" => false + }, # optional queries: [], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md index 6201834ea6..11210f39d4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md @@ -15,7 +15,13 @@ result = tables_db.upsert_row( database_id: '', table_id: '', row_id: '', - data: {}, # optional + data: { + "username" => "walter.obrien", + "email" => "walter.obrien@example.com", + "fullName" => "Walter O'Brien", + "age" => 33, + "isAdmin" => false + }, # optional permissions: [Permission.read(Role.any())], # optional transaction_id: '' # optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/server-swift/examples/account/create-anonymous-session.md index 22020a16d9..f66db94e52 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-anonymous-session.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-email-password-session.md b/docs/examples/1.8.x/server-swift/examples/account/create-email-password-session.md index 5f541a8a15..fe383fc1d6 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-email-password-session.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-email-token.md b/docs/examples/1.8.x/server-swift/examples/account/create-email-token.md index cf82afde8f..5ee5fa63b8 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-email-token.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-jwt.md b/docs/examples/1.8.x/server-swift/examples/account/create-jwt.md index fbcd50401c..f4bb73d079 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-jwt.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-jwt.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-magic-url-token.md b/docs/examples/1.8.x/server-swift/examples/account/create-magic-url-token.md index 27bbe4137e..d1df7a17f1 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-magic-url-token.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-magic-url-token.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-swift/examples/account/create-mfa-challenge.md index 27f1bc1784..2703d0a836 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-mfa-challenge.md @@ -4,6 +4,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-o-auth-2-token.md b/docs/examples/1.8.x/server-swift/examples/account/create-o-auth-2-token.md index 21b54e8c9a..396fdce2cc 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-o-auth-2-token.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-o-auth-2-token.md @@ -4,6 +4,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-phone-token.md b/docs/examples/1.8.x/server-swift/examples/account/create-phone-token.md index 12b2d4b223..20c7173a3f 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-phone-token.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-session.md b/docs/examples/1.8.x/server-swift/examples/account/create-session.md index 2065692a16..6cf206d6f7 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create-session.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create-session.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create.md b/docs/examples/1.8.x/server-swift/examples/account/create.md index 79b4db64ba..8740f9b357 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/create.md +++ b/docs/examples/1.8.x/server-swift/examples/account/create.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/update-magic-url-session.md b/docs/examples/1.8.x/server-swift/examples/account/update-magic-url-session.md index 507006b230..4bfe518e55 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/update-magic-url-session.md +++ b/docs/examples/1.8.x/server-swift/examples/account/update-magic-url-session.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/account/update-phone-session.md b/docs/examples/1.8.x/server-swift/examples/account/update-phone-session.md index f6776d1de1..80945ffcf7 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/server-swift/examples/account/update-phone-session.md @@ -3,6 +3,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID + .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.8.x/server-swift/examples/databases/create-collection.md index 823913ff2f..132c4fe545 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/create-collection.md @@ -13,6 +13,8 @@ let collection = try await databases.createCollection( name: "", permissions: [Permission.read(Role.any())], // optional documentSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + attributes: [], // optional + indexes: [] // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/update-document.md b/docs/examples/1.8.x/server-swift/examples/databases/update-document.md index dbb954f133..7c23e2684f 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/update-document.md @@ -11,7 +11,13 @@ let document = try await databases.updateDocument( databaseId: "", collectionId: "", documentId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/update-documents.md b/docs/examples/1.8.x/server-swift/examples/databases/update-documents.md index f1fb34aa3c..2326f5f363 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/update-documents.md @@ -10,7 +10,13 @@ let databases = Databases(client) let documentList = try await databases.updateDocuments( databaseId: "", collectionId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional queries: [], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md index 1873d5e015..ae57ac579c 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md @@ -11,7 +11,13 @@ let document = try await databases.upsertDocument( databaseId: "", collectionId: "", documentId: "", - data: [:], + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 30, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md index a97613e775..c04c25aa4a 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md @@ -13,6 +13,8 @@ let table = try await tablesDB.createTable( name: "", permissions: [Permission.read(Role.any())], // optional rowSecurity: false, // optional - enabled: false // optional + enabled: false, // optional + columns: [], // optional + indexes: [] // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md index d13df3a96f..c785b625c1 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md @@ -11,7 +11,13 @@ let row = try await tablesDB.updateRow( databaseId: "", tableId: "", rowId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md index f18a2a306c..035572c0f4 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md @@ -10,7 +10,13 @@ let tablesDB = TablesDB(client) let rowList = try await tablesDB.updateRows( databaseId: "", tableId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional queries: [], // optional transactionId: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md index e6fec83c08..fc7f454548 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md @@ -11,7 +11,13 @@ let row = try await tablesDB.upsertRow( databaseId: "", tableId: "", rowId: "", - data: [:], // optional + data: [ + "username": "walter.obrien", + "email": "walter.obrien@example.com", + "fullName": "Walter O'Brien", + "age": 33, + "isAdmin": false + ], // optional permissions: [Permission.read(Role.any())], // optional transactionId: "" // optional ) diff --git a/docs/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index 49d45becaf..b370394c8b 100644 --- a/docs/sdks/dart/CHANGELOG.md +++ b/docs/sdks/dart/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 20.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 20.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index eabf40dac0..092bfc1ec3 100644 --- a/docs/sdks/dotnet/CHANGELOG.md +++ b/docs/sdks/dotnet/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.24.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 0.23.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index c93c431eb7..f177f1f9ac 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## v0.16.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## v0.15.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index 07e9d9647f..a850801431 100644 --- a/docs/sdks/kotlin/CHANGELOG.md +++ b/docs/sdks/kotlin/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 13.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 13.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index 2811a060f4..da425adfc5 100644 --- a/docs/sdks/nodejs/CHANGELOG.md +++ b/docs/sdks/nodejs/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 21.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 21.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index 1ffcff2a6e..b94ebcc753 100644 --- a/docs/sdks/php/CHANGELOG.md +++ b/docs/sdks/php/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 19.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 19.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index ff2ac85322..160d5aa86c 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 14.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 14.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index 272f9b6631..61856a150b 100644 --- a/docs/sdks/ruby/CHANGELOG.md +++ b/docs/sdks/ruby/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 20.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 20.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index 22ae4719a3..4be643592d 100644 --- a/docs/sdks/swift/CHANGELOG.md +++ b/docs/sdks/swift/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 14.1.0 + +* Added ability to create columns and indexes synchronously while creating a table + ## 14.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/src/Appwrite/Auth/OAuth2/Mock.php b/src/Appwrite/Auth/OAuth2/Mock.php index 61ce41d1b7..8bbf3647a1 100644 --- a/src/Appwrite/Auth/OAuth2/Mock.php +++ b/src/Appwrite/Auth/OAuth2/Mock.php @@ -130,7 +130,9 @@ class Mock extends OAuth2 */ public function isEmailVerified(string $accessToken): bool { - return true; + $user = $this->getUser($accessToken); + + return $user['verified'] ?? true; } /** diff --git a/src/Appwrite/Auth/OAuth2/MockUnverified.php b/src/Appwrite/Auth/OAuth2/MockUnverified.php new file mode 100644 index 0000000000..93bea02416 --- /dev/null +++ b/src/Appwrite/Auth/OAuth2/MockUnverified.php @@ -0,0 +1,30 @@ +user)) { + $user = $this->request('GET', 'http://localhost/' . $this->version . '/mock/tests/general/oauth2/user-unverified?token=' . \urlencode($accessToken)); + + $this->user = \json_decode($user, true); + } + + return $this->user; + } +} diff --git a/src/Appwrite/Certificates/Adapter.php b/src/Appwrite/Certificates/Adapter.php index ab673e9cfe..47d865ad08 100644 --- a/src/Appwrite/Certificates/Adapter.php +++ b/src/Appwrite/Certificates/Adapter.php @@ -8,6 +8,10 @@ interface Adapter { public function issueCertificate(string $certName, string $domain, ?string $domainType): ?string; + public function isInstantGeneration(string $domain, ?string $domainType): bool; + + public function getCertificateStatus(string $domain, ?string $domainType): string; + public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool; public function deleteCertificate(string $domain): void; diff --git a/src/Appwrite/Certificates/Exception/CertificateStatus.php b/src/Appwrite/Certificates/Exception/CertificateStatus.php new file mode 100644 index 0000000000..ca15a95ed8 --- /dev/null +++ b/src/Appwrite/Certificates/Exception/CertificateStatus.php @@ -0,0 +1,10 @@ +setQueue(Event::AUDITS_QUEUE_NAME) - ->setClass(Event::AUDITS_CLASS_NAME); + ->setQueue(System::getEnv('_APP_AUDITS_QUEUE_NAME', Event::AUDITS_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_AUDITS_CLASS_NAME', Event::AUDITS_CLASS_NAME)); } /** diff --git a/src/Appwrite/Event/Build.php b/src/Appwrite/Event/Build.php index 79437c3e58..4eaf108f15 100644 --- a/src/Appwrite/Event/Build.php +++ b/src/Appwrite/Event/Build.php @@ -2,8 +2,10 @@ namespace Appwrite\Event; +use Utopia\Config\Config; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Build extends Event { @@ -17,8 +19,8 @@ class Build extends Event parent::__construct($publisher); $this - ->setQueue(Event::BUILDS_QUEUE_NAME) - ->setClass(Event::BUILDS_CLASS_NAME); + ->setQueue(System::getEnv('_APP_BUILDS_QUEUE_NAME', Event::BUILDS_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_BUILDS_CLASS_NAME', Event::BUILDS_CLASS_NAME)); } /** @@ -110,13 +112,18 @@ class Build extends Event */ protected function preparePayload(): array { + $platform = $this->platform; + if (empty($platform)) { + $platform = Config::getParam('platform', []); + } + return [ 'project' => $this->project, 'resource' => $this->resource, 'deployment' => $this->deployment, 'type' => $this->type, 'template' => $this->template, - 'platform' => $this->platform + 'platform' => $platform, ]; } diff --git a/src/Appwrite/Event/Certificate.php b/src/Appwrite/Event/Certificate.php index 00875c7a4a..5f8fe0408c 100644 --- a/src/Appwrite/Event/Certificate.php +++ b/src/Appwrite/Event/Certificate.php @@ -4,10 +4,14 @@ namespace Appwrite\Event; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Certificate extends Event { + public const string ACTION_DOMAIN_VERIFICATION = 'verification'; + public const string ACTION_GENERATION = 'generation'; protected bool $skipRenewCheck = false; + protected string $action = self::ACTION_GENERATION; protected ?Document $domain = null; protected ?string $validationDomain = null; @@ -16,8 +20,8 @@ class Certificate extends Event parent::__construct($publisher); $this - ->setQueue(Event::CERTIFICATES_QUEUE_NAME) - ->setClass(Event::CERTIFICATES_CLASS_NAME); + ->setQueue(System::getEnv('_APP_CERTIFICATES_QUEUE_NAME', Event::CERTIFICATES_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_CERTIFICATES_CLASS_NAME', Event::CERTIFICATES_CLASS_NAME)); } /** @@ -90,6 +94,28 @@ class Certificate extends Event return $this->skipRenewCheck; } + /** + * Set action for this certificate event. + * + * @param string $action + * @return self + */ + public function setAction(string $action): self + { + $this->action = $action; + return $this; + } + + /** + * Get action for this certificate event. + * + * @return string + */ + public function getAction(): string + { + return $this->action; + } + /** * Prepare the payload for the event @@ -102,7 +128,8 @@ class Certificate extends Event 'project' => $this->project, 'domain' => $this->domain, 'skipRenewCheck' => $this->skipRenewCheck, - 'validationDomain' => $this->validationDomain + 'validationDomain' => $this->validationDomain, + 'action' => $this->action ]; } } diff --git a/src/Appwrite/Event/Database.php b/src/Appwrite/Event/Database.php index 8e7f6b7625..4e8e1fdea9 100644 --- a/src/Appwrite/Event/Database.php +++ b/src/Appwrite/Event/Database.php @@ -5,6 +5,7 @@ namespace Appwrite\Event; use Utopia\Database\Document; use Utopia\DSN\DSN; use Utopia\Queue\Publisher; +use Utopia\System\System; class Database extends Event { @@ -24,7 +25,7 @@ class Database extends Event { parent::__construct($publisher); - $this->setClass(Event::DATABASE_CLASS_NAME); + $this->setClass(System::getEnv('_APP_DATABASE_CLASS_NAME', Event::DATABASE_CLASS_NAME)); } /** @@ -161,7 +162,7 @@ class Database extends Event return $this->document; } - public function setProject(Document $project): self + public function setProject(Document $project): static { $database = $project->getAttribute('database'); if (!empty($database)) { diff --git a/src/Appwrite/Event/Delete.php b/src/Appwrite/Event/Delete.php index 450be306d7..6747acb03f 100644 --- a/src/Appwrite/Event/Delete.php +++ b/src/Appwrite/Event/Delete.php @@ -4,6 +4,7 @@ namespace Appwrite\Event; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Delete extends Event { @@ -20,8 +21,8 @@ class Delete extends Event parent::__construct($publisher); $this - ->setQueue(Event::DELETE_QUEUE_NAME) - ->setClass(Event::DELETE_CLASS_NAME); + ->setQueue(System::getEnv('_APP_DELETE_QUEUE_NAME', Event::DELETE_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_DELETE_CLASS_NAME', Event::DELETE_CLASS_NAME)); } /** diff --git a/src/Appwrite/Event/Event.php b/src/Appwrite/Event/Event.php index f8fb012075..c7bb22f715 100644 --- a/src/Appwrite/Event/Event.php +++ b/src/Appwrite/Event/Event.php @@ -92,9 +92,9 @@ class Event * Set queue used for this event. * * @param string $queue - * @return Event + * @return static */ - public function setQueue(string $queue): self + public function setQueue(string $queue): static { $this->queue = $queue; @@ -114,9 +114,9 @@ class Event /** * Set event name used for this event. * @param string $event - * @return Event + * @return static */ - public function setEvent(string $event): self + public function setEvent(string $event): static { $this->event = $event; @@ -137,9 +137,9 @@ class Event * Set project for this event. * * @param Document $project - * @return self + * @return static */ - public function setProject(Document $project): self + public function setProject(Document $project): static { $this->project = $project; return $this; @@ -159,9 +159,9 @@ class Event * Set platform for this event. * * @param array $platform - * @return self + * @return static */ - public function setPlatform(array $platform): self + public function setPlatform(array $platform): static { $this->platform = $platform; return $this; @@ -181,9 +181,9 @@ class Event * Set user for this event. * * @param Document $user - * @return self + * @return static */ - public function setUser(Document $user): self + public function setUser(Document $user): static { $this->user = $user; @@ -193,9 +193,9 @@ class Event /** * Set user ID for this event. * - * @return self + * @return static */ - public function setUserId(string $userId): self + public function setUserId(string $userId): static { $this->userId = $userId; @@ -225,9 +225,9 @@ class Event * * @param array $payload * @param array $sensitive - * @return self + * @return static */ - public function setPayload(array $payload, array $sensitive = []): self + public function setPayload(array $payload, array $sensitive = []): static { $this->payload = $payload; diff --git a/src/Appwrite/Event/Func.php b/src/Appwrite/Event/Func.php index 380a28f1db..8d8c51b540 100644 --- a/src/Appwrite/Event/Func.php +++ b/src/Appwrite/Event/Func.php @@ -2,8 +2,10 @@ namespace Appwrite\Event; +use Utopia\Config\Config; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Func extends Event { @@ -24,8 +26,8 @@ class Func extends Event parent::__construct($publisher); $this - ->setQueue(Event::FUNCTIONS_QUEUE_NAME) - ->setClass(Event::FUNCTIONS_CLASS_NAME); + ->setQueue(System::getEnv('_APP_FUNCTIONS_QUEUE_NAME', Event::FUNCTIONS_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_FUNCTIONS_CLASS_NAME', Event::FUNCTIONS_CLASS_NAME)); } /** @@ -202,6 +204,11 @@ class Func extends Event { $events = $this->getEvent() ? Event::generateEvents($this->getEvent(), $this->getParams()) : null; + $platform = $this->platform; + if (empty($platform)) { + $platform = Config::getParam('platform', []); + } + return [ 'project' => $this->project, 'user' => $this->user, @@ -217,7 +224,7 @@ class Func extends Event 'path' => $this->path, 'headers' => $this->headers, 'method' => $this->method, - 'platform' => $this->platform + 'platform' => $platform, ]; } } diff --git a/src/Appwrite/Event/Mail.php b/src/Appwrite/Event/Mail.php index c801d30493..3cfe8f8a87 100644 --- a/src/Appwrite/Event/Mail.php +++ b/src/Appwrite/Event/Mail.php @@ -2,7 +2,9 @@ namespace Appwrite\Event; +use Utopia\Config\Config; use Utopia\Queue\Publisher; +use Utopia\System\System; class Mail extends Event { @@ -23,8 +25,8 @@ class Mail extends Event parent::__construct($publisher); $this - ->setQueue(Event::MAILS_QUEUE_NAME) - ->setClass(Event::MAILS_CLASS_NAME); + ->setQueue(System::getEnv('_APP_MAILS_QUEUE_NAME', Event::MAILS_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_MAILS_CLASS_NAME', Event::MAILS_CLASS_NAME)); } /** @@ -516,6 +518,11 @@ class Mail extends Event */ protected function preparePayload(): array { + $platform = $this->platform; + if (empty($platform)) { + $platform = Config::getParam('platform', []); + } + return [ 'project' => $this->project, 'recipient' => $this->recipient, @@ -528,7 +535,8 @@ class Mail extends Event 'variables' => $this->variables, 'attachment' => $this->attachment, 'customMailOptions' => $this->customMailOptions, - 'events' => Event::generateEvents($this->getEvent(), $this->getParams()) + 'events' => Event::generateEvents($this->getEvent(), $this->getParams()), + 'platform' => $platform, ]; } } diff --git a/src/Appwrite/Event/Messaging.php b/src/Appwrite/Event/Messaging.php index 3ddbac1040..8c13185e0b 100644 --- a/src/Appwrite/Event/Messaging.php +++ b/src/Appwrite/Event/Messaging.php @@ -4,6 +4,7 @@ namespace Appwrite\Event; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Messaging extends Event { @@ -19,8 +20,8 @@ class Messaging extends Event parent::__construct($publisher); $this - ->setQueue(Event::MESSAGING_QUEUE_NAME) - ->setClass(Event::MESSAGING_CLASS_NAME); + ->setQueue(System::getEnv('_APP_MESSAGING_QUEUE_NAME', Event::MESSAGING_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_MESSAGING_CLASS_NAME', Event::MESSAGING_CLASS_NAME)); } /** @@ -161,19 +162,6 @@ class Messaging extends Event return $this->scheduledAt; } - /** - * Set project for this event. - * - * @param Document $project - * @return self - */ - public function setProject(Document $project): self - { - $this->project = $project; - - return $this; - } - /** * Prepare the payload for the event * diff --git a/src/Appwrite/Event/Migration.php b/src/Appwrite/Event/Migration.php index ca54310ce6..89f49f0876 100644 --- a/src/Appwrite/Event/Migration.php +++ b/src/Appwrite/Event/Migration.php @@ -2,8 +2,10 @@ namespace Appwrite\Event; +use Utopia\Config\Config; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class Migration extends Event { @@ -15,8 +17,8 @@ class Migration extends Event parent::__construct($publisher); $this - ->setQueue(Event::MIGRATIONS_QUEUE_NAME) - ->setClass(Event::MIGRATIONS_CLASS_NAME); + ->setQueue(System::getEnv('_APP_MIGRATIONS_QUEUE_NAME', Event::MIGRATIONS_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_MIGRATIONS_CLASS_NAME', Event::MIGRATIONS_CLASS_NAME)); } /** @@ -73,11 +75,16 @@ class Migration extends Event */ protected function preparePayload(): array { + $platform = $this->platform; + if (empty($platform)) { + $platform = Config::getParam('platform', []); + } + return [ 'project' => $this->project, 'user' => $this->user, 'migration' => $this->migration, - 'platform' => $this->platform, + 'platform' => $platform, ]; } } diff --git a/src/Appwrite/Event/StatsResources.php b/src/Appwrite/Event/StatsResources.php index c4f7ac1690..07f23feda8 100644 --- a/src/Appwrite/Event/StatsResources.php +++ b/src/Appwrite/Event/StatsResources.php @@ -3,6 +3,7 @@ namespace Appwrite\Event; use Utopia\Queue\Publisher; +use Utopia\System\System; class StatsResources extends Event { @@ -13,8 +14,8 @@ class StatsResources extends Event parent::__construct($publisher); $this - ->setQueue(Event::STATS_RESOURCES_QUEUE_NAME) - ->setClass(Event::STATS_RESOURCES_CLASS_NAME); + ->setQueue(System::getEnv('_APP_STATS_RESOURCES_QUEUE_NAME', Event::STATS_RESOURCES_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_STATS_RESOURCES_CLASS_NAME', Event::STATS_RESOURCES_CLASS_NAME)); } /** diff --git a/src/Appwrite/Event/StatsUsage.php b/src/Appwrite/Event/StatsUsage.php index f6b1d695f4..47ba5a3ea0 100644 --- a/src/Appwrite/Event/StatsUsage.php +++ b/src/Appwrite/Event/StatsUsage.php @@ -4,6 +4,7 @@ namespace Appwrite\Event; use Utopia\Database\Document; use Utopia\Queue\Publisher; +use Utopia\System\System; class StatsUsage extends Event { @@ -18,8 +19,8 @@ class StatsUsage extends Event parent::__construct($publisher); $this - ->setQueue(Event::STATS_USAGE_QUEUE_NAME) - ->setClass(Event::STATS_USAGE_CLASS_NAME); + ->setQueue(System::getEnv('_APP_STATS_USAGE_QUEUE_NAME', Event::STATS_USAGE_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_STATS_USAGE_CLASS_NAME', Event::STATS_USAGE_CLASS_NAME)); } /** diff --git a/src/Appwrite/Event/Webhook.php b/src/Appwrite/Event/Webhook.php index 5cc65758ee..f6d16c8b14 100644 --- a/src/Appwrite/Event/Webhook.php +++ b/src/Appwrite/Event/Webhook.php @@ -3,6 +3,7 @@ namespace Appwrite\Event; use Utopia\Queue\Publisher; +use Utopia\System\System; class Webhook extends Event { @@ -11,8 +12,8 @@ class Webhook extends Event parent::__construct($publisher); $this - ->setQueue(Event::WEBHOOK_QUEUE_NAME) - ->setClass(Event::WEBHOOK_CLASS_NAME); + ->setQueue(System::getEnv('_APP_WEBHOOK_QUEUE_NAME', Event::WEBHOOK_QUEUE_NAME)) + ->setClass(System::getEnv('_APP_WEBHOOK_CLASS_NAME', Event::WEBHOOK_CLASS_NAME)); } /** diff --git a/src/Appwrite/Network/Cors.php b/src/Appwrite/Network/Cors.php index 88d0158379..9fc47c5808 100644 --- a/src/Appwrite/Network/Cors.php +++ b/src/Appwrite/Network/Cors.php @@ -2,6 +2,8 @@ namespace Appwrite\Network; +use Utopia\Validator\Hostname; + /** * Generate CORS response headers for an incoming request. * @@ -76,7 +78,8 @@ final class Cors } // Match only by host - if (!\in_array($host, $this->allowedHosts, true)) { + $validator = new Hostname($this->allowedHosts); + if (!$validator->isValid($host)) { return $headers; } diff --git a/src/Appwrite/Network/Validator/DNS.php b/src/Appwrite/Network/Validator/DNS.php index e3c1d38015..2dc3504a96 100644 --- a/src/Appwrite/Network/Validator/DNS.php +++ b/src/Appwrite/Network/Validator/DNS.php @@ -2,115 +2,66 @@ namespace Appwrite\Network\Validator; -use Utopia\DNS\Client; -use Utopia\DNS\Message; -use Utopia\DNS\Message\Question; +use Swoole\Coroutine\WaitGroup; use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; -use Utopia\System\System; -use Utopia\Validator; +use Utopia\DNS\Validator\DNS as BaseDNS; -class DNS extends Validator +class DNS extends BaseDNS { - public function __construct( - protected string $target, - protected int $type = Record::TYPE_CNAME, - protected string $server = '' - ) { - $this->server = $server ?: System::getEnv('_APP_DNS', '8.8.8.8'); + protected array $dnsServers = []; + + /** + * @param string $target Expected value for the DNS record + * @param int $type Type of DNS record to validate + * For value, use const from Record, such as Record::TYPE_A + * When using CAA type, you can provide exact match, or just issuer domain as $target + * @param array $dnsServers DNS server IP(s) or domain(s) to use for validation + */ + public function __construct(string $target, int $type = Record::TYPE_CNAME, array $dnsServers = []) + { + parent::__construct($target, $type, $dnsServers[0] ?? self::DEFAULT_DNS_SERVER); + + $this->dnsServers = $dnsServers; } - public function getDescription(): string + /** + * Validate DNS record value against multiple DNS servers + * + * @param mixed $value + * @return bool + */ + public function isValid(mixed $value): bool { - return 'Invalid DNS record.'; - } + $wg = new WaitGroup(); + $failedValidator = null; - public function isValid($value): bool - { - if (!is_string($value) || trim($value) === '') { - return false; - } + foreach ($this->dnsServers as $dnsServer) { + $wg->add(); - $client = new Client($this->server); - try { - $response = $client->query(Message::query( - new Question($value, $this->type) - )); - } catch (\Throwable) { - return false; - } + \go(function () use ($value, $dnsServer, $wg, &$failedValidator) { + try { + $validator = new BaseDNS($this->target, $this->type, $dnsServer); + $isValid = $validator->isValid($value); - $typeMatches = array_filter( - $response->answers, - fn (Record $record) => $record->type === $this->type - ); - - if (empty($typeMatches)) { - if ($this->type === Record::TYPE_CAA) { - return $this->validateParentCAA($value); - } - - return false; - } - - foreach ($typeMatches as $record) { - if ($this->type === Record::TYPE_CAA) { - $valuePart = $this->extractCAAValue($record->rdata); - if ($valuePart !== '' && $valuePart === $this->target) { - return true; + if (!$isValid) { + $failedValidator = $validator; + } + } finally { + $wg->done(); } - } - - if ($record->rdata === $this->target) { - return true; - } + }); } - return false; - } + $wg->wait(); - private function validateParentCAA(string $domain): bool - { - try { - $domainInfo = new Domain($domain); - } catch (\Throwable) { + if (!\is_null($failedValidator)) { + $this->count = $failedValidator->count; + $this->value = $failedValidator->value; + $this->reason = $failedValidator->reason; + $this->records = $failedValidator->records; return false; } - if ($domainInfo->get() === $domainInfo->getApex()) { - return true; - } - - $parts = explode('.', $domainInfo->get()); - array_shift($parts); - $parent = implode('.', $parts); - - if ($parent === '') { - return false; - } - - $validator = new self($this->target, Record::TYPE_CAA, $this->server); - return $validator->isValid($parent); - } - - private function extractCAAValue(string $rdata): string - { - $parts = explode(' ', $rdata, 3); - if (count($parts) < 3) { - return ''; - } - - $value = trim($parts[2], '"'); - return explode(';', $value)[0] ?? ''; - } - - public function isArray(): bool - { - return false; - } - - public function getType(): string - { - return self::TYPE_STRING; + return true; } } diff --git a/src/Appwrite/Platform/Action.php b/src/Appwrite/Platform/Action.php index 5699a67ff2..356209ef6f 100644 --- a/src/Appwrite/Platform/Action.php +++ b/src/Appwrite/Platform/Action.php @@ -22,9 +22,9 @@ class Action extends UtopiaAction protected mixed $logError; protected array $filters = [ - 'subQueryKeys', 'subQueryWebhooks', 'subQueryPlatforms', 'subQueryProjectVariables', 'subQueryBlocks', 'subQueryDevKeys', // Project + 'subQueryKeys', 'subQueryWebhooks', 'subQueryPlatforms', 'subQueryBlocks', 'subQueryDevKeys', // Project 'subQueryAuthenticators', 'subQuerySessions', 'subQueryTokens', 'subQueryChallenges', 'subQueryMemberships', 'subQueryTargets', 'subQueryTopicTargets',// Users - 'subQueryVariables', // Sites + 'subQueryVariables', 'subQueryProjectVariables' // Sites / Functions ]; /** @@ -107,9 +107,11 @@ class Action extends UtopiaAction } } - public function disableSubqueries() + public function disableSubqueries(array $filters = []): void { - $filters = $this->filters; + if (empty($filters)) { + $filters = $this->filters; + } foreach ($filters as $filter) { Database::addFilter( @@ -189,6 +191,11 @@ class Action extends UtopiaAction } } + // found a wildcard, return! + if (\in_array('*', $attributes)) { + return; + } + $responseModel = $response->getModel($model); foreach ($responseModel->getRules() as $ruleName => $rule) { if (\str_starts_with($ruleName, '$')) { diff --git a/src/Appwrite/Platform/Appwrite.php b/src/Appwrite/Platform/Appwrite.php index 4aa135c4f1..a34c79308a 100644 --- a/src/Appwrite/Platform/Appwrite.php +++ b/src/Appwrite/Platform/Appwrite.php @@ -10,6 +10,7 @@ use Appwrite\Platform\Modules\Functions; use Appwrite\Platform\Modules\Projects; use Appwrite\Platform\Modules\Proxy; use Appwrite\Platform\Modules\Sites; +use Appwrite\Platform\Modules\Storage; use Appwrite\Platform\Modules\Tokens; use Utopia\Platform\Platform; @@ -26,5 +27,6 @@ class Appwrite extends Platform $this->addModule(new Console\Module()); $this->addModule(new Proxy\Module()); $this->addModule(new Tokens\Module()); + $this->addModule(new Storage\Module()); } } diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Create.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Create.php index c2825ce9d1..93b2b640ff 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Create.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: 'mfa', name: 'createMfaAuthenticator', description: '/docs/references/account/create-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -67,7 +67,7 @@ class Create extends Action group: 'mfa', name: 'createMFAAuthenticator', description: '/docs/references/account/create-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Delete.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Delete.php index 3244bc662b..754255be15 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Delete.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Delete.php @@ -45,7 +45,7 @@ class Delete extends Action group: 'mfa', name: 'deleteMfaAuthenticator', description: '/docs/references/account/delete-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, @@ -64,7 +64,7 @@ class Delete extends Action group: 'mfa', name: 'deleteMFAAuthenticator', description: '/docs/references/account/delete-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Update.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Update.php index 34656a6428..bd961ffbc2 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Update.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Authenticators/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: 'mfa', name: 'updateMfaAuthenticator', description: '/docs/references/account/update-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -66,7 +66,7 @@ class Update extends Action group: 'mfa', name: 'updateMFAAuthenticator', description: '/docs/references/account/update-mfa-authenticator.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php index c392d02d80..4dc50a8ec7 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php @@ -9,6 +9,7 @@ use Appwrite\Event\Mail; use Appwrite\Event\Messaging; use Appwrite\Event\StatsUsage; use Appwrite\Extend\Exception; +use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; @@ -60,7 +61,7 @@ class Create extends Action group: 'mfa', name: 'createMfaChallenge', description: '/docs/references/account/create-mfa-challenge.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -79,7 +80,7 @@ class Create extends Action group: 'mfa', name: 'createMFAChallenge', description: '/docs/references/account/create-mfa-challenge.md', - auth: [], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -97,6 +98,7 @@ class Create extends Action ->inject('user') ->inject('locale') ->inject('project') + ->inject('platform') ->inject('request') ->inject('queueForEvents') ->inject('queueForMessaging') @@ -116,6 +118,7 @@ class Create extends Action Document $user, Locale $locale, Document $project, + array $platform, Request $request, Event $queueForEvents, Messaging $queueForMessaging, @@ -145,6 +148,11 @@ class Create extends Action $challenge = $dbForProject->createDocument('challenges', $challenge); + $projectName = $project->getAttribute('name'); + if ($project->getId() === 'console') { + $projectName = $platform['platformName']; + } + // 9 levels up to project root $templatesPath = \dirname(__DIR__, 9) . '/app/config/locale/templates'; @@ -169,7 +177,7 @@ class Create extends Action $messageContent = Template::fromString($locale->getText("sms.verification.body")); $messageContent - ->setParam('{{project}}', $project->getAttribute('name')) + ->setParam('{{project}}', $projectName) ->setParam('{{secret}}', $code); $messageContent = \strip_tags($messageContent->render()); $message = $message->setParam('{{token}}', $messageContent); @@ -299,7 +307,7 @@ class Create extends Action 'heading' => $heading, 'direction' => $locale->getText('settings.direction'), 'user' => $user->getAttribute('name'), - 'project' => $project->getAttribute('name'), + 'project' => $projectName, 'otp' => $code, 'agentDevice' => $agentDevice['deviceBrand'] ?? 'UNKNOWN', 'agentClient' => $agentClient['clientName'] ?? 'UNKNOWN', @@ -308,13 +316,14 @@ class Create extends Action if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { $emailVariables = array_merge($emailVariables, [ - 'accentColor' => APP_EMAIL_ACCENT_COLOR, - 'logoUrl' => APP_EMAIL_LOGO_URL, - 'twitterUrl' => APP_SOCIAL_TWITTER, - 'discordUrl' => APP_SOCIAL_DISCORD, - 'githubUrl' => APP_SOCIAL_GITHUB_APPWRITE, - 'termsUrl' => APP_EMAIL_TERMS_URL, - 'privacyUrl' => APP_EMAIL_PRIVACY_URL, + 'accentColor' => $platform['accentColor'], + 'logoUrl' => $platform['logoUrl'], + 'twitter' => $platform['twitterUrl'], + 'discord' => $platform['discordUrl'], + 'github' => $platform['githubUrl'], + 'terms' => $platform['termsUrl'], + 'privacy' => $platform['privacyUrl'], + 'platform' => $platform['platformName'], ]); } @@ -324,8 +333,14 @@ class Create extends Action ->setBody($body) ->setBodyTemplate($bodyTemplate) ->setVariables($emailVariables) - ->setRecipient($user->getAttribute('email')) - ->trigger(); + ->setRecipient($user->getAttribute('email')); + + // since this is console project, set email sender name! + if ($smtpBaseTemplate === APP_BRANDED_EMAIL_BASE_TEMPLATE) { + $queueForMails->setSenderName($platform['emailSenderName']); + } + + $queueForMails->trigger(); break; } diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Update.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Update.php index 927cd86e38..3f3532cf16 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Update.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: 'mfa', name: 'updateMfaChallenge', description: '/docs/references/account/update-mfa-challenge.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -66,7 +66,7 @@ class Update extends Action group: 'mfa', name: 'updateMFAChallenge', description: '/docs/references/account/update-mfa-challenge.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Factors/XList.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Factors/XList.php index e19d7dc59c..aa8ef7a198 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Factors/XList.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Factors/XList.php @@ -37,7 +37,7 @@ class XList extends Action group: 'mfa', name: 'listMfaFactors', description: '/docs/references/account/list-mfa-factors.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -56,7 +56,7 @@ class XList extends Action group: 'mfa', name: 'listMFAFactors', description: '/docs/references/account/list-mfa-factors.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Create.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Create.php index b44894014f..969cf9c262 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Create.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Create.php @@ -43,7 +43,7 @@ class Create extends Action group: 'mfa', name: 'createMfaRecoveryCodes', description: '/docs/references/account/create-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, @@ -62,7 +62,7 @@ class Create extends Action group: 'mfa', name: 'createMFARecoveryCodes', description: '/docs/references/account/create-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Get.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Get.php index 8ba5cb31e6..b8046159a6 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Get.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Get.php @@ -36,7 +36,7 @@ class Get extends Action group: 'mfa', name: 'getMfaRecoveryCodes', description: '/docs/references/account/get-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -55,7 +55,7 @@ class Get extends Action group: 'mfa', name: 'getMFARecoveryCodes', description: '/docs/references/account/get-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Update.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Update.php index 5cc2783e75..9b9f9b7e00 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Update.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/RecoveryCodes/Update.php @@ -43,7 +43,7 @@ class Update extends Action group: 'mfa', name: 'updateMfaRecoveryCodes', description: '/docs/references/account/update-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, @@ -61,7 +61,7 @@ class Update extends Action group: 'mfa', name: 'updateMFARecoveryCodes', description: '/docs/references/account/update-mfa-recovery-codes.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Update.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Update.php index 00068c7441..227062caa3 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Update.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Update.php @@ -42,7 +42,7 @@ class Update extends Action group: 'mfa', name: 'updateMFA', description: '/docs/references/account/update-mfa.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Console/Http/Assistant/Create.php b/src/Appwrite/Platform/Modules/Console/Http/Assistant/Create.php new file mode 100644 index 0000000000..554456b041 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Console/Http/Assistant/Create.php @@ -0,0 +1,92 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) + ->setHttpPath('/v1/console/assistant') + ->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], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_NONE, + ) + ], + contentType: ContentType::TEXT + )) + ->label('abuse-limit', 15) + ->label('abuse-key', 'userId:{userId}') + ->param('prompt', '', new Text(2000), 'Prompt. A string containing questions asked to the AI assistant.') + ->inject('response') + ->callback($this->action(...)); + } + + public function action(string $prompt, Response $response) + { + $ch = curl_init('http://appwrite-assistant:3003/v1/models/assistant/prompt'); + $responseHeaders = []; + $query = json_encode(['prompt' => $prompt]); + $headers = ['accept: text/event-stream']; + $handleEvent = function ($ch, $data) use ($response) { + $response->chunk($data); + + return \strlen($data); + }; + + curl_setopt($ch, CURLOPT_WRITEFUNCTION, $handleEvent); + + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); + curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); + curl_setopt($ch, CURLOPT_TIMEOUT, 9000); + curl_setopt($ch, CURLOPT_HEADERFUNCTION, function ($curl, $header) use (&$responseHeaders) { + $len = strlen($header); + $header = explode(':', $header, 2); + + if (count($header) < 2) { // ignore invalid headers + return $len; + } + + $responseHeaders[strtolower(trim($header[0]))] = trim($header[1]); + + return $len; + }); + + curl_setopt($ch, CURLOPT_POSTFIELDS, $query); + + curl_exec($ch); + + curl_close($ch); + + $response->chunk('', true); + } +} diff --git a/src/Appwrite/Platform/Modules/Console/Http/Init/API.php b/src/Appwrite/Platform/Modules/Console/Http/Init/API.php new file mode 100644 index 0000000000..824ef4c3d5 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Console/Http/Init/API.php @@ -0,0 +1,28 @@ +setType(Action::TYPE_INIT) + ->groups(['console']) + ->inject('project') + ->callback(function (Document $project) { + if ($project->getId() !== 'console') { + throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN); + } + }); + } +} diff --git a/src/Appwrite/Platform/Modules/Console/Http/Init/Web.php b/src/Appwrite/Platform/Modules/Console/Http/Init/Web.php new file mode 100644 index 0000000000..587610883a --- /dev/null +++ b/src/Appwrite/Platform/Modules/Console/Http/Init/Web.php @@ -0,0 +1,31 @@ +setType(Action::TYPE_INIT) + ->groups(['web']) + ->inject('request') + ->inject('response') + ->callback(function (Request $request, Response $response) { + $response + ->addHeader('X-Frame-Options', 'SAMEORIGIN') // Avoid console and homepage from showing in iframes + ->addHeader('X-XSS-Protection', '1; mode=block; report=/v1/xss?url=' . \urlencode($request->getURI())) + ->addHeader('X-UA-Compatible', 'IE=Edge') // Deny IE browsers from going into quirks mode + ; + }); + } +} diff --git a/src/Appwrite/Platform/Modules/Console/Http/Redirects/Auth/Get.php b/src/Appwrite/Platform/Modules/Console/Http/Redirects/Auth/Get.php new file mode 100644 index 0000000000..f88486d6bb --- /dev/null +++ b/src/Appwrite/Platform/Modules/Console/Http/Redirects/Auth/Get.php @@ -0,0 +1,18 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath($this->getPath()) + ->groups(['web']) + ->label('permission', 'public') + ->label('scope', 'home') + ->inject('request') + ->inject('response') + ->callback($this->action(...)); + } + + public function action(Request $request, Response $response): void + { + $url = parse_url($request->getURI()); + $target = "/console{$url['path']}"; + $params = $request->getParams(); + if (!empty($params)) { + $target .= "?" . \http_build_query($params); + } + if ($url['fragment'] ?? false) { + $target .= "#{$url['fragment']}"; + } + + $response->redirect($target); + } +} diff --git a/src/Appwrite/Platform/Modules/Console/Http/Redirects/Card/Get.php b/src/Appwrite/Platform/Modules/Console/Http/Redirects/Card/Get.php new file mode 100644 index 0000000000..c98c125f4e --- /dev/null +++ b/src/Appwrite/Platform/Modules/Console/Http/Redirects/Card/Get.php @@ -0,0 +1,18 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/console/variables') + ->desc('Get variables') + ->groups(['api', 'projects']) + ->label('scope', 'projects.read') + ->label('sdk', new Method( + namespace: 'console', + group: 'console', + name: 'variables', + description: '/docs/references/console/variables.md', + auth: [AuthType::ADMIN], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_CONSOLE_VARIABLES, + ) + ], + contentType: ContentType::JSON + )) + ->inject('response') + ->callback($this->action(...)); + } + + public function action(Response $response) + { + $validator = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME')); + $isCNAMEValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')) && $validator->isKnown() && !$validator->isTest(); + + $validator = new IP(IP::V4); + $isAValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_A', '')) && ($validator->isValid(System::getEnv('_APP_DOMAIN_TARGET_A'))); + + $validator = new IP(IP::V6); + $isAAAAValid = !empty(System::getEnv('_APP_DOMAIN_TARGET_AAAA', '')) && $validator->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA')); + + $isDomainEnabled = $isAAAAValid || $isAValid || $isCNAMEValid; + + $isVcsEnabled = !empty(System::getEnv('_APP_VCS_GITHUB_APP_NAME', '')) + && !empty(System::getEnv('_APP_VCS_GITHUB_PRIVATE_KEY', '')) + && !empty(System::getEnv('_APP_VCS_GITHUB_APP_ID', '')) + && !empty(System::getEnv('_APP_VCS_GITHUB_CLIENT_ID', '')) + && !empty(System::getEnv('_APP_VCS_GITHUB_CLIENT_SECRET', '')); + + $isAssistantEnabled = !empty(System::getEnv('_APP_ASSISTANT_OPENAI_API_KEY', '')); + + $variables = new Document([ + '_APP_DOMAIN_TARGET_CNAME' => System::getEnv('_APP_DOMAIN_TARGET_CNAME'), + '_APP_DOMAIN_TARGET_AAAA' => System::getEnv('_APP_DOMAIN_TARGET_AAAA'), + '_APP_DOMAIN_TARGET_A' => System::getEnv('_APP_DOMAIN_TARGET_A'), + '_APP_DOMAIN_TARGET_CAA' => '0 issue "' . System::getEnv('_APP_DOMAIN_TARGET_CAA') . '"', + '_APP_STORAGE_LIMIT' => +System::getEnv('_APP_STORAGE_LIMIT'), + '_APP_COMPUTE_BUILD_TIMEOUT' => +System::getEnv('_APP_COMPUTE_BUILD_TIMEOUT'), + '_APP_COMPUTE_SIZE_LIMIT' => +System::getEnv('_APP_COMPUTE_SIZE_LIMIT'), + '_APP_USAGE_STATS' => System::getEnv('_APP_USAGE_STATS'), + '_APP_VCS_ENABLED' => $isVcsEnabled, + '_APP_DOMAIN_ENABLED' => $isDomainEnabled, + '_APP_ASSISTANT_ENABLED' => $isAssistantEnabled, + '_APP_DOMAIN_SITES' => System::getEnv('_APP_DOMAIN_SITES'), + '_APP_DOMAIN_FUNCTIONS' => System::getEnv('_APP_DOMAIN_FUNCTIONS'), + '_APP_OPTIONS_FORCE_HTTPS' => System::getEnv('_APP_OPTIONS_FORCE_HTTPS'), + '_APP_DOMAINS_NAMESERVERS' => System::getEnv('_APP_DOMAINS_NAMESERVERS'), + ]); + + $response->dynamic($variables, Response::MODEL_CONSOLE_VARIABLES); + } +} diff --git a/src/Appwrite/Platform/Modules/Console/Services/Http.php b/src/Appwrite/Platform/Modules/Console/Services/Http.php index 6221db6a96..f3ca6218f2 100644 --- a/src/Appwrite/Platform/Modules/Console/Services/Http.php +++ b/src/Appwrite/Platform/Modules/Console/Services/Http.php @@ -2,7 +2,19 @@ namespace Appwrite\Platform\Modules\Console\Services; +use Appwrite\Platform\Modules\Console\Http\Assistant\Create as CreateAssistantQuery; +use Appwrite\Platform\Modules\Console\Http\Init\API; +use Appwrite\Platform\Modules\Console\Http\Init\Web; +use Appwrite\Platform\Modules\Console\Http\Redirects\Auth\Get as RedirectAuth; +use Appwrite\Platform\Modules\Console\Http\Redirects\Card\Get as RedirectCard; +use Appwrite\Platform\Modules\Console\Http\Redirects\Invite\Get as RedirectInvite; +use Appwrite\Platform\Modules\Console\Http\Redirects\Login\Get as RedirectLogin; +use Appwrite\Platform\Modules\Console\Http\Redirects\MFA\Get as RedirectMFA; +use Appwrite\Platform\Modules\Console\Http\Redirects\Recover\Get as RedirectRecover; +use Appwrite\Platform\Modules\Console\Http\Redirects\Register\Get as RedirectRegister; +use Appwrite\Platform\Modules\Console\Http\Redirects\Root\Get as RedirectRoot; use Appwrite\Platform\Modules\Console\Http\Resources\Get as GetResourceAvailability; +use Appwrite\Platform\Modules\Console\Http\Variables\Get as GetVariables; use Utopia\Platform\Service; class Http extends Service @@ -10,7 +22,23 @@ class Http extends Service public function __construct() { $this->type = Service::TYPE_HTTP; - // Resources + + // API and Web init hooks! + $this->addAction(API::getName(), new API()); + $this->addAction(Web::getName(), new Web()); + + $this->addAction(GetVariables::getName(), new GetVariables()); + $this->addAction(CreateAssistantQuery::getName(), new CreateAssistantQuery()); $this->addAction(GetResourceAvailability::getName(), new GetResourceAvailability()); + + // web redirects to /console + $this->addAction(RedirectRoot::getName(), new RedirectRoot()); + $this->addAction(RedirectAuth::getName(), new RedirectAuth()); + $this->addAction(RedirectInvite::getName(), new RedirectInvite()); + $this->addAction(RedirectLogin::getName(), new RedirectLogin()); + $this->addAction(RedirectMFA::getName(), new RedirectMFA()); + $this->addAction(RedirectCard::getName(), new RedirectCard()); + $this->addAction(RedirectRecover::getName(), new RedirectRecover()); + $this->addAction(RedirectRegister::getName(), new RedirectRegister()); } } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php index 8dfe80a390..f04532aeee 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php @@ -47,7 +47,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-boolean-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php index ddb01ff011..003b4227c9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php @@ -46,7 +46,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-boolean-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php index d0f45dc664..c2982445a4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-datetime-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php index 1a30a09867..984d4b0245 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-datetime-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php index 23c21fecee..649cde10aa 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php @@ -47,7 +47,7 @@ class Delete extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/delete-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php index 9f4c38d490..b36072eb75 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-email-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php index 59a0490e6f..382f16b469 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-email-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php index d2ccf9f972..9145191b0c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php @@ -50,7 +50,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-enum-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php index 560107dd38..2f47eb0cc6 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php @@ -48,7 +48,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-enum-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php index f48348c192..56d8874794 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php @@ -50,7 +50,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-float-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php index 99ac992b9e..330c649f27 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-float-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php index c11dd1c63b..3a8eece531 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php @@ -51,7 +51,7 @@ class Get extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/get-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php index af3ed99bdf..2340d1d55d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-ip-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php index a757ed47d1..236dbf7f83 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-ip-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php index 5e147c771d..30f58097ce 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php @@ -50,7 +50,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-integer-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php index 6d3858992b..67c371c69d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-integer-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index f691fc29cf..f0fd728902 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-line-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index 8ef2f96ec2..3407da2b34 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-line-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index aae715ba1e..f2e4d19267 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-point-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index 62f35ad2a7..86e78e56e3 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-point-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 6fbbd46d2c..4c49b21050 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-polygon-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index dba83d44d5..0dbb117cec 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-polygon-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php index 76cc17e2f7..b43568a968 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php @@ -50,7 +50,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-relationship-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php index f9f1d6f3ab..feed58a4ff 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php @@ -46,7 +46,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-relationship-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php index 88cb161505..b42558f063 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php @@ -52,7 +52,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-string-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php index 6687178cb1..53ea2a0e03 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php @@ -49,7 +49,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-string-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php index 2d3b0c6168..7529845016 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-url-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php index ebaea9e61d..9ba8ebb859 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php @@ -47,7 +47,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-url-attribute.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php index 065cb333db..6bfe5f8913 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php @@ -46,7 +46,7 @@ class XList extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/list-attributes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php index d285c1ac13..724f40f00e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php @@ -61,7 +61,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-collection.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, @@ -80,7 +80,7 @@ class Create extends Action ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('documentSecurity', false, new Boolean(true), '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).', true) ->param('enabled', true, new Boolean(), '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.', true) - ->param('attributes', [], new ArrayList(new JSON(), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.', true) + ->param('attributes', [], new ArrayList(new JSON(), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.', true) ->param('indexes', [], new ArrayList(new JSON(), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC/DESC, optional), and lengths (array of integers, optional).', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php index bf0f83bb11..af36649061 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php @@ -45,7 +45,7 @@ class Delete extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/delete-collection.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php index 08eea88e19..f16d00998d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php @@ -382,9 +382,11 @@ abstract class Action extends DatabasesAction ->from($queueForEvents) ->trigger(); - $queueForWebhooks - ->from($queueForEvents) - ->trigger(); + if (!empty($queueForEvents->getProject()?->getAttribute('webhooks', []))) { + $queueForWebhooks + ->from($queueForEvents) + ->trigger(); + } } $queueForEvents->reset(); diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php index 38e7f8f231..a3a1ea6ce8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php @@ -177,6 +177,7 @@ class Decrement extends Action value: $value, min: $min ); + $document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId); } catch (ConflictException) { throw new Exception($this->getConflictException()); } catch (NotFoundException) { diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php index 10dadae824..157c5ef2af 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php @@ -177,6 +177,7 @@ class Increment extends Action value: $value, max: $max ); + $document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId); } catch (ConflictException) { throw new Exception($this->getConflictException()); } catch (NotFoundException) { diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php index 2d55cd54f4..192b10c956 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php @@ -74,7 +74,7 @@ class Update extends Action )) ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID.') - ->param('data', [], new JSON(), 'Document data as JSON object. Include only attribute and value pairs to be updated.', true) + ->param('data', [], new JSON(), 'Document data as JSON object. Include only attribute and value pairs to be updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":33,"isAdmin":false}') ->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('response') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php index a7fb81a486..6ec06f5c8a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php @@ -69,7 +69,7 @@ class Create extends Action name: self::getName(), desc: 'Create document', description: '/docs/references/databases/create-document.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, @@ -227,7 +227,7 @@ class Create extends Action // Add permissions for current the user if none were provided. if (\is_null($permissions)) { $permissions = []; - if (!empty($user->getId())) { + if (!empty($user->getId()) && !$isPrivilegedUser) { foreach ($allowedPermissions as $permission) { $permissions[] = (new Permission($permission, 'user', $user->getId()))->toString(); } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php index 14a51c0fac..faae638c88 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php @@ -59,7 +59,7 @@ class Delete extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/delete-document.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php index 62919488e6..f560267d4b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php @@ -48,7 +48,7 @@ class Get extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/get-document.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php index 47f5247831..a4dd38ef67 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php @@ -72,10 +72,11 @@ class XList extends Action ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $documentId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb): void + public function action(string $databaseId, string $collectionId, string $documentId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit): void { $database = Authorization::skip(fn () => $dbForProject->getDocument('databases', $databaseId)); if ($database->isEmpty()) { @@ -98,12 +99,16 @@ class XList extends Action throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); $type = $this->getCollectionsEventsContext(); $context = $this->getContext(); $resource = "database/$databaseId/$type/$collectionId/$context/{$document->getId()}"; - $logs = $audit->getLogsByResource($resource, $queries); + + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -152,7 +157,7 @@ class XList extends Action $response->dynamic(new Document([ 'logs' => $output, - 'total' => $audit->countLogsByResource($resource, $queries), + 'total' => $audit->countLogsByResource($resource), ]), $this->getResponseModel()); } } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php index d2b67665a7..707857347a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php @@ -61,7 +61,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-document.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, @@ -77,7 +77,7 @@ class Update extends Action ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID.') ->param('documentId', '', new UID(), 'Document ID.') - ->param('data', [], new JSON(), 'Document data as JSON object. Include only attribute and value pairs to be updated.', true) + ->param('data', [], new JSON(), 'Document data as JSON object. Include only attribute and value pairs to be updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":33,"isAdmin":false}') ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('requestTimestamp') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php index d85fb17842..b32871add2 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php @@ -63,7 +63,7 @@ class Upsert extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/upsert-document.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, @@ -80,7 +80,7 @@ class Upsert extends Action ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID.') ->param('documentId', '', new CustomId(), 'Document ID.') - ->param('data', [], new JSON(), 'Document data as JSON object. Include all required attributes of the document to be created or updated.') + ->param('data', [], new JSON(), 'Document data as JSON object. Include all required attributes of the document to be created or updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}') ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('requestTimestamp') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php index b14a4f9983..8b770284c3 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php @@ -52,7 +52,7 @@ class XList extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/list-documents.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php index 22d1333cc4..e7909772a5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php @@ -40,7 +40,7 @@ class Get extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/get-collection.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php index b132aff8ef..872b7348fe 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php @@ -55,7 +55,7 @@ class Create extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/create-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php index 57198cc53c..27b28e866c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php @@ -50,7 +50,7 @@ class Delete extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/delete-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php index c03e80dedc..d66bf8f38f 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php @@ -41,7 +41,7 @@ class Get extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/get-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php index ec4bc94a66..abbdefb4d5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php @@ -47,7 +47,7 @@ class XList extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/list-indexes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php index a45daa32a4..0f5a57c6e9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php @@ -71,10 +71,11 @@ class XList extends Action ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb): void + public function action(string $databaseId, string $collectionId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit): void { $database = Authorization::skip(fn () => $dbForProject->getDocument('databases', $databaseId)); @@ -95,10 +96,13 @@ class XList extends Action throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $context = $this->getContext(); $resource = "database/$databaseId/$context/$collectionId"; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -147,7 +151,7 @@ class XList extends Action $response->dynamic(new Document([ 'logs' => $output, - 'total' => $audit->countLogsByResource($resource, $queries), + 'total' => $audit->countLogsByResource($resource), ]), $this->getResponseModel()); } } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php index bbad2a7f22..e319a33e67 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php @@ -49,7 +49,7 @@ class Update extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/update-collection.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php index e1985b0fa9..b0b0385bf5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php @@ -48,7 +48,7 @@ class XList extends Action group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/databases/list-collections.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Create.php index 009b499ea8..790bea2e1a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: 'databases', name: 'create', description: '/docs/references/databases/create.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Delete.php index 76b36b5df9..440f86cfd8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Delete.php @@ -41,7 +41,7 @@ class Delete extends Action group: 'databases', name: 'delete', description: '/docs/references/databases/delete.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Get.php index 2eb09955c1..93cea53420 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Get.php @@ -36,7 +36,7 @@ class Get extends Action group: 'databases', name: 'get', description: '/docs/references/databases/get.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Logs/XList.php index a794ec325e..319f07db1c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Logs/XList.php @@ -67,10 +67,11 @@ class XList extends Action ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } - public function action(string $databaseId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb): void + public function action(string $databaseId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit): void { $database = $dbForProject->getDocument('databases', $databaseId); @@ -84,9 +85,13 @@ class XList extends Action throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'database/' . $databaseId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -133,7 +138,7 @@ class XList extends Action } $response->dynamic(new Document([ - 'total' => $audit->countLogsByResource($resource, $queries), + 'total' => $audit->countLogsByResource($resource), 'logs' => $output, ]), UtopiaResponse::MODEL_LOG_LIST); } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Create.php index c4c5bf8b51..20c71223c6 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Create.php @@ -42,7 +42,7 @@ class Create extends Action group: 'transactions', name: 'createTransaction', description: '/docs/references/databases/create-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Delete.php index b018743f36..e52c598eea 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Delete.php @@ -39,7 +39,7 @@ class Delete extends Action group: 'transactions', name: 'deleteTransaction', description: '/docs/references/databases/delete-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Get.php index 78d19ec4eb..bc51b598ac 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Get.php @@ -38,7 +38,7 @@ class Get extends Action group: 'transactions', name: 'getTransaction', description: '/docs/references/databases/get-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php index 765e663911..5a2568db0c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php @@ -48,7 +48,7 @@ class Create extends Action group: 'transactions', name: 'createOperations', description: '/docs/references/databases/create-operations.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php index 70e670144d..9235c81b8e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php @@ -54,7 +54,7 @@ class Update extends Action group: 'transactions', name: 'updateTransaction', description: '/docs/references/databases/update-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/XList.php index 33c66b90c7..4b1b45eab0 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/XList.php @@ -41,7 +41,7 @@ class XList extends Action group: 'transactions', name: 'listTransactions', description: '/docs/references/databases/list-transactions.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php index 9f2ce06db4..231b13deee 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php @@ -42,7 +42,7 @@ class Update extends Action group: 'databases', name: 'update', description: '/docs/references/databases/update.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php index b1d2ff9346..e3dd46839a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php @@ -43,7 +43,7 @@ class XList extends Action group: 'databases', name: 'list', description: '/docs/references/databases/list.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php index 8993f00368..d842210c92 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php @@ -37,7 +37,7 @@ class Create extends DatabaseCreate group: 'tablesdb', name: 'create', description: '/docs/references/tablesdb/create.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Delete.php index 0a6cb3cd87..dc26072178 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Delete.php @@ -35,7 +35,7 @@ class Delete extends DatabaseDelete group: 'tablesdb', name: 'delete', description: '/docs/references/tablesdb/delete.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Get.php index 9690f25370..6364f2dc0a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Get.php @@ -32,7 +32,7 @@ class Get extends DatabaseGet group: 'tablesdb', name: 'get', description: '/docs/references/tablesdb/get.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Logs/XList.php index 53476dbae1..88745555d9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Logs/XList.php @@ -62,10 +62,11 @@ class XList extends Action ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } - public function action(string $databaseId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb): void + public function action(string $databaseId, array $queries, UtopiaResponse $response, Database $dbForProject, Locale $locale, Reader $geodb, Audit $audit): void { $database = $dbForProject->getDocument('databases', $databaseId); @@ -79,9 +80,12 @@ class XList extends Action throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); } - $audit = new Audit($dbForProject); + $grouped = Query::groupByType($queries); + $limit = $grouped['limit'] ?? 25; + $offset = $grouped['offset'] ?? 0; + $resource = 'database/' . $databaseId; - $logs = $audit->getLogsByResource($resource, $queries); + $logs = $audit->getLogsByResource($resource, limit: $limit, offset: $offset); $output = []; @@ -128,7 +132,7 @@ class XList extends Action } $response->dynamic(new Document([ - 'total' => $audit->countLogsByResource($resource, $queries), + 'total' => $audit->countLogsByResource($resource), 'logs' => $output, ]), UtopiaResponse::MODEL_LOG_LIST); } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Create.php index d9dfc15ca8..c0d502d10a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Create.php @@ -42,7 +42,7 @@ class Create extends BooleanCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-boolean-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Update.php index 3b83e71c12..c5939b6974 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Update.php @@ -43,7 +43,7 @@ class Update extends BooleanUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-boolean-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Create.php index 69d6bd2b4b..63693abb67 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Create.php @@ -44,7 +44,7 @@ class Create extends DatetimeCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-datetime-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php index 255abf00bf..b022d0ed85 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php @@ -45,7 +45,7 @@ class Update extends DatetimeUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-datetime-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Delete.php index 26f4ffa898..8a691a6e98 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Delete.php @@ -42,7 +42,7 @@ class Delete extends AttributesDelete group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/delete-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Create.php index 58ea459d0f..6d19f99b7b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Create.php @@ -43,7 +43,7 @@ class Create extends EmailCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-email-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php index 0105345555..48a04304bd 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php @@ -44,7 +44,7 @@ class Update extends EmailUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-email-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Create.php index 8ab8019626..bd280a2910 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Create.php @@ -45,7 +45,7 @@ class Create extends EnumCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-enum-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php index 968c84c56b..ac5c1cf907 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php @@ -46,7 +46,7 @@ class Update extends EnumUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-enum-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Create.php index 21e855d912..8293d66992 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Create.php @@ -43,7 +43,7 @@ class Create extends FloatCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-float-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php index 6a479ea266..bf2815db45 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php @@ -44,7 +44,7 @@ class Update extends FloatUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-float-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Get.php index c20ef58a39..ee88ac8683 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Get.php @@ -48,7 +48,7 @@ class Get extends AttributesGet group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/get-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Create.php index 08912ebb56..9b38cd9dfd 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Create.php @@ -43,7 +43,7 @@ class Create extends IPCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-ip-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php index 9df9f573a2..7db8625ebf 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php @@ -44,7 +44,7 @@ class Update extends IPUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-ip-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php index eb9230f48f..e0ed059681 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php @@ -43,7 +43,7 @@ class Create extends IntegerCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-integer-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php index 6c707f1655..7afc239201 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php @@ -44,7 +44,7 @@ class Update extends IntegerUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-integer-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php index 4aa173707b..6110d6ee07 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php @@ -44,7 +44,7 @@ class Create extends LineCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-line-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php index fd7d200eb3..afd0098152 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php @@ -45,7 +45,7 @@ class Update extends LineUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-line-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php index b8ae563def..084adca860 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php @@ -44,7 +44,7 @@ class Create extends PointCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-point-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php index 8b8dd7b66c..632be85871 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php @@ -45,7 +45,7 @@ class Update extends PointUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-point-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php index e0a2cf32cd..723940af58 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php @@ -44,7 +44,7 @@ class Create extends PolygonCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-polygon-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php index c49351fc59..91b55f74b4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php @@ -45,7 +45,7 @@ class Update extends PolygonUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-polygon-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php index cccc61beaa..f3933160c0 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php @@ -44,7 +44,7 @@ class Create extends RelationshipCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-relationship-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php index 5953d600f8..eb87713457 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php @@ -44,7 +44,7 @@ class Update extends RelationshipUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-relationship-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Create.php index 8d37c9011b..9279409e88 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Create.php @@ -45,7 +45,7 @@ class Create extends StringCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-string-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php index 43083616ba..9fffa71b33 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php @@ -46,7 +46,7 @@ class Update extends StringUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-string-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Create.php index 3fd6f1e463..50f5ea5d5b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Create.php @@ -43,7 +43,7 @@ class Create extends URLCreate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/create-url-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php index 64dfdfbf69..b52ea66ce1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php @@ -44,7 +44,7 @@ class Update extends URLUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-url-column.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/XList.php index 1e0b641b32..39551e5113 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/XList.php @@ -38,7 +38,7 @@ class XList extends AttributesXList group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/list-columns.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Create.php index ee0799d028..7287c2cb3e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Create.php @@ -47,7 +47,7 @@ class Create extends CollectionCreate group: 'tables', name: self::getName(), description: '/docs/references/tablesdb/create-table.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Delete.php index de068d5b29..d4af8b3508 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Delete.php @@ -40,7 +40,7 @@ class Delete extends CollectionDelete group: 'tables', name: self::getName(), description: '/docs/references/tablesdb/delete-table.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Get.php index be6ec5d9e7..4286ee07ca 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Get.php @@ -37,7 +37,7 @@ class Get extends CollectionGet group: 'tables', name: self::getName(), description: '/docs/references/tablesdb/get-table.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Create.php index 3802ee32b8..727334b6da 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Create.php @@ -46,7 +46,7 @@ class Create extends IndexCreate group: $this->getSDKGroup(), name: 'createIndex', // getName needs to be different from parent action to avoid conflict in path name description: '/docs/references/tablesdb/create-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Delete.php index 57ab466ee8..7d187ab5a1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Delete.php @@ -45,7 +45,7 @@ class Delete extends IndexDelete group: $this->getSDKGroup(), name: 'deleteIndex', // getName needs to be different from parent action to avoid conflict in path name description: '/docs/references/tablesdb/delete-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Get.php index 271d842631..75ee507aa8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/Get.php @@ -38,7 +38,7 @@ class Get extends IndexGet group: $this->getSDKGroup(), name: 'getIndex', // getName needs to be different from parent action to avoid conflict in path name description: '/docs/references/tablesdb/get-index.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/XList.php index 0ea52eaf1b..bf5f27e388 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Indexes/XList.php @@ -39,7 +39,7 @@ class XList extends IndexXList group: $this->getSDKGroup(), name: 'listIndexes', // getName needs to be different from parent action to avoid conflict in path name description: '/docs/references/tablesdb/list-indexes.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Logs/XList.php index 0680649544..5eab050b7e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Logs/XList.php @@ -50,6 +50,7 @@ class XList extends CollectionLogXList ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php index 856f17ed10..fea59b8b13 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php @@ -57,7 +57,7 @@ class Update extends DocumentsUpdate )) ->param('databaseId', '', new UID(), 'Database ID.') ->param('tableId', '', new UID(), 'Table ID.') - ->param('data', [], new JSON(), 'Row data as JSON object. Include only column and value pairs to be updated.', true) + ->param('data', [], new JSON(), 'Row data as JSON object. Include only column and value pairs to be updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":33,"isAdmin":false}') ->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('response') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php index d657e5596b..b5491a593b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php @@ -56,7 +56,7 @@ class Create extends DocumentCreate name: self::getName(), desc: 'Create row', description: '/docs/references/tablesdb/create-row.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php index 4c8b599c8c..bcd8682a48 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php @@ -50,7 +50,7 @@ class Delete extends DocumentDelete group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/delete-row.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.php index f355ebb9e6..450fb4d746 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.php @@ -40,7 +40,7 @@ class Get extends DocumentGet group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/get-row.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Logs/XList.php index 5f1efa2953..27bd82195d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Logs/XList.php @@ -51,6 +51,7 @@ class XList extends DocumentLogXList ->inject('dbForProject') ->inject('locale') ->inject('geodb') + ->inject('audit') ->callback($this->action(...)); } } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php index 8f3786b8cf..fe4ffc4995 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php @@ -47,7 +47,7 @@ class Update extends DocumentUpdate group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/update-row.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, @@ -59,7 +59,7 @@ class Update extends DocumentUpdate ->param('databaseId', '', new UID(), 'Database ID.') ->param('tableId', '', new UID(), 'Table ID.') ->param('rowId', '', new UID(), 'Row ID.') - ->param('data', [], new JSON(), 'Row data as JSON object. Include only columns and value pairs to be updated.', true) + ->param('data', [], new JSON(), 'Row data as JSON object. Include only columns and value pairs to be updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":33,"isAdmin":false}') ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('requestTimestamp') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php index d4cd61cfdd..0fbaa921cb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php @@ -48,7 +48,7 @@ class Upsert extends DocumentUpsert group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/upsert-row.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, @@ -61,7 +61,7 @@ class Upsert extends DocumentUpsert ->param('databaseId', '', new UID(), 'Database ID.') ->param('tableId', '', new UID(), 'Table ID.') ->param('rowId', '', new UID(), 'Row ID.') - ->param('data', [], new JSON(), 'Row data as JSON object. Include all required columns of the row to be created or updated.', true) + ->param('data', [], new JSON(), 'Row data as JSON object. Include all required columns of the row to be created or updated.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":33,"isAdmin":false}') ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('transactionId', null, new Nullable(new UID()), 'Transaction ID for staging the operation.', true) ->inject('requestTimestamp') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/XList.php index cd6141a6b4..c51017fa75 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/XList.php @@ -41,7 +41,7 @@ class XList extends DocumentXList group: $this->getSDKGroup(), name: self::getName(), description: '/docs/references/tablesdb/list-rows.md', - auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php index a4bfb5bf23..03316783cd 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php @@ -44,7 +44,7 @@ class Update extends CollectionUpdate group: 'tables', name: self::getName(), description: '/docs/references/tablesdb/update-table.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/XList.php index 5e8fcfc3c8..e0c590379b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/XList.php @@ -40,7 +40,7 @@ class XList extends CollectionXList group: 'tables', name: self::getName(), description: '/docs/references/tablesdb/list-tables.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Create.php index bc79b86ca3..27454664f4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Create.php @@ -37,7 +37,7 @@ class Create extends TransactionsCreate group: 'transactions', name: 'createTransaction', description: '/docs/references/tablesdb/create-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Delete.php index 6f92a1b10b..4838ea94db 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Delete.php @@ -37,7 +37,7 @@ class Delete extends TransactionsDelete group: 'transactions', name: 'deleteTransaction', description: '/docs/references/tablesdb/delete-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_NOCONTENT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Get.php index ab7925c916..5182972513 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Get.php @@ -37,7 +37,7 @@ class Get extends TransactionsGet group: 'transactions', name: 'getTransaction', description: '/docs/references/tablesdb/get-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Operations/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Operations/Create.php index 5a98f22f37..4668ae2d15 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Operations/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Operations/Create.php @@ -39,7 +39,7 @@ class Create extends OperationsCreate group: 'transactions', name: 'createOperations', description: '/docs/references/tablesdb/create-operations.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_CREATED, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Update.php index 4d55af93a4..4337a8d28d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Update.php @@ -38,7 +38,7 @@ class Update extends TransactionsUpdate group: 'transactions', name: 'updateTransaction', description: '/docs/references/tablesdb/update-transaction.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/XList.php index 9a9c22a1a8..4f073d5714 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/XList.php @@ -37,7 +37,7 @@ class XList extends TransactionsList group: 'transactions', name: 'listTransactions', description: '/docs/references/tablesdb/list-transactions.md', - auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN, AuthType::KEY, AuthType::SESSION, AuthType::JWT], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php index 10d4284947..3a45c94814 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php @@ -37,7 +37,7 @@ class Update extends DatabaseUpdate group: 'tablesdb', name: 'update', description: '/docs/references/tablesdb/update.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/XList.php index 2f07c4843a..4299e7c862 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/XList.php @@ -34,7 +34,7 @@ class XList extends DatabaseXList group: 'tablesdb', name: 'list', description: '/docs/references/tablesdb/list.md', - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: SwooleResponse::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php index d53324b27f..e7e34d4c5b 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php @@ -63,7 +63,7 @@ class Create extends Action Use the "command" param to set the entrypoint used to execute your code. EOT, - auth: [AuthType::KEY], + auth: [AuthType::ADMIN, AuthType::KEY], responses: [ new SDKResponse( code: Response::STATUS_CODE_ACCEPTED, diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php index 9e314d05c6..f33ba2f8a4 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php @@ -46,7 +46,7 @@ class Delete extends Action description: <<getAttribute('key')] = $var->getAttribute('value', ''); } + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; + // Appwrite vars $vars = \array_merge($vars, [ - 'APPWRITE_FUNCTION_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_FUNCTION_API_ENDPOINT' => $endpoint, 'APPWRITE_FUNCTION_ID' => $functionId, 'APPWRITE_FUNCTION_NAME' => $function->getAttribute('name'), 'APPWRITE_FUNCTION_DEPLOYMENT' => $deployment->getId(), diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php index 666cb8310c..9a93e5a342 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php @@ -46,7 +46,7 @@ class Delete extends Base description: <<addTag('projectId', $project->getId()); $log->addTag('type', $type); @@ -435,18 +434,19 @@ class Builds extends Action // Build from template $templateRepositoryName = $template->getAttribute('repositoryName', ''); $templateOwnerName = $template->getAttribute('ownerName', ''); - $templateVersion = $template->getAttribute('version', ''); + $templateReferenceType = $template->getAttribute('referenceType', ''); + $templateReferenceValue = $template->getAttribute('referenceValue', ''); $templateRootDirectory = $template->getAttribute('rootDirectory', ''); $templateRootDirectory = \rtrim($templateRootDirectory, '/'); $templateRootDirectory = \ltrim($templateRootDirectory, '.'); $templateRootDirectory = \ltrim($templateRootDirectory, '/'); - if (!empty($templateRepositoryName) && !empty($templateOwnerName) && !empty($templateVersion)) { + if (!empty($templateRepositoryName) && !empty($templateOwnerName) && !empty($templateReferenceType) && !empty($templateReferenceValue)) { // Clone template repo $tmpTemplateDirectory = '/tmp/builds/' . $deploymentId . '/template'; - $gitCloneCommandForTemplate = $github->generateCloneCommand($templateOwnerName, $templateRepositoryName, $templateVersion, GitHub::CLONE_TYPE_TAG, $tmpTemplateDirectory, $templateRootDirectory); + $gitCloneCommandForTemplate = $github->generateCloneCommand($templateOwnerName, $templateRepositoryName, $templateReferenceValue, $templateReferenceType, $tmpTemplateDirectory, $templateRootDirectory); $exit = Console::execute($gitCloneCommandForTemplate, '', $stdout, $stderr); if ($exit !== 0) { @@ -635,11 +635,14 @@ class Builds extends Action 'APPWRITE_VCS_ROOT_DIRECTORY' => $deployment->getAttribute('providerRootDirectory', ''), ]); + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; + switch ($resource->getCollection()) { case 'functions': $vars = [ ...$vars, - 'APPWRITE_FUNCTION_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_FUNCTION_API_ENDPOINT' => $endpoint, 'APPWRITE_FUNCTION_API_KEY' => API_KEY_DYNAMIC . '_' . $apiKey, 'APPWRITE_FUNCTION_ID' => $resource->getId(), 'APPWRITE_FUNCTION_NAME' => $resource->getAttribute('name'), @@ -654,7 +657,7 @@ class Builds extends Action case 'sites': $vars = [ ...$vars, - 'APPWRITE_SITE_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_SITE_API_ENDPOINT' => $endpoint, 'APPWRITE_SITE_API_KEY' => API_KEY_DYNAMIC . '_' . $apiKey, 'APPWRITE_SITE_ID' => $resource->getId(), 'APPWRITE_SITE_NAME' => $resource->getAttribute('name'), diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php index 9332453eea..92bc329b16 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php @@ -34,7 +34,7 @@ class Create extends Action ->setHttpPath('/v1/projects/:projectId/dev-keys') ->desc('Create dev key') ->groups(['api', 'projects']) - ->label('scope', 'projects.write') + ->label('scope', 'devKeys.write') ->label('sdk', new Method( namespace: 'projects', group: 'devKeys', diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php index 2bfea6c55b..58ca0759e6 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php @@ -28,7 +28,7 @@ class Delete extends Action ->setHttpPath('/v1/projects/:projectId/dev-keys/:keyId') ->desc('Delete dev key') ->groups(['api', 'projects']) - ->label('scope', 'projects.write') + ->label('scope', 'devKeys.write') ->label('sdk', new Method( namespace: 'projects', group: 'devKeys', diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php index 29cda90f66..6245b5b2dc 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php @@ -28,7 +28,7 @@ class Get extends Action ->setHttpPath('/v1/projects/:projectId/dev-keys/:keyId') ->desc('Get dev key') ->groups(['api', 'projects']) - ->label('scope', 'projects.read') + ->label('scope', 'devKeys.read') ->label('sdk', new Method( namespace: 'projects', group: 'devKeys', diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php index b13bc535dd..fbd35d0995 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php @@ -29,7 +29,7 @@ class Update extends Action ->setHttpPath('/v1/projects/:projectId/dev-keys/:keyId') ->desc('Update dev key') ->groups(['api', 'projects']) - ->label('scope', 'projects.write') + ->label('scope', 'devKeys.write') ->label('sdk', new Method( namespace: 'projects', group: 'devKeys', diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php index 209387018b..0229fd845d 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php @@ -32,7 +32,7 @@ class XList extends Action ->setHttpPath('/v1/projects/:projectId/dev-keys') ->desc('List dev keys') ->groups(['api', 'projects']) - ->label('scope', 'projects.read') + ->label('scope', 'devKeys.read') ->label('sdk', new Method( namespace: 'projects', group: 'devKeys', diff --git a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php index 692b467282..32318dd189 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php @@ -3,19 +3,21 @@ namespace Appwrite\Platform\Modules\Projects\Http\Projects; use Appwrite\Extend\Exception; +use Appwrite\Platform\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; use Appwrite\Utopia\Database\Validator\Queries\Projects; +use Appwrite\Utopia\Request; use Appwrite\Utopia\Response; +use Utopia\Config\Config; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Exception\Order; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; -use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; use Utopia\Validator; use Utopia\Validator\Boolean; @@ -24,6 +26,10 @@ use Utopia\Validator\Text; class XList extends Action { use HTTP; + + // cached mapping of columns to their subQuery filters + private static ?array $attributeToSubQueryFilters = null; + public static function getName() { return 'listProjects'; @@ -61,12 +67,13 @@ class XList extends Action ->param('queries', [], $this->getQueriesValidator(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) ->param('total', true, new Boolean(true), 'When set to false, the total count returned will be 0 and will not be calculated.', true) + ->inject('request') ->inject('response') ->inject('dbForPlatform') ->callback($this->action(...)); } - public function action(array $queries, string $search, bool $includeTotal, Response $response, Database $dbForPlatform) + public function action(array $queries, string $search, bool $includeTotal, Request $request, Response $response, Database $dbForPlatform) { try { $queries = Query::parseQueries($queries); @@ -103,16 +110,89 @@ class XList extends Action $cursor->setValue($cursorDocument); } - $filterQueries = Query::groupByType($queries)['filters']; try { - $projects = $dbForPlatform->find('projects', $queries); + $selectQueries = Query::groupByType($queries)['selections'] ?? []; + $filterQueries = Query::groupByType($queries)['filters']; + + $projects = $this->find($dbForPlatform, $queries, $selectQueries); $total = $includeTotal ? $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT) : 0; } catch (Order $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."); } + + $this->applySelectQueries($request, $response, Response::MODEL_PROJECT); $response->dynamic(new Document([ 'projects' => $projects, 'total' => $total, ]), Response::MODEL_PROJECT_LIST); } + + // Build mapping of columns to their subQuery filters + private static function getAttributeToSubQueryFilters(): array + { + if (self::$attributeToSubQueryFilters !== null) { + return self::$attributeToSubQueryFilters; + } + + self::$attributeToSubQueryFilters = []; + + $collections = Config::getParam('collections', []); + $projectAttributes = $collections['platform']['projects']['attributes'] ?? []; + + foreach ($projectAttributes as $attribute) { + $attributeId = $attribute['$id'] ?? null; + $filters = $attribute['filters'] ?? []; + + if ($attributeId === null || empty($filters)) { + continue; + } + + // extract only subQuery filters + $subQueryFilters = \array_filter($filters, function ($filter) { + return \str_starts_with($filter, 'subQuery'); + }); + + if (!empty($subQueryFilters)) { + self::$attributeToSubQueryFilters[$attributeId] = \array_values($subQueryFilters); + } + } + + return self::$attributeToSubQueryFilters; + } + + private function find(Database $dbForPlatform, array $queries, array $selectQueries): array + { + if (empty($selectQueries)) { + return $dbForPlatform->find('projects', $queries); + } + + $selectedAttributes = []; + foreach ($selectQueries as $query) { + foreach ($query->getValues() as $value) { + $selectedAttributes[] = $value; + } + } + + if (\in_array('*', $selectedAttributes)) { + return $dbForPlatform->find('projects', $queries); + } + + $filtersToSkipMap = []; + $selectedAttributesMap = \array_flip($selectedAttributes); + $attributeToSubQueryFilters = self::getAttributeToSubQueryFilters(); + + foreach ($attributeToSubQueryFilters as $attributeName => $subQueryFilters) { + if (!isset($selectedAttributesMap[$attributeName])) { + foreach ($subQueryFilters as $filter) { + $filtersToSkipMap[$filter] = true; + } + } + } + + $filtersToSkip = \array_keys($filtersToSkipMap); + + return empty($filtersToSkip) + ? $dbForPlatform->find('projects', $queries) + : $dbForPlatform->skipFilters(fn () => $dbForPlatform->find('projects', $queries), $filtersToSkip); + } } diff --git a/src/Appwrite/Platform/Modules/Proxy/Action.php b/src/Appwrite/Platform/Modules/Proxy/Action.php new file mode 100644 index 0000000000..c3fa535a5c --- /dev/null +++ b/src/Appwrite/Platform/Modules/Proxy/Action.php @@ -0,0 +1,188 @@ +isValid($domain)) { + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); + } + + $deniedDomains = [...$domains]; + + if (!empty($sitesDomain)) { + $deniedDomains[] = $sitesDomain; + } + + 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 use a different domain.'); + } + + try { + $domain = new Domain($domain); + } catch (\Throwable) { + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); + } + } + + /** + * Verify or re-verify a rule + * + * @param Document $rule Rule to verify + * @param Log|null $log Log instance to add timings to + * @return void + */ + protected function verifyRule(Document $rule, ?Log $log = null): void + { + $dnsValidatorClass = $this->dnsValidatorClass; + $dnsEnv = System::getEnv('_APP_DNS', '8.8.8.8'); + $servers = \array_map('trim', \explode(',', $dnsEnv)); + $dnsServers = \array_filter($servers, fn ($server) => !empty($server)); + + $domain = new Domain($rule->getAttribute('domain', '')); + + if (empty($domain->get())) { + throw new Exception(Exception::RULE_VERIFICATION_FAILED, 'DNS verification failed as domain is not valid.'); + } + + if (!$domain->isKnown() || $domain->isTest()) { + throw new Exception(Exception::RULE_VERIFICATION_FAILED, 'DNS verification failed as domain ' . $domain->get() . ' does not resolve to a known public apex domain.'); + } + + // Ensure CAA won't block certificate issuance + $caaTarget = System::getEnv('_APP_DOMAIN_TARGET_CAA', ''); + if (!empty($caaTarget)) { + $validationStart = \microtime(true); + $validator = new $dnsValidatorClass($caaTarget, Record::TYPE_CAA, $dnsServers); + if (!$validator->isValid($domain->get())) { + if (!\is_null($log)) { + $log->addExtra('dnsTimingCaa', \strval(\microtime(true) - $validationStart)); + $log->addTag('dnsDomain', $domain->get()); + } + throw new Exception(Exception::RULE_VERIFICATION_FAILED, $validator->getDescription()); + } + } + + $targetCNAME = null; + $ruleType = $rule->getAttribute('type', ''); + $resourceType = $rule->getAttribute('deploymentResourceType', ''); + + // Ensures different target based on rule's type, as configured by env variables + if ($resourceType === 'function') { + // For example: fra.appwrite.run + $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_FUNCTIONS', '')); + } elseif ($resourceType === 'site') { + // For example: appwrite.network + $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_SITES', '')); + } elseif ($ruleType === 'api') { + // For example: fra.cloud.appwrite.io + $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); + } elseif ($ruleType === 'redirect') { + // Shouldn't be needed, because redirect should always have resourceTyp too, but just in case we default to sites + // For example: appwrite.network + $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_SITES', '')); + } + + $validators = []; + $mainValidator = null; // Validator to use for error description + + if (!is_null($targetCNAME)) { + $validator = new $dnsValidatorClass($targetCNAME->get(), Record::TYPE_CNAME, $dnsServers); + $validators[] = $validator; + + if (\is_null($mainValidator)) { + $mainValidator = $validator; + } + } + + // Ensure at least one of CNAME/A/AAAA record points to our servers properly + $targetA = System::getEnv('_APP_DOMAIN_TARGET_A', ''); + if ((new IP(IP::V4))->isValid($targetA)) { + $validator = new $dnsValidatorClass($targetA, Record::TYPE_A, $dnsServers); + $validators[] = $validator; + + if (\is_null($mainValidator)) { + $mainValidator = $validator; + } + } + + $targetAAAA = System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''); + if ((new IP(IP::V6))->isValid($targetAAAA)) { + $validator = new $dnsValidatorClass($targetAAAA, Record::TYPE_AAAA, $dnsServers); + $validators[] = $validator; + + if (\is_null($mainValidator)) { + $mainValidator = $validator; + } + } + + if (empty($validators)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); + } + + $validator = new AnyOf($validators, AnyOf::TYPE_STRING); + + $validationStart = \microtime(true); + if (!$validator->isValid($domain->get())) { + if (!\is_null($log)) { + $log->addExtra('dnsTiming', \strval(\microtime(true) - $validationStart)); + $log->addTag('dnsDomain', $domain->get()); + } + throw new Exception(Exception::RULE_VERIFICATION_FAILED, $mainValidator->getDescription()); + } + } +} 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 e6805f0759..95ea8dd8cf 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php @@ -5,7 +5,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules\API; use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Extend\Exception; -use Appwrite\Network\Validator\DNS; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -14,14 +14,10 @@ use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Helpers\ID; -use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; -use Utopia\Platform\Action; +use Utopia\Logger\Log; use Utopia\Platform\Scope\HTTP; use Utopia\System\System; -use Utopia\Validator\AnyOf; use Utopia\Validator\Domain as ValidatorDomain; -use Utopia\Validator\IP; class Create extends Action { @@ -32,8 +28,10 @@ class Create extends Action return 'createAPIRule'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) ->setHttpPath('/v1/proxy/rules/api') @@ -68,95 +66,27 @@ class Create extends Action ->inject('queueForEvents') ->inject('dbForPlatform') ->inject('platform') + ->inject('log') ->callback($this->action(...)); } - public function action(string $domain, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, array $platform) + public function action(string $domain, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, array $platform, Log $log) { - $domains = $platform['hostnames'] ?? []; + $this->validateDomainRestrictions($domain, $platform); + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $restrictions = []; - if (!empty($sitesDomain)) { - $domainLevel = \count(\explode('.', $sitesDomain)); - $restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']); - } - if (!empty($functionsDomain)) { - $domainLevel = \count(\explode('.', $functionsDomain)); - $restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1); - } - $validator = new ValidatorDomain($restrictions); - - if (!$validator->isValid($domain)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); - } - - $deniedDomains = [...$domains]; - - if (!empty($sitesDomain)) { - $deniedDomains[] = $sitesDomain; - } - - 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 use a different domain.'); - } - - try { - $domain = new Domain($domain); - } catch (\Throwable) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); - } - // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; - $ruleId = $isMd5 ? md5($domain->get()) : ID::unique(); - - $status = 'created'; - if (\str_ends_with($domain->get(), $functionsDomain) || \str_ends_with($domain->get(), $sitesDomain)) { - $status = 'verified'; - } - if ($status === 'created') { - $validators = []; - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - if (empty($validators)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); - } - - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - if ($validator->isValid($domain->get())) { - $status = 'verifying'; - } - } - + $ruleId = System::getEnv('_APP_RULES_FORMAT') === 'md5' ? md5($domain) : ID::unique(); + $status = RULE_STATUS_CREATED; $owner = ''; + if ( - ($functionsDomain != '' && \str_ends_with($domain->get(), $functionsDomain)) || - ($sitesDomain != '' && \str_ends_with($domain->get(), $sitesDomain)) + ($functionsDomain != '' && \str_ends_with($domain, $functionsDomain)) || + ($sitesDomain != '' && \str_ends_with($domain, $sitesDomain)) ) { + $status = RULE_STATUS_VERIFIED; $owner = 'Appwrite'; } @@ -164,28 +94,38 @@ class Create extends Action '$id' => $ruleId, 'projectId' => $project->getId(), 'projectInternalId' => $project->getSequence(), - 'domain' => $domain->get(), + 'domain' => $domain, 'status' => $status, 'type' => 'api', 'trigger' => 'manual', 'certificateId' => '', - 'search' => implode(' ', [$ruleId, $domain->get()]), + 'search' => implode(' ', [$ruleId, $domain]), 'owner' => $owner, 'region' => $project->getAttribute('region') ]); + if ($rule->getAttribute('status', '') === RULE_STATUS_CREATED) { + try { + $this->verifyRule($rule, $log); + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATING); + } catch (Exception $err) { + $rule->setAttribute('logs', $err->getMessage()); + } + } + try { $rule = $dbForPlatform->createDocument('rules', $rule); } catch (Duplicate $e) { throw new Exception(Exception::RULE_ALREADY_EXISTS); } - if ($rule->getAttribute('status', '') === 'verifying') { + if ($rule->getAttribute('status', '') === RULE_STATUS_CERTIFICATE_GENERATING) { $queueForCertificates ->setDomain(new Document([ 'domain' => $rule->getAttribute('domain'), 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), ])) + ->setAction(Certificate::ACTION_GENERATION) ->trigger(); } 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 575ac9b832..ea0fb69050 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php @@ -5,7 +5,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules\Function; use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Extend\Exception; -use Appwrite\Network\Validator\DNS; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -15,14 +15,10 @@ use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Helpers\ID; use Utopia\Database\Validator\UID; -use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; -use Utopia\Platform\Action; +use Utopia\Logger\Log; use Utopia\Platform\Scope\HTTP; use Utopia\System\System; -use Utopia\Validator\AnyOf; use Utopia\Validator\Domain as ValidatorDomain; -use Utopia\Validator\IP; use Utopia\Validator\Text; class Create extends Action @@ -34,8 +30,10 @@ class Create extends Action return 'createFunctionRule'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) ->setHttpPath('/v1/proxy/rules/function') @@ -73,59 +71,17 @@ class Create extends Action ->inject('dbForPlatform') ->inject('dbForProject') ->inject('platform') + ->inject('log') ->callback($this->action(...)); } - public function action(string $domain, string $functionId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform) + public function action(string $domain, string $functionId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform, Log $log) { - $domains = $platform['hostnames'] ?? []; + $this->validateDomainRestrictions($domain, $platform); + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $restrictions = []; - if (!empty($sitesDomain)) { - $domainLevel = \count(\explode('.', $sitesDomain)); - $restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']); - } - if (!empty($functionsDomain)) { - $domainLevel = \count(\explode('.', $functionsDomain)); - $restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1); - } - $validator = new ValidatorDomain($restrictions); - - if (!$validator->isValid($domain)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); - } - - $deniedDomains = [...$domains]; - - if (!empty($sitesDomain)) { - $deniedDomains[] = $sitesDomain; - } - - 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 use a different domain.'); - } - - try { - $domain = new Domain($domain); - } catch (\Throwable) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); - } - $function = $dbForProject->getDocument('functions', $functionId); if ($function->isEmpty()) { throw new Exception(Exception::RULE_RESOURCE_NOT_FOUND); @@ -134,41 +90,15 @@ class Create extends Action $deployment = $dbForProject->getDocument('deployments', $function->getAttribute('deploymentId', '')); // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; - $ruleId = $isMd5 ? md5($domain->get()) : ID::unique(); - - $status = 'created'; - if (\str_ends_with($domain->get(), $functionsDomain) || \str_ends_with($domain->get(), $sitesDomain)) { - $status = 'verified'; - } - if ($status === 'created') { - $validators = []; - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - if (empty($validators)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); - } - - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - if ($validator->isValid($domain->get())) { - $status = 'verifying'; - } - } - + $ruleId = System::getEnv('_APP_RULES_FORMAT') === 'md5' ? md5($domain) : ID::unique(); + $status = RULE_STATUS_CREATED; $owner = ''; + if ( - ($functionsDomain != '' && \str_ends_with($domain->get(), $functionsDomain)) || - ($sitesDomain != '' && \str_ends_with($domain->get(), $sitesDomain)) + ($functionsDomain != '' && \str_ends_with($domain, $functionsDomain)) || + ($sitesDomain != '' && \str_ends_with($domain, $sitesDomain)) ) { + $status = RULE_STATUS_VERIFIED; $owner = 'Appwrite'; } @@ -176,7 +106,7 @@ class Create extends Action '$id' => $ruleId, 'projectId' => $project->getId(), 'projectInternalId' => $project->getSequence(), - 'domain' => $domain->get(), + 'domain' => $domain, 'status' => $status, 'type' => 'deployment', 'trigger' => 'manual', @@ -187,23 +117,33 @@ class Create extends Action 'deploymentResourceInternalId' => $function->getSequence(), 'deploymentVcsProviderBranch' => $branch, 'certificateId' => '', - 'search' => implode(' ', [$ruleId, $domain->get(), $branch]), + 'search' => implode(' ', [$ruleId, $domain, $branch]), 'owner' => $owner, 'region' => $project->getAttribute('region') ]); + if ($rule->getAttribute('status', '') === RULE_STATUS_CREATED) { + try { + $this->verifyRule($rule, $log); + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATING); + } catch (Exception $err) { + $rule->setAttribute('logs', $err->getMessage()); + } + } + try { $rule = $dbForPlatform->createDocument('rules', $rule); } catch (Duplicate $e) { throw new Exception(Exception::RULE_ALREADY_EXISTS); } - if ($rule->getAttribute('status', '') === 'verifying') { + if ($rule->getAttribute('status', '') === RULE_STATUS_CERTIFICATE_GENERATING) { $queueForCertificates ->setDomain(new Document([ 'domain' => $rule->getAttribute('domain'), 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), ])) + ->setAction(Certificate::ACTION_GENERATION) ->trigger(); } diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Get.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Get.php index 77aa3df581..4c17fdc460 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Get.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Get.php @@ -3,6 +3,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules; use Appwrite\Extend\Exception; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -10,7 +11,6 @@ use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\UID; -use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; class Get extends Action @@ -22,8 +22,10 @@ class Get extends Action return 'getRule'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/proxy/rules/:ruleId') @@ -65,7 +67,12 @@ class Get extends Action } $certificate = $dbForPlatform->getDocument('certificates', $rule->getAttribute('certificateId', '')); - $rule->setAttribute('logs', $certificate->getAttribute('logs', '')); + + // Give priority to certificate generation logs if present + if (!empty($certificate->getAttribute('logs', ''))) { + $rule->setAttribute('logs', $certificate->getAttribute('logs', '')); + } + $rule->setAttribute('renewAt', $certificate->getAttribute('renewDate', '')); $response->dynamic($rule, Response::MODEL_PROXY_RULE); 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 50b1a4e2df..f21374b49a 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php @@ -5,7 +5,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules\Redirect; use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Extend\Exception; -use Appwrite\Network\Validator\DNS; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -15,14 +15,10 @@ use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Helpers\ID; use Utopia\Database\Validator\UID; -use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; -use Utopia\Platform\Action; +use Utopia\Logger\Log; use Utopia\Platform\Scope\HTTP; use Utopia\System\System; -use Utopia\Validator\AnyOf; use Utopia\Validator\Domain as ValidatorDomain; -use Utopia\Validator\IP; use Utopia\Validator\URL; use Utopia\Validator\WhiteList; @@ -35,8 +31,10 @@ class Create extends Action return 'createRedirectRule'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) ->setHttpPath('/v1/proxy/rules/redirect') @@ -76,59 +74,17 @@ class Create extends Action ->inject('dbForPlatform') ->inject('dbForProject') ->inject('platform') + ->inject('log') ->callback($this->action(...)); } - public function action(string $domain, string $url, int $statusCode, string $resourceId, string $resourceType, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform) + public function action(string $domain, string $url, int $statusCode, string $resourceId, string $resourceType, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform, Log $log) { - $domains = $platform['hostnames'] ?? []; + $this->validateDomainRestrictions($domain, $platform); + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $restrictions = []; - if (!empty($sitesDomain)) { - $domainLevel = \count(\explode('.', $sitesDomain)); - $restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']); - } - if (!empty($functionsDomain)) { - $domainLevel = \count(\explode('.', $functionsDomain)); - $restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1); - } - $validator = new ValidatorDomain($restrictions); - - if (!$validator->isValid($domain)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); - } - - $deniedDomains = [...$domains]; - - if (!empty($sitesDomain)) { - $deniedDomains[] = $sitesDomain; - } - - 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 use a different domain.'); - } - - try { - $domain = new Domain($domain); - } catch (\Throwable) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); - } - $collection = match ($resourceType) { 'site' => 'sites', 'function' => 'functions' @@ -139,41 +95,15 @@ class Create extends Action } // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; - $ruleId = $isMd5 ? md5($domain->get()) : ID::unique(); - - $status = 'created'; - if (\str_ends_with($domain->get(), $functionsDomain) || \str_ends_with($domain->get(), $sitesDomain)) { - $status = 'verified'; - } - if ($status === 'created') { - $validators = []; - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - if (empty($validators)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); - } - - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - if ($validator->isValid($domain->get())) { - $status = 'verifying'; - } - } - + $ruleId = System::getEnv('_APP_RULES_FORMAT') === 'md5' ? md5($domain) : ID::unique(); + $status = RULE_STATUS_CREATED; $owner = ''; + if ( - ($functionsDomain != '' && \str_ends_with($domain->get(), $functionsDomain)) || - ($sitesDomain != '' && \str_ends_with($domain->get(), $sitesDomain)) + ($functionsDomain != '' && \str_ends_with($domain, $functionsDomain)) || + ($sitesDomain != '' && \str_ends_with($domain, $sitesDomain)) ) { + $status = RULE_STATUS_VERIFIED; $owner = 'Appwrite'; } @@ -181,7 +111,7 @@ class Create extends Action '$id' => $ruleId, 'projectId' => $project->getId(), 'projectInternalId' => $project->getSequence(), - 'domain' => $domain->get(), + 'domain' => $domain, 'status' => $status, 'type' => 'redirect', 'trigger' => 'manual', @@ -191,23 +121,33 @@ class Create extends Action 'deploymentResourceId' => $resource->getId(), 'deploymentResourceInternalId' => $resource->getSequence(), 'certificateId' => '', - 'search' => implode(' ', [$ruleId, $domain->get()]), + 'search' => implode(' ', [$ruleId, $domain]), 'owner' => $owner, 'region' => $project->getAttribute('region') ]); + if ($rule->getAttribute('status', '') === RULE_STATUS_CREATED) { + try { + $this->verifyRule($rule, $log); + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATING); + } catch (Exception $err) { + $rule->setAttribute('logs', $err->getMessage()); + } + } + try { $rule = $dbForPlatform->createDocument('rules', $rule); } catch (Duplicate $e) { throw new Exception(Exception::RULE_ALREADY_EXISTS); } - if ($rule->getAttribute('status', '') === 'verifying') { + if ($rule->getAttribute('status', '') === RULE_STATUS_CERTIFICATE_GENERATING) { $queueForCertificates ->setDomain(new Document([ 'domain' => $rule->getAttribute('domain'), 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), ])) + ->setAction(Certificate::ACTION_GENERATION) ->trigger(); } 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 2071477eec..26bd453eb3 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php @@ -5,7 +5,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules\Site; use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Extend\Exception; -use Appwrite\Network\Validator\DNS; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -15,14 +15,10 @@ use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Helpers\ID; use Utopia\Database\Validator\UID; -use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; -use Utopia\Platform\Action; +use Utopia\Logger\Log; use Utopia\Platform\Scope\HTTP; use Utopia\System\System; -use Utopia\Validator\AnyOf; use Utopia\Validator\Domain as ValidatorDomain; -use Utopia\Validator\IP; use Utopia\Validator\Text; class Create extends Action @@ -34,8 +30,10 @@ class Create extends Action return 'createSiteRule'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) ->setHttpPath('/v1/proxy/rules/site') @@ -73,59 +71,17 @@ class Create extends Action ->inject('dbForPlatform') ->inject('dbForProject') ->inject('platform') + ->inject('log') ->callback($this->action(...)); } - public function action(string $domain, string $siteId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform) + public function action(string $domain, string $siteId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject, array $platform, Log $log) { - $domains = $platform['hostnames'] ?? []; + $this->validateDomainRestrictions($domain, $platform); + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $restrictions = []; - if (!empty($sitesDomain)) { - $domainLevel = \count(\explode('.', $sitesDomain)); - $restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']); - } - if (!empty($functionsDomain)) { - $domainLevel = \count(\explode('.', $functionsDomain)); - $restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1); - } - $validator = new ValidatorDomain($restrictions); - - if (!$validator->isValid($domain)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); - } - - $deniedDomains = [...$domains]; - - if (!empty($sitesDomain)) { - $deniedDomains[] = $sitesDomain; - } - - 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 use a different domain.'); - } - - try { - $domain = new Domain($domain); - } catch (\Throwable) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); - } - $site = $dbForProject->getDocument('sites', $siteId); if ($site->isEmpty()) { throw new Exception(Exception::RULE_RESOURCE_NOT_FOUND); @@ -134,41 +90,15 @@ class Create extends Action $deployment = $dbForProject->getDocument('deployments', $site->getAttribute('deploymentId', '')); // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; - $ruleId = $isMd5 ? md5($domain->get()) : ID::unique(); - - $status = 'created'; - if (\str_ends_with($domain->get(), $functionsDomain) || \str_ends_with($domain->get(), $sitesDomain)) { - $status = 'verified'; - } - if ($status === 'created') { - $validators = []; - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - if (empty($validators)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); - } - - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - if ($validator->isValid($domain->get())) { - $status = 'verifying'; - } - } - + $ruleId = System::getEnv('_APP_RULES_FORMAT') === 'md5' ? md5($domain) : ID::unique(); + $status = RULE_STATUS_CREATED; $owner = ''; + if ( - ($functionsDomain != '' && \str_ends_with($domain->get(), $functionsDomain)) || - ($sitesDomain != '' && \str_ends_with($domain->get(), $sitesDomain)) + ($functionsDomain != '' && \str_ends_with($domain, $functionsDomain)) || + ($sitesDomain != '' && \str_ends_with($domain, $sitesDomain)) ) { + $status = RULE_STATUS_VERIFIED; $owner = 'Appwrite'; } @@ -176,7 +106,7 @@ class Create extends Action '$id' => $ruleId, 'projectId' => $project->getId(), 'projectInternalId' => $project->getSequence(), - 'domain' => $domain->get(), + 'domain' => $domain, 'status' => $status, 'type' => 'deployment', 'trigger' => 'manual', @@ -187,23 +117,33 @@ class Create extends Action 'deploymentResourceInternalId' => $site->getSequence(), 'deploymentVcsProviderBranch' => $branch, 'certificateId' => '', - 'search' => implode(' ', [$ruleId, $domain->get(), $branch]), + 'search' => implode(' ', [$ruleId, $domain, $branch]), 'owner' => $owner, 'region' => $project->getAttribute('region') ]); + if ($rule->getAttribute('status', '') === RULE_STATUS_CREATED) { + try { + $this->verifyRule($rule, $log); + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATING); + } catch (Exception $err) { + $rule->setAttribute('logs', $err->getMessage()); + } + } + try { $rule = $dbForPlatform->createDocument('rules', $rule); } catch (Duplicate $e) { throw new Exception(Exception::RULE_ALREADY_EXISTS); } - if ($rule->getAttribute('status', '') === 'verifying') { + if ($rule->getAttribute('status', '') === RULE_STATUS_CERTIFICATE_GENERATING) { $queueForCertificates ->setDomain(new Document([ 'domain' => $rule->getAttribute('domain'), 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), ])) + ->setAction(Certificate::ACTION_GENERATION) ->trigger(); } diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php index af61f25f05..7266e8d183 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Verification/Update.php @@ -5,22 +5,17 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules\Verification; use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Extend\Exception; -use Appwrite\Network\Validator\DNS; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; use Appwrite\Utopia\Response; use Utopia\Database\Database; +use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Validator\UID; -use Utopia\DNS\Message\Record; -use Utopia\Domains\Domain; use Utopia\Logger\Log; -use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; -use Utopia\System\System; -use Utopia\Validator\AnyOf; -use Utopia\Validator\IP; class Update extends Action { @@ -31,8 +26,10 @@ class Update extends Action return 'updateRuleVerification'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_PATCH) ->setHttpPath('/v1/proxy/rules/:ruleId/verification') @@ -82,83 +79,36 @@ class Update extends Action throw new Exception(Exception::RULE_NOT_FOUND); } - $targetCNAME = null; - switch ($rule->getAttribute('type', '')) { - case 'api': - // For example: fra.cloud.appwrite.io - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - break; - case 'redirect': - // For example: appwrite.network - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_SITES', '')); - break; - case 'deployment': - switch ($rule->getAttribute('deploymentResourceType', '')) { - case 'function': - // For example: fra.appwrite.run - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_FUNCTIONS', '')); - break; - case 'site': - // For example: appwrite.network - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_SITES', '')); - break; - default: - break; - } - // no break - default: - break; - } + $queueForEvents->setParam('ruleId', $rule->getId()); - $validators = []; - - if (!is_null($targetCNAME)) { - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - } - - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - if (empty($validators)) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'At least one of domain targets environment variable must be configured.'); - } - - if ($rule->getAttribute('verification') === true) { + // If rule is already verified or in certificate generation state, don't queue for verification again + if ($rule->getAttribute('status') === RULE_STATUS_VERIFIED || $rule->getAttribute('status') === RULE_STATUS_CERTIFICATE_GENERATING) { return $response->dynamic($rule, Response::MODEL_PROXY_RULE); } - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - $domain = new Domain($rule->getAttribute('domain', '')); + try { + $this->verifyRule($rule, $log); + // Reset logs and status for the rule + $rule = $dbForPlatform->updateDocument('rules', $rule->getId(), new Document([ + 'logs' => '', + 'status' => RULE_STATUS_CERTIFICATE_GENERATING, + ])); - $validationStart = \microtime(true); - if (!$validator->isValid($domain->get())) { - $log->addExtra('dnsTiming', \strval(\microtime(true) - $validationStart)); - $log->addTag('dnsDomain', $domain->get()); - throw new Exception(Exception::RULE_VERIFICATION_FAILED); - } - - // Ensure CAA won't block certificate issuance - if (!empty(System::getEnv('_APP_DOMAIN_TARGET_CAA', ''))) { - $validationStart = \microtime(true); - $validator = new DNS(System::getEnv('_APP_DOMAIN_TARGET_CAA', ''), Record::TYPE_CAA); - if (!$validator->isValid($domain->get())) { - $log->addExtra('dnsTimingCaa', \strval(\microtime(true) - $validationStart)); - $log->addTag('dnsDomain', $domain->get()); - $error = $validator->getDescription(); - $log->addExtra('dnsResponse', \is_array($error) ? \json_encode($error) : \strval($error)); - throw new Exception(Exception::RULE_VERIFICATION_FAILED, 'Domain verification failed because CAA records do not allow Appwrite\'s certificate issuer.'); + $certificateId = $rule->getAttribute('certificateId', ''); + // Reset logs for the associated certificate. + if (!empty($certificateId)) { + $certificate = $dbForPlatform->updateDocument('certificates', $certificateId, new Document([ + 'logs' => '', + ])); } + } catch (Exception $err) { + $dbForPlatform->updateDocument('rules', $rule->getId(), new Document([ + '$updatedAt' => DateTime::now(), + ])); + throw $err; } - $dbForPlatform->updateDocument('rules', $rule->getId(), $rule->setAttribute('status', 'verifying')); - - // Issue a TLS certificate when domain is verified + // Issue a TLS certificate when DNS verification is successful $queueForCertificates ->setDomain(new Document([ 'domain' => $rule->getAttribute('domain'), @@ -166,10 +116,9 @@ class Update extends Action ])) ->trigger(); - $queueForEvents->setParam('ruleId', $rule->getId()); - - $certificate = $dbForPlatform->getDocument('certificates', $rule->getAttribute('certificateId', '')); - $rule->setAttribute('logs', $certificate->getAttribute('logs', '')); + if (!empty($certificate)) { + $rule->setAttribute('renewAt', $certificate->getAttribute('renewDate', '')); + } $response->dynamic($rule, Response::MODEL_PROXY_RULE); } diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/XList.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/XList.php index 86f63bc258..e160b71060 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/XList.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/XList.php @@ -3,6 +3,7 @@ namespace Appwrite\Platform\Modules\Proxy\Http\Rules; use Appwrite\Extend\Exception; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; @@ -13,7 +14,6 @@ use Utopia\Database\Document; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; -use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; use Utopia\Validator\Boolean; use Utopia\Validator\Text; @@ -27,8 +27,10 @@ class XList extends Action return 'listRules'; } - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/proxy/rules') @@ -109,7 +111,12 @@ class XList extends Action $rules = $dbForPlatform->find('rules', $queries); foreach ($rules as $rule) { $certificate = $dbForPlatform->getDocument('certificates', $rule->getAttribute('certificateId', '')); - $rule->setAttribute('logs', $certificate->getAttribute('logs', '')); + + // Give priority to certificate generation logs if present + if (!empty($certificate->getAttribute('logs', ''))) { + $rule->setAttribute('logs', $certificate->getAttribute('logs', '')); + } + $rule->setAttribute('renewAt', $certificate->getAttribute('renewDate', '')); } diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php index 7d4717c205..4ba51bca37 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php @@ -60,7 +60,7 @@ class Create extends Action description: <<setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) + ->setHttpPath('/v1/storage/buckets') + ->desc('Create bucket') + ->groups(['api', 'storage']) + ->label('scope', 'buckets.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('event', 'buckets.[bucketId].create') + ->label('audits.event', 'bucket.create') + ->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::ADMIN, AuthType::KEY], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_CREATED, + model: Response::MODEL_BUCKET, + ) + ] + )) + ->param('bucketId', '', new CustomId(), '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.') + ->param('name', '', new Text(128), 'Bucket name') + ->param('permissions', null, new Nullable(new \Utopia\Database\Validator\Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) + ->param('fileSecurity', false, new Boolean(true), '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).', true) + ->param('enabled', true, new Boolean(true), '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.', true) + ->param('maximumFileSize', fn (array $plan) => empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000, fn (array $plan) => new Range(1, empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000), 'Maximum file size allowed in bytes. Maximum allowed value is ' . Storage::human(System::getEnv('_APP_STORAGE_LIMIT', 0), 0) . '.', true, ['plan']) + ->param('allowedFileExtensions', [], new ArrayList(new Text(64), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Allowed file extensions. Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' extensions are allowed, each 64 characters long.', true) + ->param('compression', Compression::NONE, new WhiteList([Compression::NONE, Compression::GZIP, Compression::ZSTD], true), 'Compression algorithm choosen for compression. Can be one of ' . Compression::NONE . ', [' . Compression::GZIP . '](https://en.wikipedia.org/wiki/Gzip), or [' . Compression::ZSTD . '](https://en.wikipedia.org/wiki/Zstd), For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' compression is skipped even if it\'s enabled', true) + ->param('encryption', true, new Boolean(true), 'Is encryption enabled? For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' encryption is skipped even if it\'s enabled', true) + ->param('antivirus', true, new Boolean(true), 'Is virus scanning enabled? For file size above ' . Storage::human(APP_LIMIT_ANTIVIRUS, 0) . ' AntiVirus scanning is skipped even if it\'s enabled', true) + ->param('transformations', true, new Boolean(true), 'Are image transformations enabled?', true) + ->inject('response') + ->inject('dbForProject') + ->inject('queueForEvents') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $name, + ?array $permissions, + bool $fileSecurity, + bool $enabled, + int $maximumFileSize, + array $allowedFileExtensions, + ?string $compression, + ?bool $encryption, + bool $antivirus, + bool $transformations, + Response $response, + Database $dbForProject, + Event $queueForEvents + ) { + $bucketId = $bucketId === 'unique()' ? ID::unique() : $bucketId; + + // Map aggregate permissions into the multiple permissions they represent. + $permissions = Permission::aggregate($permissions) ?? []; + $compression ??= Compression::NONE; + $encryption ??= true; + try { + $files = (Config::getParam('collections', [])['buckets'] ?? [])['files'] ?? []; + if (empty($files)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Files collection is not configured.'); + } + + $attributes = []; + $indexes = []; + + foreach ($files['attributes'] as $attribute) { + $attributes[] = new Document([ + '$id' => $attribute['$id'], + 'type' => $attribute['type'], + 'size' => $attribute['size'], + 'required' => $attribute['required'], + 'signed' => $attribute['signed'], + 'array' => $attribute['array'], + 'filters' => $attribute['filters'], + 'default' => $attribute['default'] ?? null, + 'format' => $attribute['format'] ?? '' + ]); + } + + foreach ($files['indexes'] as $index) { + $indexes[] = new Document([ + '$id' => $index['$id'], + 'type' => $index['type'], + 'attributes' => $index['attributes'], + 'lengths' => $index['lengths'], + 'orders' => $index['orders'], + ]); + } + + $dbForProject->createDocument('buckets', new Document([ + '$id' => $bucketId, + '$collection' => 'buckets', + '$permissions' => $permissions, + 'name' => $name, + 'maximumFileSize' => $maximumFileSize, + 'allowedFileExtensions' => $allowedFileExtensions, + 'fileSecurity' => $fileSecurity, + 'enabled' => $enabled, + 'compression' => $compression, + 'encryption' => $encryption, + 'antivirus' => $antivirus, + 'transformations' => $transformations, + 'search' => implode(' ', [$bucketId, $name]), + ])); + + $bucket = $dbForProject->getDocument('buckets', $bucketId); + + $dbForProject->createCollection('bucket_' . $bucket->getSequence(), $attributes, $indexes, permissions: $permissions, documentSecurity: $fileSecurity); + } catch (DuplicateException) { + throw new Exception(Exception::STORAGE_BUCKET_ALREADY_EXISTS); + } + + $queueForEvents + ->setParam('bucketId', $bucket->getId()); + + $response + ->setStatusCode(Response::STATUS_CODE_CREATED) + ->dynamic($bucket, Response::MODEL_BUCKET); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Delete.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Delete.php new file mode 100644 index 0000000000..9523f55e12 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Delete.php @@ -0,0 +1,89 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_DELETE) + ->setHttpPath('/v1/storage/buckets/:bucketId') + ->desc('Delete bucket') + ->groups(['api', 'storage']) + ->label('scope', 'buckets.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('audits.event', 'bucket.delete') + ->label('event', 'buckets.[bucketId].delete') + ->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::ADMIN, AuthType::KEY], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_NOCONTENT, + model: Response::MODEL_NONE, + ) + ], + contentType: ContentType::NONE + )) + ->param('bucketId', '', new UID(), 'Bucket unique ID.') + ->inject('response') + ->inject('dbForProject') + ->inject('queueForDeletes') + ->inject('queueForEvents') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + Response $response, + Database $dbForProject, + DeleteEvent $queueForDeletes, + Event $queueForEvents + ) { + $bucket = $dbForProject->getDocument('buckets', $bucketId); + + if ($bucket->isEmpty()) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + if (!$dbForProject->deleteDocument('buckets', $bucketId)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to remove bucket from DB'); + } + + $queueForDeletes + ->setType(DELETE_TYPE_DOCUMENT) + ->setDocument($bucket); + + $queueForEvents + ->setParam('bucketId', $bucket->getId()) + ->setPayload($response->output($bucket, Response::MODEL_BUCKET)) + ; + + $response->noContent(); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Create.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Create.php new file mode 100644 index 0000000000..b2d9af5a08 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Create.php @@ -0,0 +1,451 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_POST) + ->setHttpPath('/v1/storage/buckets/:bucketId/files') + ->desc('Create file') + ->groups(['api', 'storage']) + ->label('scope', 'files.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('audits.event', 'file.create') + ->label('event', 'buckets.[bucketId].files.[fileId].create') + ->label('audits.resource', 'file/{response.$id}') + ->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}') + ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT) + ->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', + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_CREATED, + model: Response::MODEL_FILE, + ) + ], + type: MethodType::UPLOAD, + requestType: ContentType::MULTIPART + )) + ->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 CustomId(), 'File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.') + ->param('file', [], new File(), 'Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https://appwrite.io/docs/products/storage/upload-download#input-file).', skipValidation: true) + ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE])), 'An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) + ->inject('request') + ->inject('response') + ->inject('dbForProject') + ->inject('user') + ->inject('queueForEvents') + ->inject('mode') + ->inject('deviceForFiles') + ->inject('deviceForLocal') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + mixed $file, + ?array $permissions, + Request $request, + Response $response, + Database $dbForProject, + Document $user, + Event $queueForEvents, + string $mode, + Device $deviceForFiles, + Device $deviceForLocal + ) { + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $validator = new Authorization(\Utopia\Database\Database::PERMISSION_CREATE); + if (!$validator->isValid($bucket->getCreate())) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + $allowedPermissions = [ + \Utopia\Database\Database::PERMISSION_READ, + \Utopia\Database\Database::PERMISSION_UPDATE, + \Utopia\Database\Database::PERMISSION_DELETE, + ]; + + // Map aggregate permissions to into the set of individual permissions they represent. + $permissions = Permission::aggregate($permissions, $allowedPermissions); + + // Add permissions for current the user if none were provided. + if (\is_null($permissions)) { + $permissions = []; + if (!empty($user->getId()) && !$isPrivilegedUser) { + foreach ($allowedPermissions as $permission) { + $permissions[] = (new Permission($permission, 'user', $user->getId()))->toString(); + } + } + } + + // Users can only manage their own roles, API keys and Admin users can manage any + $roles = Authorization::getRoles(); + if (!$isAPIKey && !$isPrivilegedUser) { + foreach (\Utopia\Database\Database::PERMISSIONS as $type) { + foreach ($permissions as $permission) { + $permission = Permission::parse($permission); + if ($permission->getPermission() != $type) { + continue; + } + $role = (new Role( + $permission->getRole(), + $permission->getIdentifier(), + $permission->getDimension() + ))->toString(); + if (!Authorization::isRole($role)) { + throw new Exception(Exception::USER_UNAUTHORIZED, 'Permissions must be one of: (' . \implode(', ', $roles) . ')'); + } + } + } + } + + $maximumFileSize = $bucket->getAttribute('maximumFileSize', 0); + if ($maximumFileSize > (int) System::getEnv('_APP_STORAGE_LIMIT', 0)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Maximum bucket file size is larger than _APP_STORAGE_LIMIT'); + } + + $file = $request->getFiles('file'); + + // GraphQL multipart spec adds files with index keys + if (empty($file)) { + $file = $request->getFiles(0); + } + + if (empty($file)) { + throw new Exception(Exception::STORAGE_FILE_EMPTY); + } + + // Make sure we handle a single file and multiple files the same way + $fileName = (\is_array($file['name']) && isset($file['name'][0])) ? $file['name'][0] : $file['name']; + $fileTmpName = (\is_array($file['tmp_name']) && isset($file['tmp_name'][0])) ? $file['tmp_name'][0] : $file['tmp_name']; + $fileSize = (\is_array($file['size']) && isset($file['size'][0])) ? $file['size'][0] : $file['size']; + + $contentRange = $request->getHeader('content-range'); + $fileId = $fileId === 'unique()' ? ID::unique() : $fileId; + $chunk = 1; + $chunks = 1; + + if (!empty($contentRange)) { + $start = $request->getContentRangeStart(); + $end = $request->getContentRangeEnd(); + $fileSize = $request->getContentRangeSize(); + $fileId = $request->getHeader('x-appwrite-id', $fileId); + // TODO make `end >= $fileSize` in next breaking version + if (is_null($start) || is_null($end) || is_null($fileSize) || $end > $fileSize) { + throw new Exception(Exception::STORAGE_INVALID_CONTENT_RANGE); + } + + $idValidator = new UID(); + if (!$idValidator->isValid($fileId)) { + throw new Exception(Exception::STORAGE_INVALID_APPWRITE_ID); + } + + // TODO remove the condition that checks `$end === $fileSize` in next breaking version + if ($end === $fileSize - 1 || $end === $fileSize) { + //if it's a last chunks the chunk size might differ, so we set the $chunks and $chunk to -1 notify it's last chunk + $chunks = $chunk = -1; + } else { + // Calculate total number of chunks based on the chunk size i.e ($rangeEnd - $rangeStart) + $chunks = (int) ceil($fileSize / ($end + 1 - $start)); + $chunk = (int) ($start / ($end + 1 - $start)) + 1; + } + } + + /** + * Validators + */ + // Check if file type is allowed + $allowedFileExtensions = $bucket->getAttribute('allowedFileExtensions', []); + $fileExt = new FileExt($allowedFileExtensions); + if (!empty($allowedFileExtensions) && !$fileExt->isValid($fileName)) { + throw new Exception(Exception::STORAGE_FILE_TYPE_UNSUPPORTED, 'File extension not allowed'); + } + + // Check if file size is exceeding allowed limit + $fileSizeValidator = new FileSize($maximumFileSize); + if (!$fileSizeValidator->isValid($fileSize)) { + throw new Exception(Exception::STORAGE_INVALID_FILE_SIZE, 'File size not allowed'); + } + + $upload = new Upload(); + if (!$upload->isValid($fileTmpName)) { + throw new Exception(Exception::STORAGE_INVALID_FILE); + } + + // Save to storage + $fileSize ??= $deviceForLocal->getFileSize($fileTmpName); + $path = $deviceForFiles->getPath($fileId . '.' . \pathinfo($fileName, PATHINFO_EXTENSION)); + $path = str_ireplace($deviceForFiles->getRoot(), $deviceForFiles->getRoot() . DIRECTORY_SEPARATOR . $bucket->getId(), $path); // Add bucket id to path after root + + $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + + $metadata = ['content_type' => $deviceForLocal->getFileMimeType($fileTmpName)]; + if (!$file->isEmpty()) { + $chunks = $file->getAttribute('chunksTotal', 1); + $uploaded = $file->getAttribute('chunksUploaded', 0); + $metadata = $file->getAttribute('metadata', []); + + if ($chunk === -1) { + $chunk = $chunks; + } + + if ($uploaded === $chunks) { + throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); + } + } + + $chunksUploaded = $deviceForFiles->upload($fileTmpName, $path, $chunk, $chunks, $metadata); + + if (empty($chunksUploaded)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed uploading file'); + } + + if ($chunksUploaded === $chunks) { + if (System::getEnv('_APP_STORAGE_ANTIVIRUS') === 'enabled' && $bucket->getAttribute('antivirus', true) && $fileSize <= APP_LIMIT_ANTIVIRUS && $deviceForFiles->getType() === Storage::DEVICE_LOCAL) { + $antivirus = new Network( + System::getEnv('_APP_STORAGE_ANTIVIRUS_HOST', 'clamav'), + (int) System::getEnv('_APP_STORAGE_ANTIVIRUS_PORT', 3310) + ); + + if (!$antivirus->fileScan($path)) { + $deviceForFiles->delete($path); + throw new Exception(Exception::STORAGE_INVALID_FILE); + } + } + + $mimeType = $deviceForFiles->getFileMimeType($path); // Get mime-type before compression and encryption + $fileHash = $deviceForFiles->getFileHash($path); // Get file hash before compression and encryption + $data = ''; + // Compression + $algorithm = $bucket->getAttribute('compression', Compression::NONE); + if ($fileSize <= APP_STORAGE_READ_BUFFER && $algorithm != Compression::NONE) { + $data = $deviceForFiles->read($path); + switch ($algorithm) { + case Compression::ZSTD: + $compressor = new Zstd(); + break; + case Compression::GZIP: + default: + $compressor = new GZIP(); + break; + } + $data = $compressor->compress($data); + } else { + // reset the algorithm to none as we do not compress the file + // if file size exceedes the APP_STORAGE_READ_BUFFER + // regardless the bucket compression algoorithm + $algorithm = Compression::NONE; + } + + if ($bucket->getAttribute('encryption', true) && $fileSize <= APP_STORAGE_READ_BUFFER) { + if (empty($data)) { + $data = $deviceForFiles->read($path); + } + $key = System::getEnv('_APP_OPENSSL_KEY_V1'); + $iv = OpenSSL::randomPseudoBytes(OpenSSL::cipherIVLength(OpenSSL::CIPHER_AES_128_GCM)); + $data = OpenSSL::encrypt($data, OpenSSL::CIPHER_AES_128_GCM, $key, 0, $iv, $tag); + } + + if (!empty($data)) { + if (!$deviceForFiles->write($path, $data, $mimeType)) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to save file'); + } + } + + $sizeActual = $deviceForFiles->getFileSize($path); + + $openSSLVersion = null; + $openSSLCipher = null; + $openSSLTag = null; + $openSSLIV = null; + + if ($bucket->getAttribute('encryption', true) && $fileSize <= APP_STORAGE_READ_BUFFER) { + $openSSLVersion = '1'; + $openSSLCipher = OpenSSL::CIPHER_AES_128_GCM; + $openSSLTag = \bin2hex($tag); + $openSSLIV = \bin2hex($iv); + } + + if ($file->isEmpty()) { + $doc = new Document([ + '$id' => $fileId, + '$permissions' => $permissions, + 'bucketId' => $bucket->getId(), + 'bucketInternalId' => $bucket->getSequence(), + 'name' => $fileName, + 'path' => $path, + 'signature' => $fileHash, + 'mimeType' => $mimeType, + 'sizeOriginal' => $fileSize, + 'sizeActual' => $sizeActual, + 'algorithm' => $algorithm, + 'comment' => '', + 'chunksTotal' => $chunks, + 'chunksUploaded' => $chunksUploaded, + 'openSSLVersion' => $openSSLVersion, + 'openSSLCipher' => $openSSLCipher, + 'openSSLTag' => $openSSLTag, + 'openSSLIV' => $openSSLIV, + 'search' => implode(' ', [$fileId, $fileName]), + 'metadata' => $metadata, + ]); + + try { + $file = $dbForProject->createDocument('bucket_' . $bucket->getSequence(), $doc); + } catch (DuplicateException) { + throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); + } catch (NotFoundException) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + } else { + $file = $file + ->setAttribute('$permissions', $permissions) + ->setAttribute('signature', $fileHash) + ->setAttribute('mimeType', $mimeType) + ->setAttribute('sizeActual', $sizeActual) + ->setAttribute('algorithm', $algorithm) + ->setAttribute('openSSLVersion', $openSSLVersion) + ->setAttribute('openSSLCipher', $openSSLCipher) + ->setAttribute('openSSLTag', $openSSLTag) + ->setAttribute('openSSLIV', $openSSLIV) + ->setAttribute('metadata', $metadata) + ->setAttribute('chunksUploaded', $chunksUploaded); + + /** + * Validate create permission and skip authorization in updateDocument + * Without this, the file creation will fail when user doesn't have update permission + * However as with chunk upload even if we are updating, we are essentially creating a file + * adding it's new chunk so we validate create permission instead of update + */ + $validator = new Authorization(\Utopia\Database\Database::PERMISSION_CREATE); + if (!$validator->isValid($bucket->getCreate())) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); + } + } else { + if ($file->isEmpty()) { + $doc = new Document([ + '$id' => ID::custom($fileId), + '$permissions' => $permissions, + 'bucketId' => $bucket->getId(), + 'bucketInternalId' => $bucket->getSequence(), + 'name' => $fileName, + 'path' => $path, + 'signature' => '', + 'mimeType' => '', + 'sizeOriginal' => $fileSize, + 'sizeActual' => 0, + 'algorithm' => '', + 'comment' => '', + 'chunksTotal' => $chunks, + 'chunksUploaded' => $chunksUploaded, + 'search' => implode(' ', [$fileId, $fileName]), + 'metadata' => $metadata, + ]); + + try { + $file = $dbForProject->createDocument('bucket_' . $bucket->getSequence(), $doc); + } catch (DuplicateException) { + throw new Exception(Exception::STORAGE_FILE_ALREADY_EXISTS); + } catch (NotFoundException) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + } else { + $file = $file + ->setAttribute('chunksUploaded', $chunksUploaded) + ->setAttribute('metadata', $metadata); + + /** + * Validate create permission and skip authorization in updateDocument + * Without this, the file creation will fail when user doesn't have update permission + * However as with chunk upload even if we are updating, we are essentially creating a file + * adding it's new chunk so we validate create permission instead of update + */ + $validator = new Authorization(\Utopia\Database\Database::PERMISSION_CREATE); + if (!$validator->isValid($bucket->getCreate())) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + try { + $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); + } catch (NotFoundException) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + } + } + + $queueForEvents + ->setParam('bucketId', $bucket->getId()) + ->setParam('fileId', $file->getId()) + ->setContext('bucket', $bucket); + + $metadata = null; // was causing leaks as it was passed by reference + + $response + ->setStatusCode(Response::STATUS_CODE_CREATED) + ->dynamic($file, Response::MODEL_FILE); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Delete.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Delete.php new file mode 100644 index 0000000000..eccacaafd2 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Delete.php @@ -0,0 +1,150 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_DELETE) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId') + ->desc('Delete file') + ->groups(['api', 'storage']) + ->label('scope', 'files.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('event', 'buckets.[bucketId].files.[fileId].delete') + ->label('audits.event', 'file.delete') + ->label('audits.resource', 'file/{request.fileId}') + ->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}') + ->label('abuse-limit', APP_LIMIT_WRITE_RATE_DEFAULT) + ->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::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_NOCONTENT, + model: Response::MODEL_NONE, + ) + ], + contentType: ContentType::NONE + )) + ->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.') + ->inject('response') + ->inject('dbForProject') + ->inject('queueForEvents') + ->inject('deviceForFiles') + ->inject('queueForDeletes') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + Response $response, + Database $dbForProject, + Event $queueForEvents, + Device $deviceForFiles, + DeleteEvent $queueForDeletes, + ) { + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_DELETE); + $valid = $validator->isValid($bucket->getDelete()); + if (!$fileSecurity && !$valid) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + // Read permission should not be required for delete + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + // Make sure we don't delete the file before the document permission check occurs + if ($fileSecurity && !$valid && !$validator->isValid($file->getDelete())) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + $deviceDeleted = false; + if ($file->getAttribute('chunksTotal') !== $file->getAttribute('chunksUploaded')) { + $deviceDeleted = $deviceForFiles->abort( + $file->getAttribute('path'), + ($file->getAttribute('metadata', [])['uploadId'] ?? '') + ); + } else { + $deviceDeleted = $deviceForFiles->delete($file->getAttribute('path')); + } + + if ($deviceDeleted) { + $queueForDeletes + ->setType(DELETE_TYPE_CACHE_BY_RESOURCE) + ->setResourceType('bucket/' . $bucket->getId()) + ->setResource('file/' . $fileId) + ; + + try { + if ($fileSecurity && !$valid) { + $deleted = $dbForProject->deleteDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + $deleted = Authorization::skip(fn () => $dbForProject->deleteDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + } catch (NotFoundException) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + if (!$deleted) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to remove file from DB'); + } + } else { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to delete file from device'); + } + + $queueForEvents + ->setParam('bucketId', $bucket->getId()) + ->setParam('fileId', $file->getId()) + ->setContext('bucket', $bucket) + ->setPayload($response->output($file, Response::MODEL_FILE)) + ; + + $response->noContent(); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Download/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Download/Get.php new file mode 100644 index 0000000000..45e3b83375 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Download/Get.php @@ -0,0 +1,213 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId/download') + ->desc('Get file for download') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->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::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_NONE, + ) + ], + contentType: ContentType::ANY, + type: MethodType::LOCATION + )) + ->param('bucketId', '', new UID(), 'Storage bucket 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.') + // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. + ->param('token', '', new Text(512), 'File token for accessing this file.', true) + ->inject('request') + ->inject('response') + ->inject('dbForProject') + ->inject('mode') + ->inject('resourceToken') + ->inject('deviceForFiles') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + ?string $token, + Request $request, + Response $response, + Database $dbForProject, + string $mode, + Document $resourceToken, + Device $deviceForFiles + ) { + /* @type Document $bucket */ + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_READ); + $valid = $validator->isValid($bucket->getRead()); + if (!$fileSecurity && !$valid && !$isToken) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($fileSecurity && !$valid && !$isToken) { + $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + /* @type Document $file */ + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + + if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + $path = $file->getAttribute('path', ''); + + if (!$deviceForFiles->exists($path)) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); + } + + $size = $file->getAttribute('sizeOriginal', 0); + + $rangeHeader = $request->getHeader('range'); + if (!empty($rangeHeader)) { + $start = $request->getRangeStart(); + $end = $request->getRangeEnd(); + $unit = $request->getRangeUnit(); + + if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { + $end = min(($start + MAX_OUTPUT_CHUNK_SIZE - 1), ($size - 1)); + } + + if ($unit !== 'bytes' || $start >= $end || $end >= $size) { + throw new Exception(Exception::STORAGE_INVALID_RANGE); + } + + $response + ->addHeader('Accept-Ranges', 'bytes') + ->addHeader('Content-Range', 'bytes ' . $start . '-' . $end . '/' . $size) + ->addHeader('Content-Length', $end - $start + 1) + ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); + } + + $response + ->setContentType($file->getAttribute('mimeType')) + ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days + ->addHeader('X-Peak', \memory_get_peak_usage()) + ->addHeader('Content-Disposition', 'attachment; filename="' . $file->getAttribute('name', '') . '"') + ; + + $source = ''; + if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt + $source = $deviceForFiles->read($path); + $source = OpenSSL::decrypt( + $source, + $file->getAttribute('openSSLCipher'), + System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), + 0, + \hex2bin($file->getAttribute('openSSLIV')), + \hex2bin($file->getAttribute('openSSLTag')) + ); + } + + switch ($file->getAttribute('algorithm', Compression::NONE)) { + case Compression::ZSTD: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new Zstd(); + $source = $compressor->decompress($source); + break; + case Compression::GZIP: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new GZIP(); + $source = $compressor->decompress($source); + break; + } + + if (!empty($source)) { + if (!empty($rangeHeader)) { + $response->send(substr($source, $start, ($end - $start + 1))); + return; + } + $response->send($source); + return; + } + + if (!empty($rangeHeader)) { + $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); + return; + } + + if ($size > APP_STORAGE_READ_BUFFER) { + for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { + $response->chunk( + $deviceForFiles->read( + $path, + ($i * MAX_OUTPUT_CHUNK_SIZE), + min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) + ), + (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size + ); + } + } else { + $response->send($deviceForFiles->read($path)); + } + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Get.php new file mode 100644 index 0000000000..77f163e5fb --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Get.php @@ -0,0 +1,89 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId') + ->desc('Get file') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('sdk', new Method( + namespace: 'storage', + group: 'files', + name: 'getFile', + description: '/docs/references/storage/get-file.md', + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_FILE, + ) + ] + )) + ->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.') + ->inject('response') + ->inject('dbForProject') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + Response $response, + Database $dbForProject, + ) { + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_READ); + $valid = $validator->isValid($bucket->getRead()); + if (!$fileSecurity && !$valid) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($fileSecurity && !$valid) { + $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + $response->dynamic($file, Response::MODEL_FILE); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Preview/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Preview/Get.php new file mode 100644 index 0000000000..9c4e49d0bb --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Preview/Get.php @@ -0,0 +1,287 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId/preview') + ->desc('Get file preview') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('cache', true) + ->label('cache.resourceType', 'bucket/{request.bucketId}') + ->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::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_NONE + ) + ], + type: MethodType::LOCATION, + contentType: ContentType::IMAGE + )) + ->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('width', 0, new Range(0, 4000), 'Resize preview image width, Pass an integer between 0 to 4000.', true) + ->param('height', 0, new Range(0, 4000), 'Resize preview image height, Pass an integer between 0 to 4000.', true) + ->param('gravity', Image::GRAVITY_CENTER, new WhiteList(Image::getGravityTypes()), 'Image crop gravity. Can be one of ' . implode(",", Image::getGravityTypes()), true) + ->param('quality', -1, new Range(-1, 100), 'Preview image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.', true) + ->param('borderWidth', 0, new Range(0, 100), 'Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.', true) + ->param('borderColor', '', new HexColor(), 'Preview image border color. Use a valid HEX color, no # is needed for prefix.', true) + ->param('borderRadius', 0, new Range(0, 4000), 'Preview image border radius in pixels. Pass an integer between 0 to 4000.', true) + ->param('opacity', 1, new Range(0, 1, Range::TYPE_FLOAT), 'Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.', true) + ->param('rotation', 0, new Range(-360, 360), 'Preview image rotation in degrees. Pass an integer between -360 and 360.', true) + ->param('background', '', new HexColor(), 'Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.', true) + ->param('output', '', new WhiteList(\array_keys(Config::getParam('storage-outputs')), true), 'Output format type (jpeg, jpg, png, gif and webp).', true) + // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. + ->param('token', '', new Text(512), 'File token for accessing this file.', true) + ->inject('request') + ->inject('response') + ->inject('dbForProject') + ->inject('resourceToken') + ->inject('deviceForFiles') + ->inject('deviceForLocal') + ->inject('project') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + int $width, + int $height, + string $gravity, + int $quality, + int $borderWidth, + string $borderColor, + int $borderRadius, + float $opacity, + int $rotation, + string $background, + string $output, + ?string $token, + Request $request, + Response $response, + Database $dbForProject, + Document $resourceToken, + Device $deviceForFiles, + Device $deviceForLocal, + Document $project + ) { + + if (!\extension_loaded('imagick')) { + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Imagick extension is missing'); + } + + /* @type Document $bucket */ + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + if (!$bucket->getAttribute('transformations', true) && !$isAPIKey && !$isPrivilegedUser) { + throw new Exception(Exception::STORAGE_BUCKET_TRANSFORMATIONS_DISABLED); + } + + $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_READ); + $valid = $validator->isValid($bucket->getRead()); + if (!$fileSecurity && !$valid && !$isToken) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($fileSecurity && !$valid && !$isToken) { + $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + /* @type Document $file */ + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + + if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + $inputs = Config::getParam('storage-inputs'); + $outputs = Config::getParam('storage-outputs'); + $fileLogos = Config::getParam('storage-logos'); + + $path = $file->getAttribute('path'); + $type = \strtolower(\pathinfo($path, PATHINFO_EXTENSION)); + $algorithm = $file->getAttribute('algorithm', Compression::NONE); + $cipher = $file->getAttribute('openSSLCipher'); + $mime = $file->getAttribute('mimeType'); + if (!\in_array($mime, $inputs) || $file->getAttribute('sizeActual') > (int) System::getEnv('_APP_STORAGE_PREVIEW_LIMIT', APP_STORAGE_READ_BUFFER)) { + if (!\in_array($mime, $inputs)) { + $path = (\array_key_exists($mime, $fileLogos)) ? $fileLogos[$mime] : $fileLogos['default']; + } else { + // it was an image but the file size exceeded the limit + $path = $fileLogos['default_image']; + } + + $algorithm = Compression::NONE; + $cipher = null; + $background = (empty($background)) ? 'eceff1' : $background; + $type = \strtolower(\pathinfo($path, PATHINFO_EXTENSION)); + $deviceForFiles = $deviceForLocal; + } + + if (!$deviceForFiles->exists($path)) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + if (empty($output)) { + // when file extension is provided but it's not one of our + // supported outputs we fallback to `jpg` + if (!empty($type) && !array_key_exists($type, $outputs)) { + $type = 'jpg'; + } + + // when file extension is not provided and the mime type is not one of our supported outputs + // we fallback to `jpg` output format + $output = empty($type) ? (array_search($mime, $outputs) ?? 'jpg') : $type; + } + + $startTime = \microtime(true); + + $source = $deviceForFiles->read($path); + + $downloadTime = \microtime(true) - $startTime; + + if (!empty($cipher)) { // Decrypt + $source = OpenSSL::decrypt( + $source, + $file->getAttribute('openSSLCipher'), + System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), + 0, + \hex2bin($file->getAttribute('openSSLIV')), + \hex2bin($file->getAttribute('openSSLTag')) + ); + } + + $decryptionTime = \microtime(true) - $startTime - $downloadTime; + + switch ($algorithm) { + case Compression::ZSTD: + $compressor = new Zstd(); + $source = $compressor->decompress($source); + break; + case Compression::GZIP: + $compressor = new GZIP(); + $source = $compressor->decompress($source); + break; + } + + $decompressionTime = \microtime(true) - $startTime - $downloadTime - $decryptionTime; + + try { + $image = new Image($source); + } catch (\Exception $e) { + throw new Exception(Exception::STORAGE_FILE_TYPE_UNSUPPORTED, $e->getMessage()); + } + + $image->crop((int) $width, (int) $height, $gravity); + + if (!empty($opacity) || $opacity === 0) { + $image->setOpacity($opacity); + } + + if (!empty($background)) { + $image->setBackground('#' . $background); + } + + if (!empty($borderWidth)) { + $image->setBorder($borderWidth, '#' . $borderColor); + } + + if (!empty($borderRadius)) { + $image->setBorderRadius($borderRadius); + } + + if (!empty($rotation)) { + $image->setRotation(($rotation + 360) % 360); + } + + $data = $image->output($output, $quality); + + $renderingTime = \microtime(true) - $startTime - $downloadTime - $decryptionTime - $decompressionTime; + + $totalTime = \microtime(true) - $startTime; + + Console::info("File preview rendered,project=" . $project->getId() . ",bucket=" . $bucketId . ",file=" . $file->getId() . ",uri=" . $request->getURI() . ",total=" . $totalTime . ",rendering=" . $renderingTime . ",decryption=" . $decryptionTime . ",decompression=" . $decompressionTime . ",download=" . $downloadTime); + + $contentType = (\array_key_exists($output, $outputs)) ? $outputs[$output] : $outputs['jpg']; + + //Do not update transformedAt if it's a console user + if (!User::isPrivileged(Authorization::getRoles())) { + $transformedAt = $file->getAttribute('transformedAt', ''); + if (DateTime::formatTz(DateTime::addSeconds(new \DateTime(), -APP_PROJECT_ACCESS)) > $transformedAt) { + $file->setAttribute('transformedAt', DateTime::now()); + Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $file->getAttribute('bucketInternalId'), $file->getId(), $file)); + } + } + + $response + ->addHeader('Cache-Control', 'private, max-age=2592000') // 30 days + ->setContentType($contentType) + ->file($data); + + unset($image); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Push/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Push/Get.php new file mode 100644 index 0000000000..67372435b1 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Push/Get.php @@ -0,0 +1,207 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId/push') + ->desc('Get file for push notification') + ->groups(['api', 'storage']) + ->label('scope', 'public') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->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) + ->inject('response') + ->inject('request') + ->inject('dbForProject') + ->inject('dbForPlatform') + ->inject('project') + ->inject('mode') + ->inject('deviceForFiles') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + string $jwt, + Response $response, + Request $request, + Database $dbForProject, + Database $dbForPlatform, + Document $project, + string $mode, + Device $deviceForFiles + ) { + $decoder = new JWT(System::getEnv('_APP_OPENSSL_KEY_V1'), 'HS256', 3600, 0); + + try { + $decoded = $decoder->decode($jwt); + } catch (JWTException) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ( + $decoded['projectId'] !== $project->getId() || + $decoded['bucketId'] !== $bucketId || + $decoded['fileId'] !== $fileId + ) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + $isInternal = $decoded['internal'] ?? false; + $disposition = $decoded['disposition'] ?? 'inline'; + $dbForProject = $isInternal ? $dbForPlatform : $dbForProject; + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + $mimes = Config::getParam('storage-mimes'); + + $path = $file->getAttribute('path', ''); + + if (!$deviceForFiles->exists($path)) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); + } + + $contentType = 'text/plain'; + + if (\in_array($file->getAttribute('mimeType'), $mimes)) { + $contentType = $file->getAttribute('mimeType'); + } + + $size = $file->getAttribute('sizeOriginal', 0); + + $rangeHeader = $request->getHeader('range'); + if (!empty($rangeHeader)) { + $start = $request->getRangeStart(); + $end = $request->getRangeEnd(); + $unit = $request->getRangeUnit(); + + if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { + $end = min(($start + APP_STORAGE_READ_BUFFER - 1), ($size - 1)); + } + + if ($unit != 'bytes' || $start >= $end || $end >= $size) { + throw new Exception(Exception::STORAGE_INVALID_RANGE); + } + + $response + ->addHeader('Accept-Ranges', 'bytes') + ->addHeader('Content-Range', "bytes $start-$end/$size") + ->addHeader('Content-Length', $end - $start + 1) + ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); + } + + $response + ->setContentType($contentType) + ->addHeader('Content-Security-Policy', 'script-src none;') + ->addHeader('X-Content-Type-Options', 'nosniff') + ->addHeader('Content-Disposition', $disposition . '; filename="' . $file->getAttribute('name', '') . '"') + ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days + ->addHeader('X-Peak', \memory_get_peak_usage()); + + $source = ''; + if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt + $source = $deviceForFiles->read($path); + $source = OpenSSL::decrypt( + $source, + $file->getAttribute('openSSLCipher'), + System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), + 0, + \hex2bin($file->getAttribute('openSSLIV')), + \hex2bin($file->getAttribute('openSSLTag')) + ); + } + + switch ($file->getAttribute('algorithm', Compression::NONE)) { + case Compression::ZSTD: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new Zstd(); + $source = $compressor->decompress($source); + break; + case Compression::GZIP: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new GZIP(); + $source = $compressor->decompress($source); + break; + } + + if (!empty($source)) { + if (!empty($rangeHeader)) { + $response->send(substr($source, $start, ($end - $start + 1))); + return; + } + $response->send($source); + return; + } + + if (!empty($rangeHeader)) { + $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); + return; + } + + $size = $deviceForFiles->getFileSize($path); + if ($size > APP_STORAGE_READ_BUFFER) { + for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { + $response->chunk( + $deviceForFiles->read( + $path, + ($i * MAX_OUTPUT_CHUNK_SIZE), + min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) + ), + (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size + ); + } + } else { + $response->send($deviceForFiles->read($path)); + } + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Update.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Update.php new file mode 100644 index 0000000000..be78cc358b --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/Update.php @@ -0,0 +1,156 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_PUT) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId') + ->desc('Update file') + ->groups(['api', 'storage']) + ->label('scope', 'files.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('event', 'buckets.[bucketId].files.[fileId].update') + ->label('audits.event', 'file.update') + ->label('audits.resource', 'file/{response.$id}') + ->label('sdk', new Method( + namespace: 'storage', + group: 'files', + name: 'updateFile', + description: '/docs/references/storage/update-file.md', + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_FILE, + ) + ] + )) + ->param('bucketId', '', new UID(), 'Bucket unique ID.') + ->param('fileId', '', new UID(), 'File ID.') + ->param('name', null, new Text(128), 'File name.', true) + ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) + ->inject('response') + ->inject('dbForProject') + ->inject('queueForEvents') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + ?string $name, + ?array $permissions, + Response $response, + Database $dbForProject, + Event $queueForEvents + ) { + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_UPDATE); + $valid = $validator->isValid($bucket->getUpdate()); + if (!$fileSecurity && !$valid) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + // Read permission should not be required for update + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + // Map aggregate permissions into the multiple permissions they represent. + $permissions = Permission::aggregate($permissions, [ + Database::PERMISSION_READ, + Database::PERMISSION_UPDATE, + Database::PERMISSION_DELETE, + ]); + + // Users can only manage their own roles, API keys and Admin users can manage any + $roles = Authorization::getRoles(); + if (!User::isApp($roles) && !User::isPrivileged($roles) && !\is_null($permissions)) { + foreach (Database::PERMISSIONS as $type) { + foreach ($permissions as $permission) { + $permission = Permission::parse($permission); + if ($permission->getPermission() != $type) { + continue; + } + $role = (new Role( + $permission->getRole(), + $permission->getIdentifier(), + $permission->getDimension() + ))->toString(); + if (!Authorization::isRole($role)) { + throw new Exception(Exception::USER_UNAUTHORIZED, 'Permissions must be one of: (' . \implode(', ', $roles) . ')'); + } + } + } + } + + if (\is_null($permissions)) { + $permissions = $file->getPermissions() ?? []; + } + + $file->setAttribute('$permissions', $permissions); + + if (!is_null($name)) { + $file->setAttribute('name', $name); + } + + try { + if ($fileSecurity && !$valid) { + $file = $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file); + } else { + $file = Authorization::skip(fn () => $dbForProject->updateDocument('bucket_' . $bucket->getSequence(), $fileId, $file)); + } + } catch (NotFoundException) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $queueForEvents + ->setParam('bucketId', $bucket->getId()) + ->setParam('fileId', $file->getId()) + ->setContext('bucket', $bucket) + ; + + $response->dynamic($file, Response::MODEL_FILE); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/View/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/View/Get.php new file mode 100644 index 0000000000..41ee95b165 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/View/Get.php @@ -0,0 +1,225 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files/:fileId/view') + ->desc('Get file for view') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->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::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_NONE, + ) + ], + contentType: ContentType::ANY, + type: 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.') + // NOTE: this is only for the sdk generator and is not used in the action below and is utilised in `resources.php` for `resourceToken`. + ->param('token', '', new Text(512), 'File token for accessing this file.', true) + ->inject('response') + ->inject('request') + ->inject('dbForProject') + ->inject('mode') + ->inject('resourceToken') + ->inject('deviceForFiles') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $fileId, + ?string $token, + Response $response, + Request $request, + Database $dbForProject, + string $mode, + Document $resourceToken, + Device $deviceForFiles + ) { + /* @type Document $bucket */ + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $isToken = !$resourceToken->isEmpty() && $resourceToken->getAttribute('bucketInternalId') === $bucket->getSequence(); + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(Database::PERMISSION_READ); + $valid = $validator->isValid($bucket->getRead()); + if (!$fileSecurity && !$valid && !$isToken) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($fileSecurity && !$valid && !$isToken) { + $file = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + /* @type Document $file */ + $file = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + + if (!$resourceToken->isEmpty() && $resourceToken->getAttribute('fileInternalId') !== $file->getSequence()) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + if ($file->isEmpty()) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); + } + + $mimes = Config::getParam('storage-mimes'); + + $path = $file->getAttribute('path', ''); + + if (!$deviceForFiles->exists($path)) { + throw new Exception(Exception::STORAGE_FILE_NOT_FOUND, 'File not found in ' . $path); + } + + $contentType = 'text/plain'; + + if (\in_array($file->getAttribute('mimeType'), $mimes)) { + $contentType = $file->getAttribute('mimeType'); + } + + $size = $file->getAttribute('sizeOriginal', 0); + + $rangeHeader = $request->getHeader('range'); + if (!empty($rangeHeader)) { + $start = $request->getRangeStart(); + $end = $request->getRangeEnd(); + $unit = $request->getRangeUnit(); + + if ($end === null || $end - $start > APP_STORAGE_READ_BUFFER) { + $end = min(($start + APP_STORAGE_READ_BUFFER - 1), ($size - 1)); + } + + if ($unit != 'bytes' || $start >= $end || $end >= $size) { + throw new Exception(Exception::STORAGE_INVALID_RANGE); + } + + $response + ->addHeader('Accept-Ranges', 'bytes') + ->addHeader('Content-Range', "bytes $start-$end/$size") + ->addHeader('Content-Length', $end - $start + 1) + ->setStatusCode(Response::STATUS_CODE_PARTIALCONTENT); + } + + $response + ->setContentType($contentType) + ->addHeader('Content-Security-Policy', 'script-src none;') + ->addHeader('X-Content-Type-Options', 'nosniff') + ->addHeader('Content-Disposition', 'inline; filename="' . $file->getAttribute('name', '') . '"') + ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days + ->addHeader('X-Peak', \memory_get_peak_usage()) + ; + + $source = ''; + if (!empty($file->getAttribute('openSSLCipher'))) { // Decrypt + $source = $deviceForFiles->read($path); + $source = OpenSSL::decrypt( + $source, + $file->getAttribute('openSSLCipher'), + System::getEnv('_APP_OPENSSL_KEY_V' . $file->getAttribute('openSSLVersion')), + 0, + \hex2bin($file->getAttribute('openSSLIV')), + \hex2bin($file->getAttribute('openSSLTag')) + ); + } + + switch ($file->getAttribute('algorithm', Compression::NONE)) { + case Compression::ZSTD: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new Zstd(); + $source = $compressor->decompress($source); + break; + case Compression::GZIP: + if (empty($source)) { + $source = $deviceForFiles->read($path); + } + $compressor = new GZIP(); + $source = $compressor->decompress($source); + break; + } + + if (!empty($source)) { + if (!empty($rangeHeader)) { + $response->send(substr($source, $start, ($end - $start + 1))); + return; + } + $response->send($source); + return; + } + + if (!empty($rangeHeader)) { + $response->send($deviceForFiles->read($path, $start, ($end - $start + 1))); + return; + } + + $size = $deviceForFiles->getFileSize($path); + if ($size > APP_STORAGE_READ_BUFFER) { + for ($i = 0; $i < ceil($size / MAX_OUTPUT_CHUNK_SIZE); $i++) { + $response->chunk( + $deviceForFiles->read( + $path, + ($i * MAX_OUTPUT_CHUNK_SIZE), + min(MAX_OUTPUT_CHUNK_SIZE, $size - ($i * MAX_OUTPUT_CHUNK_SIZE)) + ), + (($i + 1) * MAX_OUTPUT_CHUNK_SIZE) >= $size + ); + } + } else { + $response->send($deviceForFiles->read($path)); + } + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/XList.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/XList.php new file mode 100644 index 0000000000..e46fdb2a0a --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Files/XList.php @@ -0,0 +1,155 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId/files') + ->desc('List files') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('sdk', new Method( + namespace: 'storage', + group: 'files', + name: 'listFiles', + description: '/docs/references/storage/list-files.md', + auth: [AuthType::ADMIN, AuthType::SESSION, AuthType::KEY, AuthType::JWT], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_FILE_LIST, + ) + ] + )) + ->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('queries', [], new Files(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Files::ALLOWED_ATTRIBUTES), true) + ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) + ->param('total', true, new Boolean(true), 'When set to false, the total count returned will be 0 and will not be calculated.', true) + ->inject('response') + ->inject('dbForProject') + ->inject('mode') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + array $queries, + string $search, + bool $includeTotal, + Response $response, + Database $dbForProject, + string $mode + ) { + $bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId)); + + $isAPIKey = User::isApp(Authorization::getRoles()); + $isPrivilegedUser = User::isPrivileged(Authorization::getRoles()); + + if ($bucket->isEmpty() || (!$bucket->getAttribute('enabled') && !$isAPIKey && !$isPrivilegedUser)) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $fileSecurity = $bucket->getAttribute('fileSecurity', false); + $validator = new Authorization(\Utopia\Database\Database::PERMISSION_READ); + $valid = $validator->isValid($bucket->getRead()); + if (!$fileSecurity && !$valid) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } + + try { + $queries = Query::parseQueries($queries); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + + if (!empty($search)) { + $queries[] = Query::search('search', $search); + } + + /** + * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries + */ + $cursor = \array_filter($queries, function ($query) { + return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); + }); + $cursor = reset($cursor); + if ($cursor) { + /** @var Query $cursor */ + + $validator = new Cursor(); + if (!$validator->isValid($cursor)) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); + } + + $fileId = $cursor->getValue(); + + if ($fileSecurity && !$valid) { + $cursorDocument = $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId); + } else { + $cursorDocument = Authorization::skip(fn () => $dbForProject->getDocument('bucket_' . $bucket->getSequence(), $fileId)); + } + + if ($cursorDocument->isEmpty()) { + throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "File '{$fileId}' for the 'cursor' value not found."); + } + + $cursor->setValue($cursorDocument); + } + + $filterQueries = Query::groupByType($queries)['filters']; + + try { + if ($fileSecurity && !$valid) { + $files = $dbForProject->find('bucket_' . $bucket->getSequence(), $queries); + $total = $includeTotal ? $dbForProject->count('bucket_' . $bucket->getSequence(), $filterQueries, APP_LIMIT_COUNT) : 0; + } else { + $files = Authorization::skip(fn () => $dbForProject->find('bucket_' . $bucket->getSequence(), $queries)); + $total = $includeTotal ? Authorization::skip(fn () => $dbForProject->count('bucket_' . $bucket->getSequence(), $filterQueries, APP_LIMIT_COUNT)) : 0; + } + } 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."); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + + $response->dynamic(new Document([ + 'files' => $files, + 'total' => $total, + ]), Response::MODEL_FILE_LIST); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php new file mode 100644 index 0000000000..dd14feef6e --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php @@ -0,0 +1,65 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets/:bucketId') + ->desc('Get bucket') + ->groups(['api', 'storage']) + ->label('scope', 'buckets.read') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('sdk', new Method( + namespace: 'storage', + group: 'buckets', + name: 'getBucket', + description: '/docs/references/storage/get-bucket.md', + auth: [AuthType::ADMIN, AuthType::KEY], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_BUCKET, + ) + ] + )) + ->param('bucketId', '', new UID(), 'Bucket unique ID.') + ->inject('response') + ->inject('dbForProject') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + Response $response, + Database $dbForProject + ) { + $bucket = $dbForProject->getDocument('buckets', $bucketId); + + if ($bucket->isEmpty()) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $response->dynamic($bucket, Response::MODEL_BUCKET); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Update.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Update.php new file mode 100644 index 0000000000..44f0192fb4 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Update.php @@ -0,0 +1,131 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_PUT) + ->setHttpPath('/v1/storage/buckets/:bucketId') + ->desc('Update bucket') + ->groups(['api', 'storage']) + ->label('scope', 'buckets.write') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('event', 'buckets.[bucketId].update') + ->label('audits.event', 'bucket.update') + ->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::ADMIN, AuthType::KEY], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_BUCKET, + ) + ] + )) + ->param('bucketId', '', new UID(), 'Bucket unique ID.') + ->param('name', null, new Text(128), 'Bucket name', false) + ->param('permissions', null, new Nullable(new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE)), 'An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) + ->param('fileSecurity', false, new Boolean(true), '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).', true) + ->param('enabled', true, new Boolean(true), '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.', true) + ->param('maximumFileSize', fn (array $plan) => empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000, fn (array $plan) => new Range(1, empty($plan['fileSize']) ? (int) System::getEnv('_APP_STORAGE_LIMIT', 0) : $plan['fileSize'] * 1000 * 1000), 'Maximum file size allowed in bytes. Maximum allowed value is ' . Storage::human(System::getEnv('_APP_STORAGE_LIMIT', 0), 0) . '.', true, ['plan']) + ->param('allowedFileExtensions', [], new ArrayList(new Text(64), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Allowed file extensions. Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' extensions are allowed, each 64 characters long.', true) + ->param('compression', Compression::NONE, new WhiteList([Compression::NONE, Compression::GZIP, Compression::ZSTD], true), 'Compression algorithm choosen for compression. Can be one of ' . Compression::NONE . ', [' . Compression::GZIP . '](https://en.wikipedia.org/wiki/Gzip), or [' . Compression::ZSTD . '](https://en.wikipedia.org/wiki/Zstd), For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' compression is skipped even if it\'s enabled', true) + ->param('encryption', true, new Boolean(true), 'Is encryption enabled? For file size above ' . Storage::human(APP_STORAGE_READ_BUFFER, 0) . ' encryption is skipped even if it\'s enabled', true) + ->param('antivirus', true, new Boolean(true), 'Is virus scanning enabled? For file size above ' . Storage::human(APP_LIMIT_ANTIVIRUS, 0) . ' AntiVirus scanning is skipped even if it\'s enabled', true) + ->param('transformations', true, new Boolean(true), 'Are image transformations enabled?', true) + ->inject('response') + ->inject('dbForProject') + ->inject('queueForEvents') + ->callback($this->action(...)); + } + + public function action( + string $bucketId, + string $name, + ?array $permissions, + bool $fileSecurity, + bool $enabled, + ?int $maximumFileSize, + array $allowedFileExtensions, + ?string $compression, + ?bool $encryption, + bool $antivirus, + bool $transformations, + Response $response, + Database $dbForProject, + Event $queueForEvents + ) { + $bucket = $dbForProject->getDocument('buckets', $bucketId); + + if ($bucket->isEmpty()) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $permissions ??= $bucket->getPermissions(); + $maximumFileSize ??= $bucket->getAttribute('maximumFileSize', (int) System::getEnv('_APP_STORAGE_LIMIT', 0)); + $allowedFileExtensions ??= $bucket->getAttribute('allowedFileExtensions', []); + $enabled ??= $bucket->getAttribute('enabled', true); + $encryption ??= $bucket->getAttribute('encryption', true); + $antivirus ??= $bucket->getAttribute('antivirus', true); + $compression ??= $bucket->getAttribute('compression', Compression::NONE); + $transformations ??= $bucket->getAttribute('transformations', true); + + // Map aggregate permissions into the multiple permissions they represent. + $permissions = Permission::aggregate($permissions); + + $bucket = $dbForProject->updateDocument('buckets', $bucket->getId(), $bucket + ->setAttribute('name', $name) + ->setAttribute('$permissions', $permissions) + ->setAttribute('maximumFileSize', $maximumFileSize) + ->setAttribute('allowedFileExtensions', $allowedFileExtensions) + ->setAttribute('fileSecurity', $fileSecurity) + ->setAttribute('enabled', $enabled) + ->setAttribute('encryption', $encryption) + ->setAttribute('compression', $compression) + ->setAttribute('antivirus', $antivirus) + ->setAttribute('transformations', $transformations)); + + $dbForProject->updateCollection('bucket_' . $bucket->getSequence(), $permissions, $fileSecurity); + + $queueForEvents + ->setParam('bucketId', $bucket->getId()); + + $response->dynamic($bucket, Response::MODEL_BUCKET); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php new file mode 100644 index 0000000000..74f12852be --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php @@ -0,0 +1,117 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/buckets') + ->desc('List buckets') + ->groups(['api', 'storage']) + ->label('scope', 'buckets.read') + ->label('resourceType', RESOURCE_TYPE_BUCKETS) + ->label('sdk', new Method( + namespace: 'storage', + group: 'buckets', + name: 'listBuckets', + description: '/docs/references/storage/list-buckets.md', + auth: [AuthType::ADMIN, AuthType::KEY], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_BUCKET_LIST, + ) + ] + )) + ->param('queries', [], new Buckets(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Buckets::ALLOWED_ATTRIBUTES), true) + ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) + ->param('total', true, new Boolean(true), 'When set to false, the total count returned will be 0 and will not be calculated.', true) + ->inject('response') + ->inject('dbForProject') + ->callback($this->action(...)); + } + + public function action( + array $queries, + string $search, + bool $includeTotal, + Response $response, + Database $dbForProject + ) { + try { + $queries = Query::parseQueries($queries); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + + if (!empty($search)) { + $queries[] = Query::search('search', $search); + } + + /** + * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries + */ + $cursor = \array_filter($queries, function ($query) { + return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); + }); + $cursor = reset($cursor); + if ($cursor) { + /** @var Query $cursor */ + + $validator = new Cursor(); + if (!$validator->isValid($cursor)) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); + } + + $bucketId = $cursor->getValue(); + $cursorDocument = $dbForProject->getDocument('buckets', $bucketId); + + if ($cursorDocument->isEmpty()) { + throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Bucket '{$bucketId}' for the 'cursor' value not found."); + } + + $cursor->setValue($cursorDocument); + } + + $filterQueries = Query::groupByType($queries)['filters']; + try { + $buckets = $dbForProject->find('buckets', $queries); + $total = $includeTotal ? $dbForProject->count('buckets', $filterQueries, APP_LIMIT_COUNT) : 0; + } 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."); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + $response->dynamic(new Document([ + 'buckets' => $buckets, + 'total' => $total, + ]), Response::MODEL_BUCKET_LIST); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Usage/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Usage/Get.php new file mode 100644 index 0000000000..b816e83f72 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Usage/Get.php @@ -0,0 +1,137 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/:bucketId/usage') + ->desc('Get bucket usage stats') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->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], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_USAGE_BUCKETS, + ) + ] + )) + ->param('bucketId', '', new UID(), 'Bucket ID.') + ->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true) + ->inject('response') + ->inject('project') + ->inject('dbForProject') + ->inject('getLogsDB') + ->callback($this->action(...)); + } + + public function action(string $bucketId, string $range, Response $response, Document $project, Database $dbForProject, callable $getLogsDB) + { + $dbForLogs = call_user_func($getLogsDB, $project); + $bucket = $dbForProject->getDocument('buckets', $bucketId); + + if ($bucket->isEmpty()) { + throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } + + $periods = Config::getParam('usage', []); + $stats = $usage = []; + $days = $periods[$range]; + $metrics = [ + str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES), + str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_STORAGE), + str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_IMAGES_TRANSFORMED), + ]; + + Authorization::skip(function () use ($dbForProject, $dbForLogs, $bucket, $days, $metrics, &$stats) { + foreach ($metrics as $metric) { + $db = ($metric === str_replace('{bucketInternalId}', $bucket->getSequence(), METRIC_BUCKET_ID_FILES_IMAGES_TRANSFORMED)) + ? $dbForLogs + : $dbForProject; + + $result = $db->findOne('stats', [ + Query::equal('metric', [$metric]), + Query::equal('period', ['inf']) + ]); + + $stats[$metric]['total'] = $result['value'] ?? 0; + $limit = $days['limit']; + $period = $days['period']; + $results = $db->find('stats', [ + Query::equal('metric', [$metric]), + Query::equal('period', [$period]), + Query::limit($limit), + Query::orderDesc('time'), + ]); + $stats[$metric]['data'] = []; + foreach ($results as $result) { + $stats[$metric]['data'][$result->getAttribute('time')] = [ + 'value' => $result->getAttribute('value'), + ]; + } + } + }); + + + $format = match ($days['period']) { + '1h' => 'Y-m-d\\TH:00:00.000P', + '1d' => 'Y-m-d\\T00:00:00.000P', + }; + + foreach ($metrics as $metric) { + $usage[$metric]['total'] = $stats[$metric]['total']; + $usage[$metric]['data'] = []; + $leap = time() - ($days['limit'] * $days['factor']); + while ($leap < time()) { + $leap += $days['factor']; + $formatDate = date($format, $leap); + $usage[$metric]['data'][] = [ + 'value' => $stats[$metric]['data'][$formatDate]['value'] ?? 0, + 'date' => $formatDate, + ]; + } + } + + $response->dynamic(new Document([ + 'range' => $range, + 'filesTotal' => $usage[$metrics[0]]['total'], + 'filesStorageTotal' => $usage[$metrics[1]]['total'], + 'files' => $usage[$metrics[0]]['data'], + 'storage' => $usage[$metrics[1]]['data'], + 'imageTransformations' => $usage[$metrics[2]]['data'], + 'imageTransformationsTotal' => $usage[$metrics[2]]['total'], + ]), Response::MODEL_USAGE_BUCKETS); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Usage/XList.php b/src/Appwrite/Platform/Modules/Storage/Http/Usage/XList.php new file mode 100644 index 0000000000..d29fa7c1b4 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Http/Usage/XList.php @@ -0,0 +1,120 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/storage/usage') + ->desc('Get storage usage stats') + ->groups(['api', 'storage']) + ->label('scope', 'files.read') + ->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], + responses: [ + new SDKResponse( + code: Response::STATUS_CODE_OK, + model: Response::MODEL_USAGE_STORAGE, + ) + ] + )) + ->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true) + ->inject('response') + ->inject('dbForProject') + ->callback($this->action(...)); + } + + public function action(string $range, Response $response, Database $dbForProject) + { + $periods = Config::getParam('usage', []); + $stats = $usage = []; + $days = $periods[$range]; + $metrics = [ + METRIC_BUCKETS, + METRIC_FILES, + METRIC_FILES_STORAGE, + ]; + + Authorization::skip(function () use ($dbForProject, $days, $metrics, &$stats) { + foreach ($metrics as $metric) { + $result = $dbForProject->findOne('stats', [ + Query::equal('metric', [$metric]), + Query::equal('period', ['inf']) + ]); + + $stats[$metric]['total'] = $result['value'] ?? 0; + $limit = $days['limit']; + $period = $days['period']; + $results = $dbForProject->find('stats', [ + Query::equal('metric', [$metric]), + Query::equal('period', [$period]), + Query::limit($limit), + Query::orderDesc('time'), + ]); + $stats[$metric]['data'] = []; + foreach ($results as $result) { + $stats[$metric]['data'][$result->getAttribute('time')] = [ + 'value' => $result->getAttribute('value'), + ]; + } + } + }); + + $format = match ($days['period']) { + '1h' => 'Y-m-d\\TH:00:00.000P', + '1d' => 'Y-m-d\\T00:00:00.000P', + }; + + foreach ($metrics as $metric) { + $usage[$metric]['total'] = $stats[$metric]['total']; + $usage[$metric]['data'] = []; + $leap = time() - ($days['limit'] * $days['factor']); + while ($leap < time()) { + $leap += $days['factor']; + $formatDate = date($format, $leap); + $usage[$metric]['data'][] = [ + 'value' => $stats[$metric]['data'][$formatDate]['value'] ?? 0, + 'date' => $formatDate, + ]; + } + } + + $response->dynamic(new Document([ + 'range' => $range, + 'bucketsTotal' => $usage[$metrics[0]]['total'], + 'filesTotal' => $usage[$metrics[1]]['total'], + 'filesStorageTotal' => $usage[$metrics[2]]['total'], + 'buckets' => $usage[$metrics[0]]['data'], + 'files' => $usage[$metrics[1]]['data'], + 'storage' => $usage[$metrics[2]]['data'], + ]), Response::MODEL_USAGE_STORAGE); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Module.php b/src/Appwrite/Platform/Modules/Storage/Module.php new file mode 100644 index 0000000000..59eb9e87a6 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Module.php @@ -0,0 +1,14 @@ +addService('http', new Http()); + } +} diff --git a/src/Appwrite/Platform/Modules/Storage/Services/Http.php b/src/Appwrite/Platform/Modules/Storage/Services/Http.php new file mode 100644 index 0000000000..95fe160f8b --- /dev/null +++ b/src/Appwrite/Platform/Modules/Storage/Services/Http.php @@ -0,0 +1,51 @@ +type = Service::TYPE_HTTP; + + // Buckets + $this->addAction(CreateBucket::getName(), new CreateBucket()); + $this->addAction(GetBucket::getName(), new GetBucket()); + $this->addAction(ListBuckets::getName(), new ListBuckets()); + $this->addAction(UpdateBucket::getName(), new UpdateBucket()); + $this->addAction(DeleteBucket::getName(), new DeleteBucket()); + + // Files + $this->addAction(CreateFile::getName(), new CreateFile()); + $this->addAction(GetFile::getName(), new GetFile()); + $this->addAction(ListFiles::getName(), new ListFiles()); + $this->addAction(UpdateFile::getName(), new UpdateFile()); + $this->addAction(DeleteFile::getName(), new DeleteFile()); + $this->addAction(GetFilePreview::getName(), new GetFilePreview()); + $this->addAction(GetFileDownload::getName(), new GetFileDownload()); + $this->addAction(GetFileView::getName(), new GetFileView()); + $this->addAction(GetFileForPush::getName(), new GetFileForPush()); + + // Usage + $this->addAction(ListUsage::getName(), new ListUsage()); + $this->addAction(GetBucketUsage::getName(), new GetBucketUsage()); + } +} diff --git a/src/Appwrite/Platform/Services/Tasks.php b/src/Appwrite/Platform/Services/Tasks.php index 3ada193cf7..941530d7ed 100644 --- a/src/Appwrite/Platform/Services/Tasks.php +++ b/src/Appwrite/Platform/Services/Tasks.php @@ -4,6 +4,7 @@ namespace Appwrite\Platform\Services; use Appwrite\Platform\Tasks\Doctor; use Appwrite\Platform\Tasks\Install; +use Appwrite\Platform\Tasks\Interval; use Appwrite\Platform\Tasks\Maintenance; use Appwrite\Platform\Tasks\Migrate; use Appwrite\Platform\Tasks\QueueRetry; @@ -28,6 +29,7 @@ class Tasks extends Service $this ->addAction(Doctor::getName(), new Doctor()) ->addAction(Install::getName(), new Install()) + ->addAction(Interval::getName(), new Interval()) ->addAction(Maintenance::getName(), new Maintenance()) ->addAction(Migrate::getName(), new Migrate()) ->addAction(QueueRetry::getName(), new QueueRetry()) diff --git a/src/Appwrite/Platform/Tasks/Interval.php b/src/Appwrite/Platform/Tasks/Interval.php new file mode 100644 index 0000000000..9d3d782501 --- /dev/null +++ b/src/Appwrite/Platform/Tasks/Interval.php @@ -0,0 +1,75 @@ +desc('Schedules tasks on regular intervals by publishing them to our queues') + ->inject('dbForPlatform') + ->inject('queueForCertificates') + ->callback($this->action(...)); + } + + public function action(Database $dbForPlatform, Certificate $queueForCertificates): void + { + Console::title('Interval V1'); + Console::success(APP_NAME . ' interval process v1 has started'); + + $intervalDomainVerification = (int) System::getEnv('_APP_INTERVAL_DOMAIN_VERIFICATION', '60'); // 1 minute + + \go(function () use ($dbForPlatform, $queueForCertificates, $intervalDomainVerification) { + Console::loop(function () use ($dbForPlatform, $queueForCertificates) { + $this->verifyDomain($dbForPlatform, $queueForCertificates); + }, $intervalDomainVerification); + }); + } + + private function verifyDomain(Database $dbForPlatform, Certificate $queueForCertificates): void + { + $time = DatabaseDateTime::now(); + $fromTime = new DateTime('-3 days'); // Max 3 days old + + $rules = $dbForPlatform->find('rules', [ + Query::createdAfter(DatabaseDateTime::format($fromTime)), + Query::equal('status', [RULE_STATUS_CREATED]), // Created but not verified yet + Query::orderAsc('$updatedAt'), // Pick the ones waiting for another attempt for longest + Query::equal('region', [System::getEnv('_APP_REGION', 'default')]), // Only current region + Query::limit(30), // Reasonable pagination limit, processable within a minute + ]); + + if (\count($rules) === 0) { + Console::info("[{$time}] No rules for domain verification."); + return; // No rules to verify + } + + Console::info("[{$time}] Found " . \count($rules) . " rules for domain verification, scheduling jobs."); + + foreach ($rules as $rule) { + $queueForCertificates + ->setDomain(new Document([ + 'domain' => $rule->getAttribute('domain'), + 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), + ])) + ->setAction(Certificate::ACTION_DOMAIN_VERIFICATION) + ->trigger(); + } + } +} diff --git a/src/Appwrite/Platform/Tasks/Maintenance.php b/src/Appwrite/Platform/Tasks/Maintenance.php index 9c88bc4d4e..c0914c6544 100644 --- a/src/Appwrite/Platform/Tasks/Maintenance.php +++ b/src/Appwrite/Platform/Tasks/Maintenance.php @@ -125,33 +125,36 @@ class Maintenance extends Action Query::limit(200), // Limit 200 comes from LetsEncrypt (300 orders per 3 hours, keeping some for new domains) ]); + if (\count($certificates) === 0) { + Console::info("[{$time}] No certificates for renewal."); + return; + } - if (\count($certificates) > 0) { - Console::info("[{$time}] Found " . \count($certificates) . " certificates for renewal, scheduling jobs."); + Console::info("[{$time}] Found " . \count($certificates) . " certificates for renewal, scheduling jobs."); - // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; + $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; + $appRegion = System::getEnv('_APP_REGION', 'default'); - foreach ($certificates as $certificate) { - $domain = $certificate->getAttribute('domain'); - $rule = $isMd5 - ? $dbForPlatform->getDocument('rules', md5($domain)) - : $dbForPlatform->findOne('rules', [ + foreach ($certificates as $certificate) { + $domain = $certificate->getAttribute('domain'); + $rule = $isMd5 ? + $dbForPlatform->getDocument('rules', md5($domain)) : + $dbForPlatform->findOne('rules', [ Query::equal('domain', [$domain]), + Query::limit(1) ]); - if ($rule->isEmpty() || $rule->getAttribute('region') !== System::getEnv('_APP_REGION', 'default')) { - continue; - } - - $queueForCertificate - ->setDomain(new Document([ - 'domain' => $certificate->getAttribute('domain') - ])) - ->trigger(); + if ($rule->isEmpty() || $rule->getAttribute('region') !== $appRegion) { + continue; } - } else { - Console::info("[{$time}] No certificates for renewal."); + + $queueForCertificate + ->setDomain(new Document([ + 'domain' => $rule->getAttribute('domain'), + 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), + ])) + ->setAction(Certificate::ACTION_GENERATION) + ->trigger(); } } diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index b1dcc522e6..96c502d6d2 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -36,6 +36,11 @@ class SDKs extends Action return 'sdks'; } + public static function getPlatforms(): array + { + return Specs::getPlatforms(); + } + public function __construct() { $this @@ -55,7 +60,7 @@ class SDKs extends Action public function action(?string $selectedPlatform, ?string $selectedSDK, ?string $version, ?string $git, ?string $production, ?string $message, ?string $release, ?string $commit, ?string $sdks): void { if (!$sdks) { - $selectedPlatform ??= Console::confirm('Choose Platform ("' . APP_PLATFORM_CLIENT . '", "' . APP_PLATFORM_SERVER . '", "' . APP_PLATFORM_CONSOLE . '" or "*" for all):'); + $selectedPlatform ??= Console::confirm('Choose Platform ("' . implode('", "', static::getPlatforms()) . '" or "*" for all):'); $selectedSDK ??= \strtolower(Console::confirm('Choose SDK ("*" for all):')); } else { $sdks = explode(',', $sdks); @@ -70,15 +75,10 @@ class SDKs extends Action $git = ($git === 'yes'); $prUrls = []; - $createPr = false; if ($git) { - $production ??= Console::confirm('Type "Appwrite" to push code to production git repos'); - $production = $production === 'Appwrite'; + $production = ($production === 'yes'); $message ??= Console::confirm('Please enter your commit message:'); - - $createPr = Console::confirm('Should we create pull request automatically? (yes/no)'); - $createPr = ($createPr === 'yes'); } } @@ -133,7 +133,7 @@ class SDKs extends Action $target = \realpath(__DIR__ . '/../../../../app') . '/sdks/git/' . $language['key'] . '/'; $readme = \realpath(__DIR__ . '/../../../../docs/sdks/' . $language['key'] . '/README.md'); $readme = ($readme) ? \file_get_contents($readme) : ''; - $gettingStarted = \realpath(__DIR__ . '/../../../../docs/sdks/' . $language['key'] . '/GETTING_STARTED.md'); + $gettingStarted = $language['gettingStarted'] ?? \realpath(__DIR__ . '/../../../../docs/sdks/' . $language['key'] . '/GETTING_STARTED.md'); $gettingStarted = ($gettingStarted) ? \file_get_contents($gettingStarted) : ''; $examples = \realpath(__DIR__ . '/../../../../docs/sdks/' . $language['key'] . '/EXAMPLES.md'); $examples = ($examples) ? \file_get_contents($examples) : ''; @@ -157,7 +157,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND switch ($language['key']) { case 'web': $config = new Web(); - if ($platform['key'] === APP_PLATFORM_CONSOLE) { + if ($platform['key'] === APP_SDK_PLATFORM_CONSOLE) { $config->setNPMPackage('@appwrite.io/console'); $config->setBowerPackage('@appwrite.io/console'); } else { @@ -188,8 +188,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND break; case 'php': $config = new PHP(); - $config->setComposerVendor('appwrite'); - $config->setComposerPackage('appwrite'); + $config->setComposerVendor($language['composerVendor'] ?? 'appwrite'); + $config->setComposerPackage($language['composerPackage'] ?? 'appwrite'); break; case 'nodejs': $config = new Node(); @@ -374,9 +374,9 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND $sdk ->setName($language['name']) - ->setNamespace('io appwrite') - ->setDescription("Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the {$language['name']} SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)") - ->setShortDescription('Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API') + ->setNamespace($language['namespace'] ?? 'appwrite') + ->setDescription($language['description'] ?? "Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the {$language['name']} SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)") + ->setShortDescription($language['shortDescription'] ?? 'Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API') ->setLicense($license) ->setLicenseContent($licenseContent) ->setVersion($language['version']) @@ -447,7 +447,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND '); Console::success("Pushed {$language['name']} SDK to {$gitUrl}"); - if ($createPr) { + if ($git) { $prTitle = "feat: {$language['name']} SDK update for version {$language['version']}"; $prBody = "This PR contains updates to the {$language['name']} SDK for version {$language['version']}."; diff --git a/src/Appwrite/Platform/Tasks/ScheduleBase.php b/src/Appwrite/Platform/Tasks/ScheduleBase.php index e9a0e1d333..9698fe9034 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleBase.php +++ b/src/Appwrite/Platform/Tasks/ScheduleBase.php @@ -7,7 +7,6 @@ use Utopia\CLI\Console; use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; -use Utopia\Database\Exception; use Utopia\Database\Query; use Utopia\Database\Validator\Authorization; use Utopia\Platform\Action; @@ -115,36 +114,7 @@ abstract class ScheduleBase extends Action private function collectSchedules(Database $dbForPlatform, callable $getProjectDB, string &$lastSyncUpdate, callable $isResourceBlocked): void { - // If we haven't synced yet, load all active schedules $initialLoad = $lastSyncUpdate === "0"; - - /** - * Extract only necessary attributes to lower memory used. - * - * @return array - * @throws Exception - * @var Document $schedule - */ - $getSchedule = function (Document $schedule) use ($dbForPlatform, $getProjectDB): array { - $project = $dbForPlatform->getDocument('projects', $schedule->getAttribute('projectId')); - - $resource = $getProjectDB($project)->getDocument( - static::getCollectionId(), - $schedule->getAttribute('resourceId') - ); - - return [ - '$sequence' => $schedule->getSequence(), - '$id' => $schedule->getId(), - 'resourceId' => $schedule->getAttribute('resourceId'), - 'schedule' => $schedule->getAttribute('schedule'), - 'active' => $schedule->getAttribute('active'), - 'resourceUpdatedAt' => $schedule->getAttribute('resourceUpdatedAt'), - 'project' => $project, // TODO: @Meldiron Send only ID to worker to reduce memory usage here - 'resource' => $resource, // TODO: @Meldiron Send only ID to worker to reduce memory usage here - ]; - }; - $loadStart = microtime(true); $time = DateTime::now(); @@ -152,6 +122,8 @@ abstract class ScheduleBase extends Action $sum = $limit; $total = 0; $latestDocument = null; + $updatedProjectIds = []; // Track project IDs from updated/new schedules + $updatedSequences = []; // Track sequences that need project/resource loading while ($sum === $limit) { $paginationQueries = [Query::limit($limit)]; @@ -186,40 +158,137 @@ abstract class ScheduleBase extends Action foreach ($schedules as $schedule) { $existing = $this->schedules[$schedule->getSequence()] ?? null; - $updated = strtotime($existing['resourceUpdatedAt'] ?? '0') !== strtotime($schedule['resourceUpdatedAt'] ?? '0'); + $updated = strtotime($existing['resourceUpdatedAt'] ?? '0') !== strtotime($schedule->getAttribute('resourceUpdatedAt') ?? '0'); if ($existing === null || $updated) { try { - $candidate = $getSchedule($schedule); + $candidate = [ + '$sequence' => $schedule->getSequence(), + '$id' => $schedule->getId(), + 'projectId' => $schedule->getAttribute('projectId'), + 'resourceId' => $schedule->getAttribute('resourceId'), + 'resourceType' => $schedule->getAttribute('resourceType'), + 'schedule' => $schedule->getAttribute('schedule'), + 'active' => $schedule->getAttribute('active'), + 'resourceUpdatedAt' => $schedule->getAttribute('resourceUpdatedAt'), + ]; } catch (\Throwable $th) { - Console::error("Failed to load schedule for project {$schedule['projectId']} {$collectionId} {$schedule['resourceId']}"); + Console::error("Failed to load schedule for project {$schedule->getAttribute('projectId')} {$collectionId} {$schedule->getAttribute('resourceId')}"); Console::error($th->getMessage()); continue; } - + // In case the resource is not active (deleted). if (!$candidate['active']) { + Console::error("Resource is not active: {$candidate['resourceType']}::{$candidate['resourceId']}"); unset($this->schedules[$schedule->getSequence()]); continue; } - if ($isResourceBlocked($candidate['project'], $collectionId, $candidate['resourceId'])) { - unset($this->schedules[$schedule->getSequence()]); - continue; - } - - Console::info("Updating: {$schedule['resourceType']}::{$schedule['resourceId']}"); + Console::info("Updating: {$candidate['resourceType']}::{$candidate['resourceId']}"); $this->schedules[$schedule->getSequence()] = $candidate; + + // Track projectId and sequence for updated/new schedules + $updatedProjectIds[] = $candidate['projectId']; + $updatedSequences[] = $schedule->getSequence(); } } $latestDocument = \end($schedules); } + if (empty($this->schedules)) { + Console::success("No resources found"); + } + + // On initial load: load all projects from all schedules + if ($initialLoad) { + $projectIds = array_unique(array_map(fn ($schedule) => $schedule['projectId'], $this->schedules)); + } else { + // Only load projects for updated/new schedules + $projectIds = array_unique($updatedProjectIds); + } + + // Build existing project map from schedules that already have projects loaded + $map = []; + foreach ($this->schedules as $schedule) { + if (isset($schedule['project'])) { + $map[$schedule['projectId']] = $schedule['project']; + } + } + + // Only load projects that we don't already have in memory + $projectIdsToLoad = array_filter($projectIds, fn ($projectId) => !isset($map[$projectId])); + + if (!empty($projectIdsToLoad)) { + $projectIdsToLoad = array_values($projectIdsToLoad); + $batchSize = APP_DATABASE_QUERY_MAX_VALUES_WORKER; + $batches = array_chunk($projectIdsToLoad, $batchSize); + $projectsLoadStart = microtime(true); + + foreach ($batches as $batch) { + $documents = $dbForPlatform->find('projects', [ + Query::equal('$id', $batch), + Query::limit(count($batch)), + ]); + + foreach ($documents as $document) { + $map[$document->getId()] = $document; + } + } + + $projectsLoadDuration = microtime(true) - $projectsLoadStart; + Console::success("Projects map loaded in " . $projectsLoadDuration . " seconds with " . count($projectIdsToLoad) . " new projects (total: " . count($map) . " projects)"); + } else { + Console::success("No new projects to load (using " . count($map) . " cached projects)"); + } + + // Only process updated/new schedules, not all schedules + foreach ($updatedSequences as $sequence) { + $schedule = $this->schedules[$sequence] ?? null; + if ($schedule === null) { + continue; + } + + $project = $map[$schedule['projectId']] ?? null; + + if ($project === null || $project->isEmpty()) { + Console::error("Project not found: projectId::{$schedule['projectId']} resourceId::{$schedule['resourceId']}"); + unset($this->schedules[$sequence]); + continue; + } + + // In case the resource is blocked. + if ($isResourceBlocked($project, $collectionId, $schedule['resourceId'])) { + Console::error("Resource blocked: projectId::{$schedule['projectId']} resourceId::{$schedule['resourceId']}"); + unset($this->schedules[$sequence]); + continue; + } + + $this->schedules[$sequence]['project'] = $project; + + // In case the resource is not found (project deleted). + try { + $resource = $getProjectDB($project)->getDocument(static::getCollectionId(), $schedule['resourceId']); + } catch (\Throwable $th) { + Console::error("Failed to load resource: projectId::{$schedule['projectId']} resourceId::{$schedule['resourceId']}"); + Console::error($th->getMessage()); + unset($this->schedules[$sequence]); + continue; + } + + if ($resource->isEmpty()) { + Console::error("Resource not found: projectId::{$schedule['projectId']} resourceId::{$schedule['resourceId']}"); + unset($this->schedules[$sequence]); + continue; + } + + $this->schedules[$sequence]['resource'] = $resource; + } $lastSyncUpdate = $time; $duration = microtime(true) - $loadStart; $this->collectSchedulesTelemetryDuration->record($duration, ['initial' => $initialLoad, 'resourceType' => static::getSupportedResource()]); $this->collectSchedulesTelemetryCount->record($total, ['initial' => $initialLoad, 'resourceType' => static::getSupportedResource()]); - Console::success("{$total} resources were loaded in " . $duration . " seconds"); + Console::success("Timer loaded {$total} " . static::getName() . " in " . $duration . " seconds"); } protected function recordEnqueueDelay(\DateTime $expectedExecutionSchedule): void diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index edb1fc56ed..19526060a8 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -28,6 +28,15 @@ use Utopia\Validator\WhiteList; class Specs extends Action { + public function __construct() + { + $this + ->desc('Generate Appwrite API specifications') + ->param('version', 'latest', new Text(16), 'Spec version', true) + ->param('mode', 'normal', new WhiteList(['normal', 'mocks']), 'Spec Mode', true) + ->callback($this->action(...)); + } + public static function getName(): string { return 'specs'; @@ -52,41 +61,44 @@ class Specs extends Action }; } - public function __construct() + /** + * Platforms + * + * @return array + */ + public static function getPlatforms(): array { - $this - ->desc('Generate Appwrite API specifications') - ->param('version', 'latest', new Text(16), 'Spec version', true) - ->param('mode', 'normal', new WhiteList(['normal', 'mocks']), 'Spec Mode', true) - ->callback($this->action(...)); + return [ + APP_SDK_PLATFORM_CLIENT, + APP_SDK_PLATFORM_SERVER, + APP_SDK_PLATFORM_CONSOLE, + ]; } - public function action(string $version, string $mode): void + /** + * Number of authentication methods supported by each platform + * client: 1 (Session or JWT), server: 2 (Key and JWT), console: 1 (Admin) + * + * @return array{client: int, console: int, server: int} + */ + protected function getAuthCounts(): array { - $appRoutes = App::getRoutes(); - $response = $this->getResponse(); - $mocks = ($mode === 'mocks'); - - // Mock dependencies - App::setResource('request', fn () => $this->getRequest()); - App::setResource('response', fn () => $response); - App::setResource('dbForPlatform', fn () => new Database(new MySQL(''), new Cache(new None()))); - App::setResource('dbForProject', fn () => new Database(new MySQL(''), new Cache(new None()))); - - $platforms = [ - 'client' => APP_PLATFORM_CLIENT, - 'server' => APP_PLATFORM_SERVER, - 'console' => APP_PLATFORM_CONSOLE, - ]; - - $authCounts = [ + return [ 'client' => 1, 'server' => 2, 'console' => 1, ]; + } - $keys = [ - APP_PLATFORM_CLIENT => [ + /** + * Keys for each platform + * + * @return array{client: array, server: array, console: array} + */ + protected function getKeys(): array + { + return [ + APP_SDK_PLATFORM_CLIENT => [ 'Project' => [ 'type' => 'apiKey', 'name' => 'X-Appwrite-Project', @@ -118,7 +130,7 @@ class Specs extends Action 'in' => 'header', ] ], - APP_PLATFORM_SERVER => [ + APP_SDK_PLATFORM_SERVER => [ 'Project' => [ 'type' => 'apiKey', 'name' => 'X-Appwrite-Project', @@ -156,7 +168,7 @@ class Specs extends Action 'in' => 'header', ], ], - APP_PLATFORM_CONSOLE => [ + APP_SDK_PLATFORM_CONSOLE => [ 'Project' => [ 'type' => 'apiKey', 'name' => 'X-Appwrite-Project', @@ -189,6 +201,47 @@ class Specs extends Action ], ], ]; + } + + public function getSDKPlatformsForRouteSecurity(array $routeSecurity): array + { + $sdkPlatforms = []; + foreach ($routeSecurity as $value) { + switch ($value) { + case AuthType::SESSION: + $sdkPlatforms[] = APP_SDK_PLATFORM_CLIENT; + break; + case AuthType::JWT: + case AuthType::KEY: + $sdkPlatforms[] = APP_SDK_PLATFORM_SERVER; + break; + case AuthType::ADMIN: + $sdkPlatforms[] = APP_SDK_PLATFORM_CONSOLE; + break; + } + } + + return $sdkPlatforms; + } + + public function action(string $version, string $mode): void + { + $appRoutes = App::getRoutes(); + + /** @var AppwriteResponse $response */ + $response = $this->getResponse(); + + $mocks = ($mode === 'mocks'); + + // Mock dependencies + App::setResource('request', fn () => $this->getRequest()); + App::setResource('response', fn () => $response); + App::setResource('dbForPlatform', fn () => new Database(new MySQL(''), new Cache(new None()))); + App::setResource('dbForProject', fn () => new Database(new MySQL(''), new Cache(new None()))); + + $platforms = static::getPlatforms(); + $authCounts = $this->getAuthCounts(); + $keys = $this->getKeys(); foreach ($platforms as $platform) { $routes = []; @@ -210,32 +263,13 @@ class Specs extends Action foreach ($sdks as $sdk) { /** @var Method $sdk */ $hide = $sdk->isHidden(); + if ($hide === true || (\is_array($hide) && \in_array($platform, $hide))) { continue; } $routeSecurity = $sdk->getAuth(); - $sdkPlatforms = []; - - foreach ($routeSecurity as $value) { - switch ($value) { - case AuthType::SESSION: - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - break; - case AuthType::JWT: - case AuthType::KEY: - $sdkPlatforms[] = APP_PLATFORM_SERVER; - break; - case AuthType::ADMIN: - $sdkPlatforms[] = APP_PLATFORM_CONSOLE; - break; - } - } - - if (empty($routeSecurity)) { - $sdkPlatforms[] = APP_PLATFORM_SERVER; - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - } + $sdkPlatforms = $this->getSDKPlatformsForRouteSecurity($routeSecurity); if (!$route->getLabel('docs', true)) { continue; @@ -253,7 +287,7 @@ class Specs extends Action continue; } - if ($platform !== APP_PLATFORM_CONSOLE && !\in_array($platforms[$platform], $sdkPlatforms)) { + if (!\in_array($platform, $sdkPlatforms)) { continue; } @@ -272,6 +306,11 @@ class Specs extends Action continue; } + // Check if current platform is included in service's platforms + if (!\in_array($platform, $service['platforms'] ?? [])) { + continue; + } + $services[] = [ 'name' => $service['key'] ?? '', 'description' => $service['subtitle'] ?? '', @@ -281,7 +320,7 @@ class Specs extends Action $models = $response->getModels(); foreach ($models as $key => $value) { - if ($platform !== APP_PLATFORM_CONSOLE && !$value->isPublic()) { + if ($platform !== APP_SDK_PLATFORM_CONSOLE && !$value->isPublic()) { unset($models[$key]); } } @@ -293,7 +332,7 @@ class Specs extends Action $models, $keys[$platform], $authCounts[$platform] ?? 0, - $platforms[$platform] + $platform ]; foreach (['swagger2', 'open-api3'] as $format) { diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index be542e7811..91dbb7cb00 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -4,7 +4,6 @@ namespace Appwrite\Platform\Workers; use Exception; use Throwable; -use Utopia\Audit\Audit; use Utopia\CLI\Console; use Utopia\Database\Document; use Utopia\Database\Exception\Authorization; @@ -42,8 +41,8 @@ class Audits extends Action $this ->desc('Audits worker') ->inject('message') - ->inject('getProjectDB') ->inject('project') + ->inject('getAudit') ->callback($this->action(...)); $this->lastTriggeredTime = time(); @@ -54,13 +53,14 @@ class Audits extends Action * @param Message $message * @param callable $getProjectDB * @param Document $project + * @param callable $getAudit * @return Commit|NoCommit * @throws Throwable * @throws \Utopia\Database\Exception * @throws Authorization * @throws Structure */ - public function action(Message $message, callable $getProjectDB, Document $project): Commit|NoCommit + public function action(Message $message, Document $project, callable $getAudit): Commit|NoCommit { $payload = $message->getPayload() ?? []; @@ -102,7 +102,7 @@ class Audits extends Action 'mode' => $mode, 'data' => $auditPayload, ], - 'timestamp' => date("Y-m-d H:i:s", $message->getTimestamp()), + 'time' => date("Y-m-d H:i:s", $message->getTimestamp()), ]; if (isset($this->logs[$project->getSequence()])) { @@ -135,8 +135,7 @@ class Audits extends Action Console::log('Processing Project "' . $sequence . '" batch with ' . count($projectLogs['logs']) . ' events'); $projectDocument = $projectLogs['project']; - $dbForProject = $getProjectDB($projectDocument); - $audit = new Audit($dbForProject); + $audit = $getAudit($projectDocument); $audit->logBatch($projectLogs['logs']); Console::success('Audit logs processed successfully'); diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index 9dc6322163..5132687279 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -3,12 +3,14 @@ namespace Appwrite\Platform\Workers; use Appwrite\Certificates\Adapter as CertificatesAdapter; +use Appwrite\Event\Certificate; use Appwrite\Event\Event; use Appwrite\Event\Func; use Appwrite\Event\Mail; use Appwrite\Event\Realtime; use Appwrite\Event\Webhook; -use Appwrite\Network\Validator\DNS; +use Appwrite\Extend\Exception as AppwriteException; +use Appwrite\Platform\Modules\Proxy\Action; use Appwrite\Template\Template; use Appwrite\Utopia\Response\Model\Rule; use Exception; @@ -22,15 +24,12 @@ use Utopia\Database\Exception\Conflict; use Utopia\Database\Exception\Structure; use Utopia\Database\Helpers\ID; use Utopia\Database\Query; -use Utopia\DNS\Message\Record; +use Utopia\Database\Validator\Authorization as ValidatorAuthorization; use Utopia\Domains\Domain; use Utopia\Locale\Locale; use Utopia\Logger\Log; -use Utopia\Platform\Action; use Utopia\Queue\Message; use Utopia\System\System; -use Utopia\Validator\AnyOf; -use Utopia\Validator\IP; class Certificates extends Action { @@ -42,8 +41,10 @@ class Certificates extends Action /** * @throws Exception */ - public function __construct() + public function __construct(...$params) { + parent::__construct(...$params); + $this ->desc('Certificates worker') ->inject('message') @@ -53,6 +54,7 @@ class Certificates extends Action ->inject('queueForWebhooks') ->inject('queueForFunctions') ->inject('queueForRealtime') + ->inject('queueForCertificates') ->inject('log') ->inject('certificates') ->inject('plan') @@ -67,6 +69,7 @@ class Certificates extends Action * @param Webhook $queueForWebhooks * @param Func $queueForFunctions * @param Realtime $queueForRealtime + * @param Certificate $queueForCertificates * @param Log $log * @param CertificatesAdapter $certificates * @return void @@ -81,6 +84,7 @@ class Certificates extends Action Webhook $queueForWebhooks, Func $queueForFunctions, Realtime $queueForRealtime, + Certificate $queueForCertificates, Log $log, CertificatesAdapter $certificates, array $plan @@ -93,14 +97,96 @@ class Certificates extends Action $document = new Document($payload['domain'] ?? []); $domain = new Domain($document->getAttribute('domain', '')); + $domainType = $document->getAttribute('domainType'); $skipRenewCheck = $payload['skipRenewCheck'] ?? false; $validationDomain = $payload['validationDomain'] ?? null; + $action = $payload['action'] ?? Certificate::ACTION_GENERATION; $log->addTag('domain', $domain->get()); - $domainType = $document->getAttribute('domainType'); + switch ($action) { + case Certificate::ACTION_DOMAIN_VERIFICATION: + $this->handleDomainVerificationAction($domain, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime, $queueForCertificates, $log, $validationDomain); + break; - $this->execute($domain, $domainType, $dbForPlatform, $queueForMails, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime, $log, $certificates, $skipRenewCheck, $plan, $validationDomain); + case Certificate::ACTION_GENERATION: + $this->handleCertificateGenerationAction($domain, $domainType, $dbForPlatform, $queueForMails, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime, $log, $certificates, $skipRenewCheck, $plan, $validationDomain); + break; + + default: + throw new Exception('Invalid action: ' . $action); + } + } + + /** + * @param Domain $domain + * @param Database $dbForPlatform + * @param Event $queueForEvents + * @param Webhook $queueForWebhooks + * @param Func $queueForFunctions + * @param Realtime $queueForRealtime + * @param Certificate $queueForCertificates + * @param Log $log + * @param string|null $validationDomain + * @return void + * @throws Throwable + * @throws \Utopia\Database\Exception + */ + private function handleDomainVerificationAction( + Domain $domain, + Database $dbForPlatform, + Event $queueForEvents, + Webhook $queueForWebhooks, + Func $queueForFunctions, + Realtime $queueForRealtime, + Certificate $queueForCertificates, + Log $log, + ?string $validationDomain = null + ): void { + // Get rule + $rule = System::getEnv('_APP_RULES_FORMAT') === 'md5' + ? ValidatorAuthorization::skip(fn () => $dbForPlatform->getDocument('rules', md5($domain->get()))) + : ValidatorAuthorization::skip(fn () => $dbForPlatform->findOne('rules', [ + Query::equal('domain', [$domain->get()]), + Query::limit(1), + ])); + + // Skip if rule is not desired state (created but not verified yet). + if ($rule->getAttribute('status', '') !== RULE_STATUS_CREATED) { + Console::warning('Domain verification for ' . $rule->getAttribute('domain', '') . ' is not needed.'); + return; + } + + Console::info('Domain verification for ' . $rule->getAttribute('domain', '') . ' started.'); + + try { + // Verify DNS records + $this->validateDomain($rule, $domain, $log, $validationDomain); + // Reset logs and status for the rule + $rule->setAttribute('logs', ''); + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATING); + + Console::success('Domain verification succeeded.'); + } catch (AppwriteException $err) { + Console::warning('Domain verification failed: ' . $err->getMessage()); + $rule->setAttribute('logs', $err->getMessage()); + } finally { + // Update rule and emit events + $this->updateRuleAndSendEvents($rule, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime); + } + + // Issue a TLS certificate when domain is verified + if ($rule->getAttribute('status', '') === RULE_STATUS_CERTIFICATE_GENERATING) { + $queueForCertificates + ->setDomain(new Document([ + 'domain' => $rule->getAttribute('domain'), + 'domainType' => $rule->getAttribute('deploymentResourceType', $rule->getAttribute('type')), + ])) + ->setAction(Certificate::ACTION_GENERATION) + ->trigger(); + + Console::success('Certificate generation triggered successfully.'); + } } /** @@ -119,7 +205,7 @@ class Certificates extends Action * @throws Throwable * @throws \Utopia\Database\Exception */ - private function execute( + private function handleCertificateGenerationAction( Domain $domain, ?string $domainType, Database $dbForPlatform, @@ -163,26 +249,42 @@ class Certificates extends Action * Note: Renewals are checked and scheduled from maintenance worker */ - // Get current certificate - $certificate = $dbForPlatform->findOne('certificates', [Query::equal('domain', [$domain->get()])]); + // Get rule document for domain + // TODO: (@Meldiron) Remove after 1.7.x migration + $rule = System::getEnv('_APP_RULES_FORMAT') === 'md5' + ? ValidatorAuthorization::skip(fn () => $dbForPlatform->getDocument('rules', md5($domain->get()))) + : ValidatorAuthorization::skip(fn () => $dbForPlatform->findOne('rules', [ + Query::equal('domain', [$domain->get()]), + Query::limit(1), + ])); - // If we don't have certificate for domain yet, let's create new document. At the end we save it + // Rule not found (or) not in the expected state + if ($rule->isEmpty() || $rule->getAttribute('status') !== RULE_STATUS_CERTIFICATE_GENERATING) { + Console::warning('Certificate generation for ' . $domain->get() . ' is skipped as the associated rule is either empty or not in the expected state.'); + return; + } + + // Get associated certificate for the rule + $certificate = $dbForPlatform->getDocument('certificates', $rule->getAttribute('certificateId') ?? ''); + + // If we don't have certificate for the rule yet, let's create one. if ($certificate->isEmpty()) { $certificate = new Document(); $certificate->setAttribute('domain', $domain->get()); } - $success = false; - try { $date = \date('H:i:s'); $certificate->setAttribute('logs', "\033[90m[{$date}] \033[97mCertificate generation started. \033[0m\n"); + // Persist ASAP so that logs are reset in retry flow and user can see the latest logs on Console. + $certificate = $this->upsertCertificate($rule, $certificate, $dbForPlatform); + // Ensure certificate is associated with the rule + $rule->setAttribute('certificateId', $certificate->getId()); + // Validate domain and DNS records. Skip if job is forced if (!$skipRenewCheck) { - $mainDomain = $validationDomain ?? $this->getMainDomain(); - $isMainDomain = !isset($mainDomain) || $domain->get() === $mainDomain; - $this->validateDomain($domain, $isMainDomain, $log); + $this->validateDomain($rule, $domain, $log, $validationDomain); // If certificate exists already, double-check expiry date. Skip if job is forced if (!$certificates->isRenewRequired($domain->get(), $domainType, $log)) { @@ -191,85 +293,171 @@ class Certificates extends Action } } - // Prepare unique cert name. Using this helps prevent miss-match in configuration when renewing certificates. + // Prepare unique cert name. Using this helps prevent mismatch in configuration when renewing certificates. $certName = ID::unique(); $renewDate = $certificates->issueCertificate($certName, $domain->get(), $domainType); - // Command succeeded, store all data into document - $certificate->setAttribute('logs', 'Certificate successfully generated.'); + // If certificate is generated instantly, we can mark the rule as 'verified'. + if ($certificates->isInstantGeneration($domain->get(), $domainType)) { + $rule->setAttribute('status', RULE_STATUS_VERIFIED); + $certificate->setAttribute('logs', 'Certificate successfully generated.'); + } - // Update certificate info stored in database - $certificate->setAttribute('renewDate', $renewDate); - $certificate->setAttribute('attempts', 0); - $certificate->setAttribute('issueDate', DateTime::now()); - $success = true; + $certificate->setAttributes([ + 'attempts' => 0, // Reset attempts count + 'issueDate' => DateTime::now(), // Store current time as issue date + 'renewDate' => $renewDate, + ]); } catch (Throwable $e) { $logs = $e->getMessage(); $currentLogs = $certificate->getAttribute('logs', ''); $date = \date('H:i:s'); $errorMessage = "\033[90m[{$date}] \033[31mCertificate generation failed: \033[0m\n"; - $certificate->setAttribute('logs', $currentLogs . $errorMessage . \mb_strcut($logs, 0, 500000));// Limit to 500kb + $attempts = $certificate->getAttribute('attempts', 0) + 1; // Increase attempts count - // Increase attempts count - $attempts = $certificate->getAttribute('attempts', 0) + 1; - $certificate->setAttribute('attempts', $attempts); + // Update attributes on certificate document + $certificate->setAttributes([ + 'logs' => $currentLogs . $errorMessage . \mb_strcut($logs, 0, 500000), // Limit to 500kb + 'attempts' => $attempts, + 'renewDate' => DateTime::now(), // Store current time as renew date to ensure another attempt in next maintenance cycle. + ]); - // Store current time as renew date to ensure another attempt in next maintenance cycle. - $certificate->setAttribute('renewDate', DateTime::now()); + // Mark rule as 'unverified' + $rule->setAttribute('status', RULE_STATUS_CERTIFICATE_GENERATION_FAILED); // Send email to security email $this->notifyError($domain->get(), $e->getMessage(), $attempts, $queueForMails, $plan); throw $e; } finally { - // All actions result in new updatedAt date + // All actions result in new 'updated' date $certificate->setAttribute('updated', DateTime::now()); + // Save certificate document to database + $this->upsertCertificate($rule, $certificate, $dbForPlatform); - // Save all changes we made to certificate document into database - $this->saveCertificateDocument($domain->get(), $certificate, $success, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime); + // Ensure certificate is associated with the rule + $rule->setAttribute('certificateId', $certificate->getId()); + // Update rule and emit events + $this->updateRuleAndSendEvents($rule, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime); } } /** - * Save certificate data into database. + * Save certificate data to database. * - * @param string $domain Domain name that certificate is for + * @param Document $rule Rule associated with the domain * @param Document $certificate Certificate document that we need to save - * @param bool $success * @param Database $dbForPlatform Database connection for console - * @param Event $queueForEvents - * @param Func $queueForFunctions - * @param Realtime $queueForRealtime - * @return void + * @return Document * @throws \Utopia\Database\Exception * @throws Authorization * @throws Conflict * @throws Structure */ - private function saveCertificateDocument( - string $domain, + private function upsertCertificate( + Document $rule, Document $certificate, - bool $success, + Database $dbForPlatform, + ): Document { + // Decide whether update (or) insert is needed + $existingCertificate = $dbForPlatform->getDocument('certificates', $rule->getAttribute('certificateId') ?? ''); + + if ($existingCertificate->isEmpty()) { + $certificate->removeAttribute('$sequence'); + $certificate = $dbForPlatform->createDocument('certificates', $certificate); + } else { + $certificate = new Document(\array_merge($existingCertificate->getArrayCopy(), $certificate->getArrayCopy())); + $certificate = $dbForPlatform->updateDocument('certificates', $certificate->getId(), $certificate); + } + + return $certificate; + } + + /** + * Update all existing domain documents so they have relation to correct certificate document. + * This solves issues: + * - when adding a domain for which there is already a certificate + * - when renew creates new document? It might? + * - overall makes it more reliable + * + * @param Document $rule Rule document that is affected by new certificate + * @param Database $dbForPlatform Database connection for console + * @param Event $queueForEvents Event publisher for events + * @param Webhook $queueForWebhooks Webhook publisher for webhooks + * @param Func $queueForFunctions Function publisher for functions + * @param Realtime $queueForRealtime Realtime publisher for realtime events + * + * @return void + */ + protected function updateRuleAndSendEvents( + Document $rule, Database $dbForPlatform, Event $queueForEvents, Webhook $queueForWebhooks, Func $queueForFunctions, Realtime $queueForRealtime ): void { - // Check if update or insert required - $certificateDocument = $dbForPlatform->findOne('certificates', [Query::equal('domain', [$domain])]); - if (!$certificateDocument->isEmpty()) { - // Merge new data with current data - $certificate = new Document(\array_merge($certificateDocument->getArrayCopy(), $certificate->getArrayCopy())); - $certificate = $dbForPlatform->updateDocument('certificates', $certificate->getId(), $certificate); - } else { - $certificate->removeAttribute('$sequence'); - $certificate = $dbForPlatform->createDocument('certificates', $certificate); + $rule = $dbForPlatform->updateDocument('rules', $rule->getId(), $rule); + $projectId = $rule->getAttribute('projectId'); + + // Skip events for console project (triggered by auto-ssl generation for 1 click setups) + if ($projectId === 'console') { + return; } - $certificateId = $certificate->getId(); - $this->updateDomainDocuments($certificateId, $domain, $success, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime); + $project = $dbForPlatform->getDocument('projects', $projectId); + if ($project->isEmpty()) { + return; + } + + $ruleModel = new Rule(); + $queueForEvents + ->setProject($project) + ->setEvent('rules.[ruleId].update') + ->setParam('ruleId', $rule->getId()) + ->setPayload($rule->getArrayCopy(array_keys($ruleModel->getRules()))); + + /** Trigger Webhook */ + $queueForWebhooks + ->from($queueForEvents) + ->trigger(); + + /** Trigger Functions */ + $queueForFunctions + ->from($queueForEvents) + ->trigger(); + + /** Trigger Realtime Events */ + $queueForRealtime + ->setSubscribers(['console', $projectId]) + ->from($queueForEvents) + ->trigger(); + } + + /** + * Internal domain validation functionality to prevent unnecessary attempts. We check: + * - Domain needs to be public and valid (prevents NFT domains that are not supported) + * - Domain must have proper DNS record + * + * @param Document $rule Rule to validate + * @param Domain $domain Domain to validate + * @param Log $log Logger for adding metrics + * @param string|null $validationDomain Override for main domain check + * + * @return void + * @throws Exception + */ + private function validateDomain(Document $rule, Domain $domain, Log $log, ?string $validationDomain = null): void + { + $mainDomain = $validationDomain ?? $this->getMainDomain(); + $isMainDomain = !isset($mainDomain) || $domain->get() === $mainDomain; + if (!$isMainDomain) { + $this->verifyRule($rule, $log); + } else { + // Main domain validation + // TODO: Would be awesome to check A/AAAA record here. Maybe dry run? + } } /** @@ -288,74 +476,7 @@ class Certificates extends Action } /** - * Internal domain validation functionality to prevent unnecessary attempts. We check: - * - Domain needs to be public and valid (prevents NFT domains that are not supported) - * - Domain must have proper DNS record - * - * @param Domain $domain Domain which we validate - * @param bool $isMainDomain In case of master domain, we look for different DNS configurations - * - * @return void - * @throws Exception - */ - private function validateDomain(Domain $domain, bool $isMainDomain, Log $log): void - { - if (empty($domain->get())) { - throw new Exception('Missing certificate domain.'); - } - - if (!$domain->isKnown() || $domain->isTest()) { - throw new Exception('Unknown public suffix for domain.'); - } - - if (!$isMainDomain) { - $validationStart = \microtime(true); - - $validators = []; - $targetCNAME = new Domain(System::getEnv('_APP_DOMAIN_TARGET_CNAME', '')); - if ($targetCNAME->isKnown() && !$targetCNAME->isTest()) { - $validators[] = new DNS($targetCNAME->get(), Record::TYPE_CNAME); - } - if ((new IP(IP::V4))->isValid(System::getEnv('_APP_DOMAIN_TARGET_A', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_A', ''), Record::TYPE_A); - } - if ((new IP(IP::V6))->isValid(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''))) { - $validators[] = new DNS(System::getEnv('_APP_DOMAIN_TARGET_AAAA', ''), Record::TYPE_AAAA); - } - - // Validate if domain target is properly configured - if (empty($validators)) { - throw new Exception('At least one of domain targets environment variable must be configured.'); - } - - // Verify domain with DNS records - $validator = new AnyOf($validators, AnyOf::TYPE_STRING); - if (!$validator->isValid($domain->get())) { - $log->addExtra('dnsTiming', \strval(\microtime(true) - $validationStart)); - $log->addTag('dnsDomain', $domain->get()); - throw new Exception('Failed to verify domain DNS records.'); - } - - // Ensure CAA won't block certificate issuance - if (!empty(System::getEnv('_APP_DOMAIN_TARGET_CAA', ''))) { - $validationStart = \microtime(true); - $validator = new DNS(System::getEnv('_APP_DOMAIN_TARGET_CAA', ''), Record::TYPE_CAA); - if (!$validator->isValid($domain->get())) { - $log->addExtra('dnsTimingCaa', \strval(\microtime(true) - $validationStart)); - $log->addTag('dnsDomain', $domain->get()); - $error = $validator->getDescription(); - $log->addExtra('dnsResponse', \is_array($error) ? \json_encode($error) : \strval($error)); - throw new Exception('Failed to verify domain DNS records. CAA records do not allow Appwrite\'s certificate issuer.'); - } - } - } else { - // Main domain validation - // TODO: Would be awesome to check A/AAAA record here. Maybe dry run? - } - } - - /** - * Method to make sure information about error is delivered to admnistrator. + * Method to make sure information about error is delivered to administrator. * * @param string $domain Domain that caused the error * @param string $errorMessage Verbose error message @@ -406,78 +527,4 @@ class Certificates extends Action ->setRecipient(System::getEnv('_APP_EMAIL_CERTIFICATES', System::getEnv('_APP_SYSTEM_SECURITY_EMAIL_ADDRESS'))) ->trigger(); } - - /** - * Update all existing domain documents so they have relation to correct certificate document. - * This solved issues: - * - when adding a domain for which there is already a certificate - * - when renew creates new document? It might? - * - overall makes it more reliable - * - * @param string $certificateId ID of a new or updated certificate document - * @param string $domain Domain that is affected by new certificate - * @param bool $success Was certificate generation successful? - * - * @return void - */ - private function updateDomainDocuments( - string $certificateId, - string $domain, - bool $success, - Database $dbForPlatform, - Event $queueForEvents, - Webhook $queueForWebhooks, - Func $queueForFunctions, - Realtime $queueForRealtime - ): void { - // TODO: (@Meldiron) Remove after 1.7.x migration - $isMd5 = System::getEnv('_APP_RULES_FORMAT') === 'md5'; - $rule = $isMd5 - ? $dbForPlatform->getDocument('rules', md5($domain)) - : $dbForPlatform->findOne('rules', [ - Query::equal('domain', [$domain]), - ]); - - if (!$rule->isEmpty()) { - $rule->setAttribute('certificateId', $certificateId); - $rule->setAttribute('status', $success ? 'verified' : 'unverified'); - $dbForPlatform->updateDocument('rules', $rule->getId(), $rule); - - $projectId = $rule->getAttribute('projectId'); - - // Skip events for console project (triggered by auto-ssl generation for 1 click setups) - if ($projectId === 'console') { - return; - } - - $project = $dbForPlatform->getDocument('projects', $projectId); - - if ($project->isEmpty()) { - return; - } - - $ruleModel = new Rule(); - $queueForEvents - ->setProject($project) - ->setEvent('rules.[ruleId].update') - ->setParam('ruleId', $rule->getId()) - ->setPayload($rule->getArrayCopy(array_keys($ruleModel->getRules()))); - - /** Trigger Webhook */ - $queueForWebhooks - ->from($queueForEvents) - ->trigger(); - - /** Trigger Functions */ - $queueForFunctions - ->from($queueForEvents) - ->trigger(); - - /** Trigger Realtime Events */ - $queueForRealtime - ->from($queueForEvents) - ->setSubscribers(['console', $projectId]) - ->trigger(); - } - } } diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index 38624367c9..5c36fa7f7a 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -9,6 +9,7 @@ use Appwrite\Extend\Exception; use Executor\Executor; use Throwable; use Utopia\Abuse\Adapters\TimeLimit\Database as AbuseDatabase; +use Utopia\Audit\Adapter\SQL; use Utopia\Audit\Audit; use Utopia\Cache\Adapter\Filesystem; use Utopia\Cache\Cache; @@ -62,6 +63,7 @@ class Deletes extends Action ->inject('executionRetention') ->inject('auditRetention') ->inject('log') + ->inject('getAudit') ->callback($this->action(...)); } @@ -84,7 +86,8 @@ class Deletes extends Action Executor $executor, string $executionRetention, string $auditRetention, - Log $log + Log $log, + callable $getAudit, ): void { $payload = $message->getPayload() ?? []; @@ -145,7 +148,7 @@ class Deletes extends Action break; case DELETE_TYPE_AUDIT: if (!$project->isEmpty()) { - $this->deleteAuditLogs($project, $getProjectDB, $auditRetention); + $this->deleteAuditLogs($project, $auditRetention, $getAudit); } break; case DELETE_TYPE_REALTIME: @@ -517,7 +520,7 @@ class Deletes extends Action $projectCollectionIds = [ ...\array_keys(Config::getParam('collections', [])['projects']), - Audit::COLLECTION, + SQL::COLLECTION, AbuseDatabase::COLLECTION, ]; @@ -565,7 +568,13 @@ class Deletes extends Action // Delete Keys $this->deleteByGroup('keys', [ - Query::equal('projectInternalId', [$projectInternalId]), + Query::or([ + Query::equal('projectInternalId', [$projectInternalId]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$projectInternalId]), + ]) + ]), Query::orderAsc() ], $dbForPlatform); @@ -745,7 +754,7 @@ class Deletes extends Action Query::select([...$this->selects, '$createdAt', 'name', 'path']), Query::equal('bucketId', ['default']), Query::createdBefore($oneWeekAgo), - Query::endsWith('name', ['.csv']), + Query::endsWith('name', '.csv'), Query::orderDesc('$createdAt'), Query::orderDesc(), ], $dbForPlatform, function (Document $file) use ($deviceForFiles) { @@ -777,23 +786,20 @@ class Deletes extends Action * @param Database $dbForPlatform * @param callable $getProjectDB * @param string $auditRetention + * @param callable $getAudit * @return void * @throws Exception */ - private function deleteAuditLogs(Document $project, callable $getProjectDB, string $auditRetention): void + private function deleteAuditLogs(Document $project, string $auditRetention, callable $getAudit): void { $projectId = $project->getId(); - $dbForProject = $getProjectDB($project); + /** @var Audit $audit */ + $audit = $getAudit($project); try { - $this->deleteByGroup(Audit::COLLECTION, [ - Query::select([...$this->selects, 'time']), - Query::lessThan('time', $auditRetention), - Query::orderDesc('time'), - Query::orderAsc(), - ], $dbForProject); - } catch (DatabaseException $e) { - Console::error('Failed to delete audit logs for project ' . $projectId . ': ' . $e->getMessage()); + $audit->cleanup(new \DateTime($auditRetention)); + } catch (Throwable $th) { + Console::error('Failed to delete audit logs for project ' . $projectId . ': ' . $th->getMessage()); } } diff --git a/src/Appwrite/Platform/Workers/Functions.php b/src/Appwrite/Platform/Workers/Functions.php index 4922ce0372..fba5154079 100644 --- a/src/Appwrite/Platform/Workers/Functions.php +++ b/src/Appwrite/Platform/Workers/Functions.php @@ -87,7 +87,7 @@ class Functions extends Action $events = $payload['events'] ?? []; $data = $payload['body'] ?? ''; $eventData = $payload['payload'] ?? ''; - $platform = $payload['platform'] ?? ''; + $platform = $payload['platform'] ?? Config::getParam('platform', []); $function = new Document($payload['function'] ?? []); $functionId = $payload['functionId'] ?? ''; $user = new Document($payload['user'] ?? []); @@ -122,14 +122,16 @@ class Functions extends Action $log->addTag('type', $type); if (!empty($events)) { - $limit = 30; - $sum = 30; + $limit = 100; + $sum = 100; $offset = 0; while ($sum >= $limit) { $functions = $dbForProject->find('functions', [ + Query::select(['$id', 'events']), // Skip variables subqueries + Query::contains('events', $events), Query::limit($limit), Query::offset($offset), - Query::orderAsc('name'), + Query::orderAsc('$sequence'), ]); $sum = \count($functions); @@ -147,6 +149,11 @@ class Functions extends Action continue; } + /** + * get variables subqueries cached + */ + $function = $dbForProject->getDocument('functions', $function->getId()); + Console::success('Iterating function: ' . $function->getAttribute('name')); $this->execute( @@ -491,9 +498,12 @@ class Functions extends Action $vars[$var->getAttribute('key')] = $var->getAttribute('value', ''); } + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; + $endpoint = "$protocol://{$platform['apiHostname']}/v1"; + // Appwrite vars $vars = \array_merge($vars, [ - 'APPWRITE_FUNCTION_API_ENDPOINT' => $platform['endpoint'], + 'APPWRITE_FUNCTION_API_ENDPOINT' => $endpoint, 'APPWRITE_FUNCTION_ID' => $functionId, 'APPWRITE_FUNCTION_NAME' => $function->getAttribute('name'), 'APPWRITE_FUNCTION_DEPLOYMENT' => $deploymentId, diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index 64224a9770..ae94c7580d 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -62,9 +62,6 @@ class Messaging extends Action */ public function __construct() { - - $this->adapter = $this->createInternalSMSAdapter(); - $this ->desc('Messaging worker') ->inject('message') @@ -390,6 +387,10 @@ class Messaging extends Action private function sendInternalSMSMessage(Document $message, Document $project, array $recipients, Log $log): void { + if ($this->adapter === null) { + $this->adapter = $this->createInternalSMSAdapter(); + } + if ($this->adapter === null) { Console::warning('Skipped SMS processing. SMS adapter is not set.'); return; diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index a10ddc4904..d655672368 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -41,18 +41,12 @@ use Utopia\System\System; class Migrations extends Action { - protected Database $dbForProject; - - protected Database $dbForPlatform; - - protected Device $deviceForMigrations; - protected Device $deviceForFiles; - - protected Document $project; - - protected array $plan; - - protected array $platform; + protected ?Database $dbForProject; + protected ?Database $dbForPlatform; + protected ?Device $deviceForMigrations; + protected ?Device $deviceForFiles; + protected ?Document $project; + protected array $plan = []; /** * @var array @@ -60,9 +54,9 @@ class Migrations extends Action protected array $sourceReport = []; /** - * @var callable + * @var callable|null */ - protected $logError; + protected $logError = null; public static function getName(): string { @@ -108,7 +102,6 @@ class Migrations extends Action $this->deviceForMigrations = $deviceForMigrations; $this->deviceForFiles = $deviceForFiles; $this->plan = $plan; - $this->platform = $payload['platform'] ?? []; if (empty($payload)) { throw new Exception('Missing payload'); @@ -126,17 +119,32 @@ class Migrations extends Action $this->project = $project; $this->logError = $logError; + $platform = $payload['platform'] ?? Config::getParam('platform', []); + if (!empty($events)) { return; } - $this->processMigration($migration, $queueForRealtime, $queueForMails); + try { + $this->processMigration($migration, $queueForRealtime, $queueForMails, $platform); + } finally { + $this->dbForProject = null; + $this->dbForPlatform = null; + $this->project = null; + $this->logError = null; + $this->deviceForMigrations = null; + $this->deviceForFiles = null; + $this->plan = []; + $this->sourceReport = []; + + gc_collect_cycles(); + } } /** * @throws Exception */ - protected function processSource(Document $migration): Source + protected function processSource(Document $migration, array $platform): Source { $source = $migration->getAttribute('source'); $destination = $migration->getAttribute('destination'); @@ -144,7 +152,6 @@ class Migrations extends Action $credentials = $migration->getAttribute('credentials'); $migrationOptions = $migration->getAttribute('options'); $dataSource = Appwrite::SOURCE_API; - $endpoint = $this->platform['endpoint'] ?: ($credentials['endpoint'] ?? 'http://appwrite.test/v1'); $database = null; $queries = []; @@ -178,7 +185,7 @@ class Migrations extends Action ), SourceAppwrite::getName() => new SourceAppwrite( $credentials['projectId'], - $endpoint, + $credentials['endpoint'], $credentials['apiKey'], $dataSource, $database, @@ -193,7 +200,8 @@ class Migrations extends Action default => throw new \Exception('Invalid source type'), }; - $this->sourceReport = $migrationSource->report(); + $resources = $migration->getAttribute('resources', []); + $this->sourceReport = $migrationSource->report($resources); return $migrationSource; } @@ -201,15 +209,17 @@ class Migrations extends Action /** * @throws Exception */ - protected function processDestination(Document $migration, string $apiKey): Destination + protected function processDestination(Document $migration, string $apiKey, array $platform): Destination { $destination = $migration->getAttribute('destination'); $options = $migration->getAttribute('options', []); + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https'; + return match ($destination) { DestinationAppwrite::getName() => new DestinationAppwrite( $this->project->getId(), - $this->platform['endpoint'], + $protocol . '://' . $platform['apiHostname'] . '/v1', $apiKey, $this->dbForProject, Config::getParam('collections', [])['databases']['collections'], @@ -300,6 +310,7 @@ class Migrations extends Action Document $migration, Realtime $queueForRealtime, Mail $queueForMails, + array $platform, ): void { $project = $this->dbForPlatform->getDocument('projects', $this->project->getId()); $tempAPIKey = $this->generateAPIKey($project); @@ -313,8 +324,15 @@ class Migrations extends Action ) { $credentials = $migration->getAttribute('credentials', []); $credentials['projectId'] = $credentials['projectId'] ?? $project->getId(); - $credentials['endpoint'] = $credentials['endpoint'] ?? $this->platform['endpoint']; $credentials['apiKey'] = $credentials['apiKey'] ?? $tempAPIKey; + + /** + * endpoint set + */ + if (empty($credentials['endpoint'])) { + $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https'; + $credentials['endpoint'] = $protocol . '://' . $platform['apiHostname'] . '/v1'; + } $migration->setAttribute('credentials', $credentials); } @@ -322,8 +340,8 @@ class Migrations extends Action $migration->setAttribute('status', 'processing'); $this->updateMigrationDocument($migration, $project, $queueForRealtime); - $source = $this->processSource($migration); - $destination = $this->processDestination($migration, $tempAPIKey); + $source = $this->processSource($migration, $platform); + $destination = $this->processDestination($migration, $tempAPIKey, $platform); $transfer = new Transfer( $source, @@ -363,7 +381,9 @@ class Migrations extends Action $migration->setAttribute('status', 'completed'); $migration->setAttribute('stage', 'finished'); } catch (\Throwable $th) { - Console::error($th->getMessage()); + Console::error('Message: ' . $th->getMessage()); + Console::error('File: ' . $th->getFile()); + Console::error('Line: ' . $th->getLine()); Console::error($th->getTraceAsString()); if (! $migration->isEmpty()) { @@ -415,9 +435,13 @@ class Migrations extends Action $source?->success(); if ($migration->getAttribute('destination') === DestinationCSV::getName()) { - $this->handleCSVExportComplete($project, $migration, $queueForMails, $queueForRealtime); + $this->handleCSVExportComplete($project, $migration, $queueForMails, $queueForRealtime, $platform); } } + + $transfer = null; + $source = null; + $destination = null; } } @@ -438,6 +462,7 @@ class Migrations extends Action Document $migration, Mail $queueForMails, Realtime $queueForRealtime, + array $platform, ): void { $options = $migration->getAttribute('options', []); $bucketId = 'default'; // Always use platform default bucket @@ -487,6 +512,7 @@ class Migrations extends Action user: $user, options: $options, queueForMails: $queueForMails, + platform: $platform, sizeMB: $sizeMB ); @@ -546,6 +572,7 @@ class Migrations extends Action user: $user, options: $options, queueForMails: $queueForMails, + platform: $platform, downloadUrl: $downloadUrl ); } @@ -558,6 +585,7 @@ class Migrations extends Action * @param Document $user The user who triggered the operation * @param array $options Migration options * @param Mail $queueForMails + * @param array $platform * @param string $downloadUrl Download URL for successful exports * @param float $sizeMB File size in MB for failed exports * @return void @@ -569,15 +597,16 @@ class Migrations extends Action Document $user, array $options, Mail $queueForMails, + array $platform, string $downloadUrl = '', - float $sizeMB = 0.0 + float $sizeMB = 0.0, ): void { if (!($options['notify'] ?? false)) { return; } if ($user->isEmpty()) { - Console::warning("User not found for CSV export notification: {$user->getInternalId()}"); + Console::warning("User not found for CSV export notification: {$user->getSequence()}"); return; } @@ -624,13 +653,14 @@ class Migrations extends Action $emailVariables = [ 'direction' => $locale->getText('settings.direction'), - 'logoUrl' => $this->plan['logoUrl'] ?? APP_EMAIL_LOGO_URL, - 'accentColor' => $this->plan['accentColor'] ?? APP_EMAIL_ACCENT_COLOR, - 'twitterUrl' => $this->plan['twitterUrl'] ?? APP_SOCIAL_TWITTER, - 'discordUrl' => $this->plan['discordUrl'] ?? APP_SOCIAL_DISCORD, - 'githubUrl' => $this->plan['githubUrl'] ?? APP_SOCIAL_GITHUB_APPWRITE, - 'termsUrl' => $this->plan['termsUrl'] ?? APP_EMAIL_TERMS_URL, - 'privacyUrl' => $this->plan['privacyUrl'] ?? APP_EMAIL_PRIVACY_URL, + 'logoUrl' => $platform['logoUrl'], + 'accentColor' => $platform['accentColor'], + 'twitter' => $platform['twitterUrl'], + 'discord' => $platform['discordUrl'], + 'github' => $platform['githubUrl'], + 'terms' => $platform['termsUrl'], + 'privacy' => $platform['privacyUrl'], + 'platform' => $platform['platformName'], ]; $queueForMails @@ -641,6 +671,7 @@ class Migrations extends Action ->setVariables($emailVariables) ->setName($user->getAttribute('name', $user->getAttribute('email'))) ->setRecipient($user->getAttribute('email')) + ->setSenderName($platform['emailSenderName']) ->trigger(); Console::info("CSV export {$emailType} notification email sent to " . $user->getAttribute('email')); diff --git a/src/Appwrite/Platform/Workers/StatsResources.php b/src/Appwrite/Platform/Workers/StatsResources.php index 1ef348091a..967dbc59a4 100644 --- a/src/Appwrite/Platform/Workers/StatsResources.php +++ b/src/Appwrite/Platform/Workers/StatsResources.php @@ -111,7 +111,13 @@ class StatsResources extends Action Query::equal('projectInternalId', [$project->getSequence()]) ]); $keys = $dbForPlatform->count('keys', [ - Query::equal('projectInternalId', [$project->getSequence()]) + Query::or([ + Query::equal('projectInternalId', [$project->getSequence()]), + Query::and([ + Query::equal('resourceType', ['projects']), + Query::equal('resourceInternalId', [$project->getSequence()]), + ]) + ]), ]); $domains = $dbForPlatform->count('rules', [ @@ -192,13 +198,13 @@ class StatsResources extends Action } try { - $this->countForDatabase($dbForProject, $region); + $dbForProject->skipFilters(fn () => $this->countForDatabase($dbForProject, $region), ['subQueryAttributes', 'subQueryIndexes']); } catch (Throwable $th) { call_user_func_array($this->logError, [$th, "StatsResources", "count_for_database_{$project->getId()}"]); } try { - $this->countForSitesAndFunctions($dbForProject, $region); + $dbForProject->skipFilters(fn () => $this->countForSitesAndFunctions($dbForProject, $region), ['subQueryVariables', 'subQueryProjectVariables']); } catch (Throwable $th) { call_user_func_array($this->logError, [$th, "StatsResources", "count_for_functions_{$project->getId()}"]); } diff --git a/src/Appwrite/SDK/Specification/Format.php b/src/Appwrite/SDK/Specification/Format.php index aad832a9f4..3d2ebad556 100644 --- a/src/Appwrite/SDK/Specification/Format.php +++ b/src/Appwrite/SDK/Specification/Format.php @@ -112,6 +112,35 @@ abstract class Format return $this->params[$key] ?? $default; } + /** + * Set Services. + * + * Set services value + * + * @param array $services + * + * @return self + */ + public function setServices(array $services): self + { + $this->services = $services; + return $this; + } + + /** + * Set Services. + * + * Get services value + * + * @param array $services + * + * @return self + */ + public function getServices(): array + { + return $this->services; + } + protected function getRequestEnumName(string $service, string $method, string $param): ?string { /* `$service` is `$namespace` */ @@ -175,6 +204,8 @@ abstract class Format switch ($param) { case 'permissions': return 'BrowserPermission'; + case 'output': + return 'ImageFormat'; } break; } diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index e5790484c1..00e98afb60 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -2,6 +2,7 @@ namespace Appwrite\SDK\Specification\Format; +use Appwrite\Platform\Tasks\Specs; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\MethodType; @@ -118,27 +119,9 @@ class OpenAPI3 extends Format $desc = $sdk->getDescriptionFilePath() ?: $sdk->getDescription(); $produces = ($sdk->getContentType())->value; $routeSecurity = $sdk->getAuth() ?? []; - $sdkPlatforms = []; - foreach ($routeSecurity as $value) { - switch ($value) { - case AuthType::SESSION: - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - break; - case AuthType::JWT: - case AuthType::KEY: - $sdkPlatforms[] = APP_PLATFORM_SERVER; - break; - case AuthType::ADMIN: - $sdkPlatforms[] = APP_PLATFORM_CONSOLE; - break; - } - } - - if (empty($routeSecurity)) { - $sdkPlatforms[] = APP_PLATFORM_SERVER; - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - } + $specs = new Specs(); + $sdkPlatforms = $specs->getSDKPlatformsForRouteSecurity($routeSecurity); $namespace = $sdk->getNamespace() ?? 'default'; @@ -159,7 +142,6 @@ class OpenAPI3 extends Format 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', 'demo' => \strtolower($namespace) . '/' . Template::fromCamelCaseToDash($methodName) . '.md', - 'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription() ?? '', 'rate-limit' => $route->getLabel('abuse-limit', 0), 'rate-time' => $route->getLabel('abuse-time', 3600), 'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'), @@ -170,6 +152,10 @@ class OpenAPI3 extends Format ], ]; + if ($sdk->getDescriptionFilePath() !== null) { + $temp['x-appwrite']['edit'] = 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription(); + } + if ($sdk->getDeprecated()) { $temp['x-appwrite']['deprecated'] = [ 'since' => $sdk->getDeprecated()->getSince(), @@ -184,28 +170,9 @@ class OpenAPI3 extends Format $desc = $methodObj->getDescriptionFilePath(); $methodSecurities = $methodObj->getAuth(); - $methodSdkPlatforms = []; - foreach ($methodSecurities as $value) { - switch ($value) { - case AuthType::SESSION: - $methodSdkPlatforms[] = APP_PLATFORM_CLIENT; - break; - case AuthType::JWT: - case AuthType::KEY: - $methodSdkPlatforms[] = APP_PLATFORM_SERVER; - break; - case AuthType::ADMIN: - $methodSdkPlatforms[] = APP_PLATFORM_CONSOLE; - break; - } - } + $methodSdkPlatforms = $specs->getSDKPlatformsForRouteSecurity($methodSecurities); - if (empty($methodSecurities)) { - $methodSdkPlatforms[] = APP_PLATFORM_SERVER; - $methodSdkPlatforms[] = APP_PLATFORM_CLIENT; - } - - if ($this->platform !== APP_PLATFORM_CONSOLE && !\in_array($this->platform, $methodSdkPlatforms)) { + if (!\in_array($this->platform, $methodSdkPlatforms)) { continue; } diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 51b972ca0b..37173c51c6 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -2,6 +2,7 @@ namespace Appwrite\SDK\Specification\Format; +use Appwrite\Platform\Tasks\Specs; use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\MethodType; @@ -119,27 +120,9 @@ class Swagger2 extends Format $desc = $sdk->getDescriptionFilePath() ?: $sdk->getDescription(); $produces = ($sdk->getContentType())->value; $routeSecurity = $sdk->getAuth() ?? []; - $sdkPlatforms = []; - foreach ($routeSecurity as $value) { - switch ($value) { - case AuthType::SESSION: - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - break; - case AuthType::JWT: - case AuthType::KEY: - $sdkPlatforms[] = APP_PLATFORM_SERVER; - break; - case AuthType::ADMIN: - $sdkPlatforms[] = APP_PLATFORM_CONSOLE; - break; - } - } - - if (empty($routeSecurity)) { - $sdkPlatforms[] = APP_PLATFORM_SERVER; - $sdkPlatforms[] = APP_PLATFORM_CLIENT; - } + $specs = new Specs(); + $sdkPlatforms = $specs->getSDKPlatformsForRouteSecurity($routeSecurity); $sdkPlatforms = array_values(array_unique($sdkPlatforms)); $namespace = $sdk->getNamespace() ?? 'default'; @@ -163,7 +146,6 @@ class Swagger2 extends Format 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', 'demo' => \strtolower($namespace) . '/' . Template::fromCamelCaseToDash($methodName) . '.md', - 'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription() ?? '', 'rate-limit' => $route->getLabel('abuse-limit', 0), 'rate-time' => $route->getLabel('abuse-time', 3600), 'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'), @@ -174,6 +156,10 @@ class Swagger2 extends Format ], ]; + if ($sdk->getDescriptionFilePath() !== null) { + $temp['x-appwrite']['edit'] = 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription(); + } + if ($sdk->getDeprecated()) { $temp['x-appwrite']['deprecated'] = [ 'since' => $sdk->getDeprecated()->getSince(), @@ -192,28 +178,9 @@ class Swagger2 extends Format $desc = $methodObj->getDescriptionFilePath(); $methodSecurities = $methodObj->getAuth(); - $methodSdkPlatforms = []; - foreach ($methodSecurities as $value) { - switch ($value) { - case AuthType::SESSION: - $methodSdkPlatforms[] = APP_PLATFORM_CLIENT; - break; - case AuthType::JWT: - case AuthType::KEY: - $methodSdkPlatforms[] = APP_PLATFORM_SERVER; - break; - case AuthType::ADMIN: - $methodSdkPlatforms[] = APP_PLATFORM_CONSOLE; - break; - } - } + $methodSdkPlatforms = $specs->getSDKPlatformsForRouteSecurity($methodSecurities); - if (empty($methodSecurities)) { - $methodSdkPlatforms[] = APP_PLATFORM_SERVER; - $methodSdkPlatforms[] = APP_PLATFORM_CLIENT; - } - - if ($this->platform !== APP_PLATFORM_CONSOLE && !\in_array($this->platform, $methodSdkPlatforms)) { + if (!\in_array($this->platform, $methodSdkPlatforms)) { continue; } diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php b/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php index 5a0befb739..d179703274 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php @@ -17,4 +17,9 @@ class Projects extends Base { parent::__construct('projects', self::ALLOWED_ATTRIBUTES); } + + public function isSelectQueryAllowed(): bool + { + return true; + } } diff --git a/src/Appwrite/Utopia/Request.php b/src/Appwrite/Utopia/Request.php index ce570d2af9..cb449e6ffa 100644 --- a/src/Appwrite/Utopia/Request.php +++ b/src/Appwrite/Utopia/Request.php @@ -9,6 +9,7 @@ use Swoole\Http\Request as SwooleRequest; use Utopia\Database\Validator\Authorization; use Utopia\Route; use Utopia\Swoole\Request as UtopiaRequest; +use Utopia\System\System; class Request extends UtopiaRequest { @@ -20,6 +21,9 @@ class Request extends UtopiaRequest public function __construct(SwooleRequest $request) { + $trustedHeaders = System::getEnv('_APP_TRUSTED_HEADERS', 'x-forwarded-for'); + $this->setTrustedIpHeaders(explode(',', $trustedHeaders)); + parent::__construct($request); } diff --git a/src/Appwrite/Utopia/Response/Model/Project.php b/src/Appwrite/Utopia/Response/Model/Project.php index 65f9f7685b..7641e96090 100644 --- a/src/Appwrite/Utopia/Response/Model/Project.php +++ b/src/Appwrite/Utopia/Response/Model/Project.php @@ -341,6 +341,20 @@ class Project extends Model */ public function filter(Document $document): Document { + $this->expandSmtpFields($document); + $this->expandServiceFields($document); + $this->expandAuthFields($document); + $this->expandOAuthProviders($document); + + return $document; + } + + private function expandSmtpFields(Document $document): void + { + if (!$document->isSet('smtp')) { + return; + } + // SMTP $smtp = $document->getAttribute('smtp', []); $document->setAttribute('smtpEnabled', $smtp['enabled'] ?? false); @@ -352,8 +366,14 @@ class Project extends Model $document->setAttribute('smtpUsername', $smtp['username'] ?? ''); $document->setAttribute('smtpPassword', $smtp['password'] ?? ''); $document->setAttribute('smtpSecure', $smtp['secure'] ?? ''); + } + + private function expandServiceFields(Document $document): void + { + if (!$document->isSet('services')) { + return; + } - // Services $values = $document->getAttribute('services', []); $services = Config::getParam('services', []); @@ -365,8 +385,14 @@ class Project extends Model $value = $values[$key] ?? true; $document->setAttribute('serviceStatusFor' . ucfirst($key), $value); } + } + + private function expandAuthFields(Document $document): void + { + if (!$document->isSet('auths')) { + return; + } - // Auth $authValues = $document->getAttribute('auths', []); $auth = Config::getParam('auth', []); @@ -383,13 +409,19 @@ class Project extends Model $document->setAttribute('authMembershipsMfa', $authValues['membershipsMfa'] ?? true); $document->setAttribute('authInvalidateSessions', $authValues['invalidateSessions'] ?? false); - foreach ($auth as $index => $method) { + foreach ($auth as $method) { $key = $method['key']; $value = $authValues[$key] ?? true; $document->setAttribute('auth' . ucfirst($key), $value); } + } + + private function expandOAuthProviders(Document $document): void + { + if (!$document->isSet('oAuthProviders')) { + return; + } - // OAuth Providers $providers = Config::getParam('oAuthProviders', []); $providerValues = $document->getAttribute('oAuthProviders', []); $projectProviders = []; @@ -410,7 +442,5 @@ class Project extends Model } $document->setAttribute('oAuthProviders', $projectProviders); - - return $document; } } diff --git a/src/Appwrite/Utopia/Response/Model/Rule.php b/src/Appwrite/Utopia/Response/Model/Rule.php index d4b8ffd9e7..86ac6f470e 100644 --- a/src/Appwrite/Utopia/Response/Model/Rule.php +++ b/src/Appwrite/Utopia/Response/Model/Rule.php @@ -92,9 +92,9 @@ class Rule extends Model ]) ->addRule('logs', [ 'type' => self::TYPE_STRING, - 'description' => 'Certificate generation logs. This will return an empty string if generation did not run, or succeeded.', + 'description' => 'Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.', 'default' => '', - 'example' => 'HTTP challegne failed.', + 'example' => 'Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.', ]) ->addRule('renewAt', [ 'type' => self::TYPE_DATETIME, diff --git a/tests/e2e/General/HTTPTest.php b/tests/e2e/General/HTTPTest.php index b8ccde202e..4012745682 100644 --- a/tests/e2e/General/HTTPTest.php +++ b/tests/e2e/General/HTTPTest.php @@ -31,7 +31,7 @@ class HTTPTest extends Scope $this->assertEquals(204, $response['headers']['status-code']); $this->assertEquals('Appwrite', $response['headers']['server']); $this->assertEquals('GET, POST, PUT, PATCH, DELETE', $response['headers']['access-control-allow-methods']); - $this->assertEquals('Accept, Origin, Cookie, Set-Cookie, Content-Type, Content-Range, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-Appwrite-ID, X-Appwrite-Timestamp, X-Appwrite-Session, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, Range, Cache-Control, Expires, Pragma, X-Fallback-Cookies, X-Requested-With, X-Forwarded-For, X-Forwarded-User-Agent', $response['headers']['access-control-allow-headers']); + $this->assertEquals('Accept, Origin, Cookie, Set-Cookie, Content-Type, Content-Range, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-Appwrite-ID, X-Appwrite-Timestamp, X-Appwrite-Session, X-Appwrite-Platform, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-SDK-Profile, Range, Cache-Control, Expires, Pragma, X-Fallback-Cookies, X-Requested-With, X-Forwarded-For, X-Forwarded-User-Agent', $response['headers']['access-control-allow-headers']); $this->assertEquals('X-Appwrite-Session, X-Fallback-Cookies', $response['headers']['access-control-expose-headers']); $this->assertEquals('http://localhost', $response['headers']['access-control-allow-origin']); $this->assertEquals('true', $response['headers']['access-control-allow-credentials']); diff --git a/tests/e2e/Scopes/ProjectCustom.php b/tests/e2e/Scopes/ProjectCustom.php index c2b4896814..52c53016d6 100644 --- a/tests/e2e/Scopes/ProjectCustom.php +++ b/tests/e2e/Scopes/ProjectCustom.php @@ -161,9 +161,9 @@ trait ProjectCustom 'senderEmail' => 'mailer@appwrite.io', 'senderName' => 'Mailer', 'host' => 'maildev', - 'port' => 1025, - 'username' => '', - 'password' => '', + 'port' => intval(System::getEnv('_APP_SMTP_PORT', "1025")), + 'username' => System::getEnv('_APP_SMTP_USERNAME', 'user'), + 'password' => System::getEnv('_APP_SMTP_PASSWORD', 'password'), ]); $project = [ diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 13b5015241..0c9d481371 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -326,4 +326,41 @@ trait AccountBase $this->assertEquals($response['headers']['status-code'], 204); } + + public function testFallbackForTrustedIp(): void + { + $email = uniqid() . 'user@localhost.test'; + $password = 'password'; + $name = 'User Name'; + + // call appwrite directly to avoid proxy stripping the headers + $this->client->setEndpoint('http://localhost/v1'); + + $response = $this->client->call(Client::METHOD_POST, '/account', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-forwarded-for' => '191.0.113.195', + ]), [ + 'userId' => ID::unique(), + 'email' => $email, + 'password' => $password, + 'name' => $name, + ]); + + $this->assertEquals($response['headers']['status-code'], 201); + + $response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-forwarded-for' => '191.0.113.195', + ]), [ + 'email' => $email, + 'password' => $password, + ]); + + $this->assertEquals($response['headers']['status-code'], 201); + $this->assertEquals('191.0.113.195', $response['body']['clientIp'] ?? $response['body']['ip'] ?? ''); + } } diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 457799f991..b7f3fcc03d 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -1845,7 +1845,7 @@ class AccountCustomClientTest extends Scope ])); $this->assertEquals(201, $response['headers']['status-code']); - $this->assertEquals(99, $response['headers']['x-ratelimit-remaining']); + $this->assertEquals(119, $response['headers']['x-ratelimit-remaining']); $this->assertNotEmpty($response['body']['jwt']); $this->assertIsString($response['body']['jwt']); @@ -1887,6 +1887,57 @@ class AccountCustomClientTest extends Scope $this->assertEquals(401, $response['headers']['status-code']); + // Test JWT with custom duration + $response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ]), [ + 'email' => $email, + 'password' => $password, + ]); + + $this->assertEquals(201, $response['headers']['status-code']); + + $session = $response['cookies']['a_session_' . $this->getProject()['$id']]; + + $response = $this->client->call(Client::METHOD_POST, '/account/jwt', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $session, + ]), [ + 'duration' => 5 + ]); + + $this->assertEquals(201, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']['jwt']); + + $jwt = $response['body']['jwt']; + + // Ensure JWT works before expiration + $response = $this->client->call(Client::METHOD_GET, '/account', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-jwt' => $jwt, + ])); + + $this->assertEquals(200, $response['headers']['status-code']); + + // Wait for JWT to expire + \sleep(6); + + // Ensure JWT no longer works after expiration + $response = $this->client->call(Client::METHOD_GET, '/account', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-jwt' => $jwt, + ])); + + $this->assertEquals(401, $response['headers']['status-code']); + return []; } @@ -2183,6 +2234,157 @@ class AccountCustomClientTest extends Scope $this->assertEquals('tuvwxyz', $response['body']['providerRefreshToken']); $this->assertNotEquals($initialExpiry, $response['body']['providerAccessTokenExpiry']); + // Clean up - delete the user + $response = $this->client->call(Client::METHOD_DELETE, '/users/' . $userId, array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'], + ])); + + $this->assertEquals(204, $response['headers']['status-code']); + + return []; + } + + public function testOAuthUnverifiedEmailCannotLinkToExistingAccount() + { + $provider = 'mock-unverified'; + $appId = '1'; + $secret = '123456'; + + // First, create a user with the same email that the unverified OAuth will try to use + $email = 'useroauthunverified@localhost.test'; + $password = 'password'; + + $response = $this->client->call(Client::METHOD_POST, '/account', [ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], [ + 'userId' => ID::unique(), + 'email' => $email, + 'password' => $password, + ]); + + $this->assertEquals(201, $response['headers']['status-code']); + $existingUserId = $response['body']['$id']; + + // Enable the mock-unverified provider + $response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $this->getProject()['$id'] . '/oauth2', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => 'console', + 'cookie' => 'a_session_console=' . $this->getRoot()['session'], + ]), [ + 'provider' => $provider, + 'appId' => $appId, + 'secret' => $secret, + 'enabled' => true, + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + + // Attempt OAuth login with unverified email - should fail because existing user has same email + $response = $this->client->call(Client::METHOD_GET, '/account/sessions/oauth2/' . $provider, array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ]), [ + 'success' => 'http://localhost/v1/mock/tests/general/oauth2/success', + 'failure' => 'http://localhost/v1/mock/tests/general/oauth2/failure', + ]); + + $this->assertEquals(400, $response['headers']['status-code']); + $this->assertEquals('failure', $response['body']['result']); + + // Clean up - delete the user + $response = $this->client->call(Client::METHOD_DELETE, '/users/' . $existingUserId, array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'], + ])); + + $this->assertEquals(204, $response['headers']['status-code']); + + return []; + } + + public function testOAuthVerifiedEmailCanLinkToExistingAccount() + { + $provider = 'mock'; + $appId = '1'; + $secret = '123456'; + $email = 'useroauth@localhost.test'; + + // Create a user with the same email that the verified OAuth will try to use + $response = $this->client->call(Client::METHOD_POST, '/account', [ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], [ + 'userId' => ID::unique(), + 'email' => $email, + 'password' => 'password', + ]); + + $this->assertEquals(201, $response['headers']['status-code']); + $existingUserId = $response['body']['$id']; + + // Enable the mock provider + $response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $this->getProject()['$id'] . '/oauth2', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => 'console', + 'cookie' => 'a_session_console=' . $this->getRoot()['session'], + ]), [ + 'provider' => $provider, + 'appId' => $appId, + 'secret' => $secret, + 'enabled' => true, + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + + // Attempt OAuth login with verified email - should succeed and link to existing account + $response = $this->client->call(Client::METHOD_GET, '/account/sessions/oauth2/' . $provider, array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ]), [ + 'success' => 'http://localhost/v1/mock/tests/general/oauth2/success', + 'failure' => 'http://localhost/v1/mock/tests/general/oauth2/failure', + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals('success', $response['body']['result']); + + // Verify the OAuth identity was linked to the existing user + $sessionCookieKey = 'a_session_' . $this->getProject()['$id']; + $session = $response['cookies'][$sessionCookieKey]; + + $response = $this->client->call(Client::METHOD_GET, '/account', array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $session, + ])); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals($existingUserId, $response['body']['$id']); + $this->assertEquals($email, $response['body']['email']); + + // Clean up - delete the user + $response = $this->client->call(Client::METHOD_DELETE, '/users/' . $existingUserId, array_merge([ + 'origin' => 'http://localhost', + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'], + ])); + + $this->assertEquals(204, $response['headers']['status-code']); + return []; } diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index d43d183e5a..d1d2c9687d 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -6118,6 +6118,7 @@ trait DatabasesBase ])); $this->assertEquals(200, $inc['headers']['status-code']); $this->assertEquals(6, $inc['body']['count']); + $this->assertEquals($collectionId, $inc['body']['$collectionId']); // Verify count = 6 $get = $this->client->call(Client::METHOD_GET, "/databases/$databaseId/collections/$collectionId/documents/$docId", array_merge([ @@ -6229,6 +6230,7 @@ trait DatabasesBase ])); $this->assertEquals(200, $dec['headers']['status-code']); $this->assertEquals(9, $dec['body']['count']); + $this->assertEquals($collectionId, $dec['body']['$collectionId']); $get = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ 'content-type' => 'application/json', diff --git a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php index e74431c779..ba111e5923 100644 --- a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php +++ b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php @@ -7760,6 +7760,7 @@ trait DatabasesBase 'x-appwrite-project' => $this->getProject()['$id'], ])); $this->assertEquals(200, $inc['headers']['status-code']); + $this->assertEquals($tableId, $inc['body']['$tableId']); $this->assertEquals(6, $inc['body']['count']); // Verify count = 6 @@ -7872,6 +7873,7 @@ trait DatabasesBase ])); $this->assertEquals(200, $dec['headers']['status-code']); $this->assertEquals(9, $dec['body']['count']); + $this->assertEquals($tableId, $dec['body']['$tableId']); $get = $this->client->call(Client::METHOD_GET, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ 'content-type' => 'application/json', diff --git a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php index 9526c5a4da..fae6031672 100644 --- a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php +++ b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php @@ -23,9 +23,9 @@ class ProjectsConsoleClientTest extends Scope use Async; /** - * @group devKeys * @group smtpAndTemplates - * @group projectsCRUD */ + * @group projectsCRUD + */ public function testCreateProject(): array { /** @@ -257,11 +257,11 @@ class ProjectsConsoleClientTest extends Scope 'search' => $id ])); - $this->assertEquals($response['headers']['status-code'], 200); - $this->assertEquals($response['body']['total'], 3); + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals(4, $response['body']['total']); $this->assertIsArray($response['body']['projects']); - $this->assertCount(3, $response['body']['projects']); - $this->assertEquals($response['body']['projects'][0]['name'], 'Project Test'); + $this->assertCount(4, $response['body']['projects']); + $this->assertEquals('Project Test', $response['body']['projects'][0]['name']); $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ 'content-type' => 'application/json', @@ -271,9 +271,9 @@ class ProjectsConsoleClientTest extends Scope ])); $this->assertEquals($response['headers']['status-code'], 200); - $this->assertEquals(3, $response['body']['total']); + $this->assertEquals(4, $response['body']['total']); $this->assertIsArray($response['body']['projects']); - $this->assertCount(3, $response['body']['projects']); + $this->assertCount(4, $response['body']['projects']); $this->assertEquals($response['body']['projects'][0]['$id'], $data['projectId']); /** @@ -348,8 +348,8 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertNotEmpty($response['body']); - $this->assertCount(1, $response['body']['projects']); - $this->assertEquals('Project Test 2', $response['body']['projects'][0]['name']); + $this->assertCount(2, $response['body']['projects']); + $this->assertEquals('Team 1 Project', $response['body']['projects'][0]['name']); $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ 'content-type' => 'application/json', @@ -376,7 +376,7 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertNotEmpty($response['body']); - $this->assertCount(4, $response['body']['projects']); + $this->assertCount(5, $response['body']['projects']); $this->assertEquals('Project Test 2', $response['body']['projects'][0]['name']); $this->assertEquals('Team 1 Project', $response['body']['projects'][1]['name']); @@ -387,9 +387,9 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertNotEmpty($response['body']); - $this->assertCount(4, $response['body']['projects']); + $this->assertCount(5, $response['body']['projects']); $this->assertEquals('Project Test', $response['body']['projects'][0]['name']); - $this->assertEquals('Team 1 Project', $response['body']['projects'][2]['name']); + $this->assertEquals('Original Project', $response['body']['projects'][2]['name']); $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ 'content-type' => 'application/json', @@ -402,8 +402,8 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertNotEmpty($response['body']); - $this->assertCount(3, $response['body']['projects']); - $this->assertEquals('Team 1 Project', $response['body']['projects'][1]['name']); + $this->assertCount(4, $response['body']['projects']); + $this->assertEquals('Original Project', $response['body']['projects'][1]['name']); $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ 'content-type' => 'application/json', @@ -436,6 +436,267 @@ class ProjectsConsoleClientTest extends Scope return $data; } + /** + * @group projectsCRUD + */ + public function testListProjectsQuerySelect(): void + { + $team = $this->client->call(Client::METHOD_POST, '/teams', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'teamId' => ID::unique(), + 'name' => 'Query Select Test Team', + ]); + + $this->assertEquals(201, $team['headers']['status-code']); + $teamId = $team['body']['$id']; + + $project = $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' => 'Query Select Test Project', + 'teamId' => $teamId, + 'region' => System::getEnv('_APP_REGION', 'default') + ]); + + $this->assertEquals(201, $project['headers']['status-code']); + $projectId = $project['body']['$id']; + + /** + * Test Query.select - basic fields + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertGreaterThan(0, count($response['body']['projects'])); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayNotHasKey('platforms', $project); + $this->assertArrayNotHasKey('webhooks', $project); + $this->assertArrayNotHasKey('keys', $project); + $this->assertArrayNotHasKey('devKeys', $project); + $this->assertArrayNotHasKey('oAuthProviders', $project); + $this->assertArrayNotHasKey('smtpEnabled', $project); + $this->assertArrayNotHasKey('smtpHost', $project); + $this->assertArrayNotHasKey('authLimit', $project); + $this->assertArrayNotHasKey('authDuration', $project); + + /** + * Test Query.select - multiple fields + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name', 'teamId', 'description', '$createdAt', '$updatedAt'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertGreaterThan(0, count($response['body']['projects'])); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayHasKey('teamId', $project); + $this->assertArrayHasKey('description', $project); + $this->assertArrayHasKey('$createdAt', $project); + $this->assertArrayHasKey('$updatedAt', $project); + $this->assertArrayNotHasKey('platforms', $project); + $this->assertArrayNotHasKey('webhooks', $project); + $this->assertArrayNotHasKey('keys', $project); + $this->assertArrayNotHasKey('devKeys', $project); + $this->assertArrayNotHasKey('oAuthProviders', $project); + $this->assertArrayNotHasKey('smtpEnabled', $project); + $this->assertArrayNotHasKey('authLimit', $project); + + /** + * Test Query.select combined with filters + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name', 'teamId'])->toString(), + Query::equal('name', ['Query Select Test Project'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertCount(1, $response['body']['projects']); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayHasKey('teamId', $project); + $this->assertEquals('Query Select Test Project', $project['name']); + $this->assertEquals($teamId, $project['teamId']); + $this->assertArrayNotHasKey('platforms', $project); + $this->assertArrayNotHasKey('webhooks', $project); + $this->assertArrayNotHasKey('keys', $project); + $this->assertArrayNotHasKey('devKeys', $project); + $this->assertArrayNotHasKey('oAuthProviders', $project); + $this->assertArrayNotHasKey('smtpEnabled', $project); + $this->assertArrayNotHasKey('authLimit', $project); + + /** + * Test Query.select combined with limit + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name'])->toString(), + Query::limit(2)->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertLessThanOrEqual(2, count($response['body']['projects'])); + + foreach ($response['body']['projects'] as $p) { + $this->assertArrayHasKey('$id', $p); + $this->assertArrayHasKey('name', $p); + $this->assertArrayNotHasKey('platforms', $p); + $this->assertArrayNotHasKey('webhooks', $p); + $this->assertArrayNotHasKey('keys', $p); + $this->assertArrayNotHasKey('devKeys', $p); + $this->assertArrayNotHasKey('oAuthProviders', $p); + $this->assertArrayNotHasKey('smtpEnabled', $p); + $this->assertArrayNotHasKey('authLimit', $p); + } + + /** + * Test Query.select with subquery attributes (platforms, webhooks, etc.) + * When explicitly selected, subqueries should still run + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name', 'platforms'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertGreaterThan(0, count($response['body']['projects'])); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayHasKey('platforms', $project); + $this->assertIsArray($project['platforms']); + $this->assertArrayNotHasKey('webhooks', $project); + $this->assertArrayNotHasKey('keys', $project); + $this->assertArrayNotHasKey('devKeys', $project); + $this->assertArrayNotHasKey('oAuthProviders', $project); + $this->assertArrayNotHasKey('smtpEnabled', $project); + $this->assertArrayNotHasKey('authLimit', $project); + + /** + * Test Query.select with expanded attributes + * webhooks and keys should load their subquery data when selected + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'name', 'webhooks', 'keys'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertGreaterThan(0, count($response['body']['projects'])); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayHasKey('webhooks', $project); + $this->assertArrayHasKey('keys', $project); + $this->assertIsArray($project['webhooks']); + $this->assertIsArray($project['keys']); + $this->assertArrayNotHasKey('platforms', $project); + $this->assertArrayNotHasKey('devKeys', $project); + $this->assertArrayNotHasKey('smtpEnabled', $project); + $this->assertArrayNotHasKey('authLimit', $project); + + /** + * Test Query.select with wildcard '*' + * Should return all fields like no select query + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['*'])->toString(), + ], + ]); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertNotEmpty($response['body']); + $this->assertGreaterThan(0, count($response['body']['projects'])); + + $project = $response['body']['projects'][0]; + $this->assertArrayHasKey('$id', $project); + $this->assertArrayHasKey('name', $project); + $this->assertArrayHasKey('teamId', $project); + $this->assertArrayHasKey('platforms', $project); + $this->assertArrayHasKey('webhooks', $project); + $this->assertArrayHasKey('keys', $project); + $this->assertArrayHasKey('devKeys', $project); + $this->assertArrayHasKey('oAuthProviders', $project); + $this->assertArrayHasKey('smtpEnabled', $project); + $this->assertArrayHasKey('smtpHost', $project); + $this->assertArrayHasKey('authLimit', $project); + $this->assertArrayHasKey('authDuration', $project); + + /** + * Test Query.select with invalid attribute + */ + $response = $this->client->call(Client::METHOD_GET, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::select(['$id', 'invalidAttribute'])->toString(), + ], + ]); + + $this->assertEquals(400, $response['headers']['status-code']); + $this->assertEquals('Invalid `queries` param: Invalid query: Attribute not found in schema: invalidAttribute', $response['body']['message']); + + $response = $this->client->call(Client::METHOD_DELETE, '/projects/' . $projectId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + + $this->assertEquals(204, $response['headers']['status-code']); + } + public function testGetProject(): void { // Create a team @@ -618,6 +879,14 @@ class ProjectsConsoleClientTest extends Scope public function testUpdateProjectSMTP($data): array { $id = $data['projectId']; + $smtpHost = System::getEnv('_APP_SMTP_HOST', "maildev"); + $smtpPort = intval(System::getEnv('_APP_SMTP_PORT', "1025")); + $smtpUsername = System::getEnv('_APP_SMTP_USERNAME', 'user'); + $smtpPassword = System::getEnv('_APP_SMTP_PASSWORD', 'password'); + + /** + * Test for SUCCESS: Valid Credentials + */ $response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], @@ -625,23 +894,23 @@ class ProjectsConsoleClientTest extends Scope 'enabled' => true, 'senderEmail' => 'mailer@appwrite.io', 'senderName' => 'Mailer', - 'host' => 'maildev', - 'port' => 1025, - 'username' => 'user', - 'password' => 'password', + 'host' => $smtpHost, + 'port' => $smtpPort, + 'username' => $smtpUsername, + 'password' => $smtpPassword, ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertTrue($response['body']['smtpEnabled']); $this->assertEquals('mailer@appwrite.io', $response['body']['smtpSenderEmail']); $this->assertEquals('Mailer', $response['body']['smtpSenderName']); - $this->assertEquals('maildev', $response['body']['smtpHost']); - $this->assertEquals(1025, $response['body']['smtpPort']); - $this->assertEquals('user', $response['body']['smtpUsername']); - $this->assertEquals('password', $response['body']['smtpPassword']); + $this->assertEquals($smtpHost, $response['body']['smtpHost']); + $this->assertEquals($smtpPort, $response['body']['smtpPort']); + $this->assertEquals($smtpUsername, $response['body']['smtpUsername']); + $this->assertEquals($smtpPassword, $response['body']['smtpPassword']); $this->assertEquals('', $response['body']['smtpSecure']); - /** Test Reading Project */ + // Check the project $response = $this->client->call(Client::METHOD_GET, '/projects/' . $id, array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], @@ -651,12 +920,32 @@ class ProjectsConsoleClientTest extends Scope $this->assertTrue($response['body']['smtpEnabled']); $this->assertEquals('mailer@appwrite.io', $response['body']['smtpSenderEmail']); $this->assertEquals('Mailer', $response['body']['smtpSenderName']); - $this->assertEquals('maildev', $response['body']['smtpHost']); - $this->assertEquals(1025, $response['body']['smtpPort']); - $this->assertEquals('user', $response['body']['smtpUsername']); - $this->assertEquals('password', $response['body']['smtpPassword']); + $this->assertEquals($smtpHost, $response['body']['smtpHost']); + $this->assertEquals($smtpPort, $response['body']['smtpPort']); + $this->assertEquals($smtpUsername, $response['body']['smtpUsername']); + $this->assertEquals($smtpPassword, $response['body']['smtpPassword']); $this->assertEquals('', $response['body']['smtpSecure']); + /** + * Test for FAILURE: Invalid Credentials + */ + $response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'enabled' => true, + 'senderEmail' => 'fail@appwrite.io', + 'senderName' => 'Failing Mailer', + 'host' => $smtpHost, + 'port' => $smtpPort, + 'username' => 'invalid-user', + 'password' => 'bad-password', + ]); + + $this->assertEquals(400, $response['headers']['status-code']); + $this->assertEquals(Exception::PROJECT_SMTP_CONFIG_INVALID, $response['body']['type']); + $this->assertStringContainsStringIgnoringCase('Could not authenticate', $response['body']['message']); + return $data; } @@ -665,6 +954,11 @@ class ProjectsConsoleClientTest extends Scope */ public function testCreateProjectSMTPTests(): void { + $smtpHost = System::getEnv('_APP_SMTP_HOST', "maildev"); + $smtpPort = intval(System::getEnv('_APP_SMTP_PORT', "1025")); + $smtpUsername = System::getEnv('_APP_SMTP_USERNAME', 'user'); + $smtpPassword = System::getEnv('_APP_SMTP_PASSWORD', 'password'); + // Create a team $team = $this->client->call(Client::METHOD_POST, '/teams', array_merge([ 'content-type' => 'application/json', @@ -699,10 +993,10 @@ class ProjectsConsoleClientTest extends Scope 'senderEmail' => 'custommailer@appwrite.io', 'senderName' => 'Custom Mailer', 'replyTo' => 'reply@appwrite.io', - 'host' => 'maildev', - 'port' => 1025, - 'username' => '', - 'password' => '', + 'host' => $smtpHost, + 'port' => $smtpPort, + 'username' => $smtpUsername, + 'password' => $smtpPassword, ]); $this->assertEquals(204, $response['headers']['status-code']); @@ -736,10 +1030,10 @@ class ProjectsConsoleClientTest extends Scope 'senderEmail' => 'custommailer@appwrite.io', 'senderName' => 'Custom Mailer', 'replyTo' => 'reply@appwrite.io', - 'host' => 'maildev', - 'port' => 1025, - 'username' => '', - 'password' => '', + 'host' => $smtpHost, + 'port' => $smtpPort, + 'username' => $smtpUsername, + 'password' => $smtpPassword, ]); $this->assertEquals(204, $response['headers']['status-code']); @@ -752,10 +1046,10 @@ class ProjectsConsoleClientTest extends Scope 'senderEmail' => 'custommailer@appwrite.io', 'senderName' => 'Custom Mailer', 'replyTo' => 'reply@appwrite.io', - 'host' => 'maildev', - 'port' => 1025, - 'username' => '', - 'password' => '', + 'host' => $smtpHost, + 'port' => $smtpPort, + 'username' => $smtpUsername, + 'password' => $smtpPassword, ]); $this->assertEquals(400, $response['headers']['status-code']); @@ -776,7 +1070,7 @@ class ProjectsConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(200, $response['headers']['status-code']); - $this->assertEquals('Account Verification', $response['body']['subject']); + $this->assertEquals('Account Verification for {{project}}', $response['body']['subject']); $this->assertEquals('', $response['body']['senderEmail']); $this->assertEquals('verification', $response['body']['type']); $this->assertEquals('en-us', $response['body']['locale']); @@ -879,7 +1173,7 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertNotEmpty($response['body']['$id']); - $this->assertEquals('Project Test 2', $response['body']['name']); + $this->assertEquals('Project Test', $response['body']['name']); $this->assertArrayHasKey('platforms', $response['body']); $this->assertArrayHasKey('webhooks', $response['body']); $this->assertArrayHasKey('keys', $response['body']); @@ -959,39 +1253,6 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals(15, $response['body']['authDuration']); - // Create session - $response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $projectId, - ]), [ - 'email' => $userEmail, - 'password' => 'password', - ]); - - $this->assertEquals(201, $response['headers']['status-code']); - - $sessionCookie = $response['headers']['set-cookie']; - - // Wait 10 seconds, ensure valid session, extend session - \sleep(10); - - $response = $this->client->call(Client::METHOD_GET, '/account', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $projectId, - 'Cookie' => $sessionCookie, - ])); - - $this->assertEquals(200, $response['headers']['status-code']); - - $response = $this->client->call(Client::METHOD_PATCH, '/account/sessions/current', array_merge([ - 'origin' => 'http://localhost', - 'content-type' => 'application/json', - 'x-appwrite-project' => $projectId, - 'cookie' => $sessionCookie, - ])); - - $this->assertEquals(200, $response['headers']['status-code']); - // Wait 20 seconds, ensure non-valid session \sleep(20); @@ -1590,6 +1851,8 @@ class ProjectsConsoleClientTest extends Scope $sessionCookie = $response['headers']['set-cookie']; $sessionId2 = $response['body']['$id']; + sleep(5); // fixes flaky tests. + /** * List sessions */ @@ -3132,7 +3395,7 @@ class ProjectsConsoleClientTest extends Scope $this->assertContains('users.write', $response['body']['scopes']); $this->assertContains('collections.read', $response['body']['scopes']); $this->assertContains('tables.read', $response['body']['scopes']); - $this->assertCount(3, $response['body']['scopes']); + $this->assertCount(4, $response['body']['scopes']); $this->assertArrayHasKey('sdks', $response['body']); $this->assertEmpty($response['body']['sdks']); $this->assertArrayHasKey('accessedAt', $response['body']); @@ -3151,7 +3414,7 @@ class ProjectsConsoleClientTest extends Scope $this->assertContains('users.write', $response['body']['scopes']); $this->assertContains('collections.read', $response['body']['scopes']); $this->assertContains('tables.read', $response['body']['scopes']); - $this->assertCount(3, $response['body']['scopes']); + $this->assertCount(4, $response['body']['scopes']); $this->assertArrayHasKey('sdks', $response['body']); $this->assertEmpty($response['body']['sdks']); $this->assertArrayHasKey('accessedAt', $response['body']); @@ -5086,8 +5349,8 @@ class ProjectsConsoleClientTest extends Scope $this->assertEmpty($response['body']); /** - * Get rate limit trying to use the deleted key - */ + * Get rate limit trying to use the deleted key + */ $response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', [ 'content-type' => 'application/json', 'x-appwrite-project' => $projectId, diff --git a/tests/e2e/Services/Proxy/ProxyCustomServerTest.php b/tests/e2e/Services/Proxy/ProxyCustomServerTest.php index 3fbbb7d5e9..1830adbae3 100644 --- a/tests/e2e/Services/Proxy/ProxyCustomServerTest.php +++ b/tests/e2e/Services/Proxy/ProxyCustomServerTest.php @@ -15,6 +15,36 @@ class ProxyCustomServerTest extends Scope use ProjectCustom; use SideServer; + protected function tearDown(): void + { + // Cleanup for testRuleVerification test + // Required as it uses static domain name + $rules = $this->listRules([ + 'queries' => [ + Query::endsWith('domain', 'webapp.com')->toString(), + Query::limit(1000)->toString(), + ] + ]); + $this->assertEquals(200, $rules['headers']['status-code']); + foreach ($rules['body']['rules'] as $rule) { + $ruleId = $rule['$id']; + $response = $this->deleteRule($ruleId); + $this->assertEquals(204, $response['headers']['status-code']); + } + + if ($rules['body']['total'] > 0) { + $rules = $this->listRules([ + 'queries' => [ + Query::endsWith('domain', 'webapp.com')->toString(), + Query::limit(1)->toString() + ] + ]); + $this->assertEquals(200, $rules['headers']['status-code']); + $this->assertEquals(0, count($rules['body']['rules'])); + $this->assertEquals(0, $rules['body']['total']); + } + } + public function testCreateRule(): void { $domain = \uniqid() . '-api.myapp.com'; @@ -539,4 +569,171 @@ class ProxyCustomServerTest extends Scope $this->assertEquals(0, $rules['body']['total']); $this->assertCount(0, $rules['body']['rules']); } + + public function testRuleVerification(): void + { + + // 1. Site rule can verify + $site = $this->setupSite(); + $siteId = $site['siteId']; + + $rule = $this->createSiteRule('stage-site.webapp.com', $siteId); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + $this->assertNotEmpty($rule['body']['$id']); + $ruleId = $rule['body']['$id']; + + $rule = $this->updateRuleVerification($ruleId); + $this->assertEquals(200, $rule['headers']['status-code']); + $this->assertEquals($ruleId, $rule['body']['$id']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + + $this->cleanupRule($rule['body']['$id']); + $this->cleanupSite($siteId); + + // 2. Function rule can verify + $function = $this->setupFunction(); + $functionId = $function['functionId']; + + $rule = $this->createFunctionRule('stage-function.webapp.com', $functionId); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + $this->cleanupRule($rule['body']['$id']); + + $rule = $this->createAPIRule('stage-site.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertStringContainsString('has incorrect CNAME value', $rule['body']['logs']); + $this->cleanupRule($rule['body']['$id']); + + $this->cleanupFunction($functionId); + + // 3. Wrong A record fails to verify + $rule = $this->createAPIRule('wrong-a-webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertStringContainsString('is missing CNAME record', $rule['body']['logs']); + + $ruleId = $rule['body']['$id']; + $rule = $this->updateRuleVerification($ruleId); + $this->assertEquals(400, $rule['headers']['status-code']); + $this->assertStringContainsString('is missing CNAME record', $rule['body']['message']); + + $rule = $this->getRule($ruleId); + $this->assertEquals(200, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + + $this->cleanupRule($ruleId); + + // 4. Correct A record can verify + $rule = $this->createAPIRule('webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + + $this->cleanupRule($rule['body']['$id']); + + // 5. Correct CNAME record can verify (no CAA record) + $rule = $this->createAPIRule('stage.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + + $this->cleanupRule($rule['body']['$id']); + + // 6. Missing CNAME record fails to verify + $rule = $this->createAPIRule('stage-missing-cname.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertStringContainsString('is missing CNAME record', $rule['body']['logs']); + + $ruleId = $rule['body']['$id']; + $rule = $this->updateRuleVerification($ruleId); + $this->assertEquals(400, $rule['headers']['status-code']); + $this->assertStringContainsString('is missing CNAME record', $rule['body']['message']); + + $rule = $this->getRule($ruleId); + $this->assertEquals(200, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + + $this->cleanupRule($ruleId); + + // 7. Wrong CNAME record fails to verify + $rule = $this->createAPIRule('stage-wrong-cname.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertStringContainsString('has incorrect CNAME value', $rule['body']['logs']); + + $ruleId = $rule['body']['$id']; + $rule = $this->updateRuleVerification($ruleId); + $this->assertEquals(400, $rule['headers']['status-code']); + $this->assertStringContainsString('has incorrect CNAME value', $rule['body']['message']); + + $rule = $this->getRule($ruleId); + $this->assertEquals(200, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + + $this->cleanupRule($ruleId); + + // 8. Wrong CAA record fails to verify + $rule = $this->createAPIRule('stage-wrong-caa.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertStringContainsString('has incorrect CAA value', $rule['body']['logs']); + + $ruleId = $rule['body']['$id']; + $rule = $this->updateRuleVerification($ruleId); + $this->assertEquals(400, $rule['headers']['status-code']); + $this->assertStringContainsString('has incorrect CAA value', $rule['body']['message']); + + $rule = $this->getRule($ruleId); + $this->assertEquals(200, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + + $this->cleanupRule($ruleId); + + // 9. Correct CAA record can verify + $rule = $this->createAPIRule('stage-correct-caa.webapp.com'); + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('verifying', $rule['body']['status']); + $this->assertEmpty($rule['body']['logs']); + + $this->cleanupRule($rule['body']['$id']); + } + + public function testUpdateRuleVerificationWithSameDataUpdatesTimestamp(): void + { + $domain = \uniqid() . '-timestamp-test.webapp.com'; + $rule = $this->createAPIRule($domain); + + $this->assertEquals(201, $rule['headers']['status-code']); + $this->assertEquals('created', $rule['body']['status']); + $this->assertNotEmpty($rule['body']['logs']); + + $ruleId = $rule['body']['$id']; + $initialUpdatedAt = $rule['body']['$updatedAt']; + $initiallogs = $rule['body']['logs']; + + sleep(1); + + $updatedRule = $this->updateRuleVerification($ruleId); + + $this->assertEquals(400, $updatedRule['headers']['status-code']); + $this->assertStringContainsString($initiallogs, $updatedRule['body']['message']); + + $ruleAfterUpdate = $this->getRule($ruleId); + $this->assertEquals(200, $ruleAfterUpdate['headers']['status-code']); + $this->assertEquals('created', $ruleAfterUpdate['body']['status']); + $this->assertEquals($initiallogs, $ruleAfterUpdate['body']['logs']); + $this->assertNotEquals($initialUpdatedAt, $ruleAfterUpdate['body']['$updatedAt']); + + $initialTime = new \DateTime($initialUpdatedAt); + $updatedTime = new \DateTime($ruleAfterUpdate['body']['$updatedAt']); + $this->assertGreaterThan($initialTime, $updatedTime); + + $this->cleanupRule($ruleId); + } } diff --git a/tests/e2e/Services/Storage/StorageConsoleClientTest.php b/tests/e2e/Services/Storage/StorageConsoleClientTest.php index 5c618d6357..2c39a12f09 100644 --- a/tests/e2e/Services/Storage/StorageConsoleClientTest.php +++ b/tests/e2e/Services/Storage/StorageConsoleClientTest.php @@ -160,4 +160,40 @@ class StorageConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(204, $response['headers']['status-code']); } + + public function testFilePermissionNotAutoSetInConsole(): void + { + // Create a bucket + $bucket = $this->client->call(Client::METHOD_POST, '/storage/buckets', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'bucketId' => ID::unique(), + 'name' => 'Test Bucket Permissions', + 'fileSecurity' => true, + ]); + $this->assertEquals(201, $bucket['headers']['status-code']); + $bucketId = $bucket['body']['$id']; + + // Create a file without providing permissions (console client should not auto-set permissions) + $file = $this->client->call(Client::METHOD_POST, '/storage/buckets/' . $bucketId . '/files', array_merge([ + 'content-type' => 'multipart/form-data', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'fileId' => ID::unique(), + 'file' => new CURLFile(realpath(__DIR__ . '/../../../resources/logo.png'), 'image/png', 'test.png'), + ]); + $this->assertEquals(201, $file['headers']['status-code']); + + // Verify file permissions are empty (not auto-set for privileged console user) + $this->assertIsArray($file['body']['$permissions']); + $this->assertEmpty($file['body']['$permissions']); + + // Clean up: delete the bucket + $response = $this->client->call(Client::METHOD_DELETE, '/storage/buckets/' . $bucketId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + $this->assertEquals(204, $response['headers']['status-code']); + } } diff --git a/tests/resources/coredns/Corefile b/tests/resources/coredns/Corefile new file mode 100644 index 0000000000..b156ba336d --- /dev/null +++ b/tests/resources/coredns/Corefile @@ -0,0 +1,73 @@ +# Re-use public resolver to answer unknown queries +. { + forward . 1.1.1.1 +} + +# Zones configuration +webapp.com { + template IN A { + match "^webapp\.com\.$" + answer "{{ .Name }} 60 IN A 203.0.0.1" + fallthrough + } + + template IN CNAME { + match "^stage-site\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CNAME sites.localhost." + fallthrough + } + + template IN CNAME { + match "^stage-function\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CNAME functions.localhost." + fallthrough + } + + template IN CNAME { + match "^stage\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CNAME cname.localhost." + fallthrough + } + + template IN CNAME { + match "^stage-wrong-cname\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CNAME cname-wrong.tests.appwrite.io." + fallthrough + } + + template IN A { + match "^stage-wrong-caa\.webapp\.com\.$" + answer "{{ .Name }} 60 IN A 203.0.0.1" + fallthrough + } + + template IN CAA { + match "^stage-wrong-caa\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CAA 0 issue \"unknown-issuer.org\"" + fallthrough + } + + + template IN A { + match "^stage-correct-caa\.webapp\.com\.$" + answer "{{ .Name }} 60 IN A 203.0.0.1" + fallthrough + } + + template IN CAA { + match "^stage-correct-caa\.webapp\.com\.$" + answer "{{ .Name }} 60 IN CAA 0 issue \"digicert.com\"" + fallthrough + } + + forward . 1.1.1.1 +} + +# Zones configuration +wrong-a-webapp.com { + template IN A { + match "^wrong-a-webapp\.com\.$" + answer "{{ .Name }} 60 IN A 203.0.0.5" + fallthrough + } +} \ No newline at end of file diff --git a/tests/unit/Network/CorsTest.php b/tests/unit/Network/CorsTest.php index 521bf21f1e..986e48ebb5 100644 --- a/tests/unit/Network/CorsTest.php +++ b/tests/unit/Network/CorsTest.php @@ -36,6 +36,21 @@ final class CorsTest extends TestCase $this->assertSame('https://foo.com', $result[Cors::HEADER_ALLOW_ORIGIN]); } + public function testSubdomainWildcardAllowsAnySubdomain(): void + { + $cors = new Cors( + allowedHosts: ['*.example.com'], + allowedMethods: ['GET'], + allowedHeaders: ['X-Test'], + exposedHeaders: [], + allowCredentials: false + ); + + $result = $cors->headers('https://foo.example.com'); + + $this->assertSame('https://foo.example.com', $result[Cors::HEADER_ALLOW_ORIGIN]); + } + public function testEmptyOriginReturnsStaticHeadersOnly(): void { $cors = new Cors( diff --git a/tests/unit/Network/Validators/DNSTest.php b/tests/unit/Network/Validators/DNSTest.php index 4611e00f4d..6e4a78022f 100644 --- a/tests/unit/Network/Validators/DNSTest.php +++ b/tests/unit/Network/Validators/DNSTest.php @@ -3,98 +3,51 @@ namespace Tests\Unit\Network\Validators; use Appwrite\Network\Validator\DNS; -use Appwrite\Tests\Retry; use PHPUnit\Framework\TestCase; use Utopia\DNS\Message\Record; -/** - * DNS Setup (on Appwrite Labs digital ocean team, network tab): - * - * certainly.caa.appwrite.org: CAA 0 issue "certainly.com" - * certainly-full.caa.appwrite.org: CAA 128 issuewild "certainly.com;account=123456;validationmethods=dns-01" - * letsencrypt.certainly.caa.appwrite.org: CAA 0 issue "letsencrypt.org" - */ class DNSTest extends TestCase { - public function testCNAME(): void + public function testSingleDNSServer(): void { - $validator = new DNS('appwrite.io', Record::TYPE_CNAME); - $this->assertEquals($validator->isValid(''), false); - $this->assertEquals($validator->isValid(null), false); - $this->assertEquals($validator->isValid(false), false); - $this->assertEquals($validator->isValid('cname-unit-test.appwrite.org'), true); - $this->assertEquals($validator->isValid('test1.appwrite.org'), false); + $validator = new DNS('appwrite.io', Record::TYPE_CNAME, ['8.8.8.8']); + + $this->assertEquals(false, $validator->isValid('')); + $this->assertEquals(false, $validator->isValid(null)); + $this->assertEquals('string', $validator->getType()); } - public function testA(): void + public function testMultipleDNSServers(): void { - // IPv4 for documentation purposes - $validator = new DNS('203.0.113.1', Record::TYPE_A); - $this->assertEquals($validator->isValid(''), false); - $this->assertEquals($validator->isValid(null), false); - $this->assertEquals($validator->isValid(false), false); - $this->assertEquals($validator->isValid('a-unit-test.appwrite.org'), true); - $this->assertEquals($validator->isValid('test1.appwrite.org'), false); + $validator = new DNS('appwrite.io', Record::TYPE_CNAME, ['8.8.8.8', '1.1.1.1']); + + $this->assertEquals(false, $validator->isValid('')); + $this->assertEquals(false, $validator->isValid(null)); + $this->assertEquals('string', $validator->getType()); } - public function testAAAA(): void + public function testValidationFailure(): void { - // IPv6 for documentation purposes - $validator = new DNS('2001:db8::1', Record::TYPE_AAAA); - $this->assertEquals($validator->isValid(''), false); - $this->assertEquals($validator->isValid(null), false); - $this->assertEquals($validator->isValid(false), false); - $this->assertEquals($validator->isValid('aaaa-unit-test.appwrite.org'), true); - $this->assertEquals($validator->isValid('test1.appwrite.org'), false); + $validator = new DNS('invalid-target.example.com', Record::TYPE_CNAME, ['8.8.8.8', '1.1.1.1']); + + $result = $validator->isValid('nonexistent-domain-' . \uniqid() . '.com'); + + $this->assertEquals(false, $result); + $this->assertIsInt($validator->count); + $this->assertIsString($validator->value); + $this->assertIsArray($validator->records); + $this->assertIsString($validator->getDescription()); } - #[Retry(count: 5)] - public function testCAA(): void + public function testCoreDNSFailure(): void { - $digitalOceanIp = '172.64.52.210'; // ping ns1.digitalocean.com + // CoreDNS is configured to return cname.localhost. for stage.webapp.com + $validator = new DNS('cname.localhost.', Record::TYPE_CNAME, ['172.16.238.100', '8.8.8.8']); - $certainly = new DNS('certainly.com', Record::TYPE_CAA, $digitalOceanIp); - $letsencrypt = new DNS('letsencrypt.org', Record::TYPE_CAA, $digitalOceanIp); + $result = $validator->isValid('stage.webapp.com'); + $this->assertEquals(false, $result); - // No CAA record succeeds on main domain & subdomains for any issuer - $this->assertEquals($certainly->isValid('caa.appwrite.org'), true); - $this->assertEquals($certainly->isValid('sub.caa.appwrite.org'), true); - $this->assertEquals($certainly->isValid('sub.sub.caa.appwrite.org'), true); - - $this->assertEquals($letsencrypt->isValid('caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('sub.caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('sub.sub.caa.appwrite.org'), true); - - // Custom flags and tag is allowed, but only for Certainly - $this->assertEquals($certainly->isValid('certainly-full.caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('certainly-full.caa.appwrite.org'), false); - - // Custom flags&tag are not allowed if validator includes specific flags&tag - $certainlyFull = new DNS('0 issue "certainly.com"', Record::TYPE_CAA); - $this->assertEquals($certainlyFull->isValid('certainly-full.caa.appwrite.org'), false); - - // Custom flags&tag still allows if they match exactly - $certainlyFull = new DNS('128 issuewild "certainly.com;account=123456;validationmethods=dns-01"', Record::TYPE_CAA); - $this->assertEquals($certainlyFull->isValid('certainly-full.caa.appwrite.org'), true); - - // Certainly CAA allows Certainly, but not LetsEncrypt; Same for subdomains - $this->assertEquals($certainly->isValid('certainly.caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('certainly.caa.appwrite.org'), false); - - $this->assertEquals($certainly->isValid('sub.certainly.caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('sub.certainly.caa.appwrite.org'), false); - - $this->assertEquals($certainly->isValid('sub.sub.certainly.caa.appwrite.org'), true); - $this->assertEquals($letsencrypt->isValid('sub.sub.certainly.caa.appwrite.org'), false); - - // LetsEncrypt CAA on subdomain with parent allowing Certainly. Only LetsEncrypt is allowed; Same for subdomains - $this->assertEquals($certainly->isValid('letsencrypt.certainly.caa.appwrite.org'), false); - $this->assertEquals($letsencrypt->isValid('letsencrypt.certainly.caa.appwrite.org'), true); - - $this->assertEquals($certainly->isValid('sub.letsencrypt.certainly.caa.appwrite.org'), false); - $this->assertEquals($letsencrypt->isValid('sub.letsencrypt.certainly.caa.appwrite.org'), true); - - $this->assertEquals($certainly->isValid('sub.sub.letsencrypt.certainly.caa.appwrite.org'), false); - $this->assertEquals($letsencrypt->isValid('sub.sub.letsencrypt.certainly.caa.appwrite.org'), true); + $result = $validator->isValid('stage-wrong-cname.webapp.com'); + $this->assertEquals(false, $result); } }