From 4e0945d0edf3ded6a538fadf4f8212ae29a8db08 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 17 Dec 2025 19:18:57 +1300 Subject: [PATCH 1/5] Update specs --- app/config/specs/open-api3-1.8.x-console.json | 6 +++--- app/config/specs/open-api3-latest-console.json | 6 +++--- app/config/specs/swagger2-1.8.x-console.json | 6 +++--- app/config/specs/swagger2-latest-console.json | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) 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 ae3b98970f..0a3c9395dd 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -60634,8 +60634,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", @@ -60674,7 +60674,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-console.json b/app/config/specs/open-api3-latest-console.json index ae3b98970f..0a3c9395dd 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -60634,8 +60634,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", @@ -60674,7 +60674,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-console.json b/app/config/specs/swagger2-1.8.x-console.json index 589a6d57b5..30e9241792 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -60568,8 +60568,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", @@ -60608,7 +60608,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-console.json b/app/config/specs/swagger2-latest-console.json index 589a6d57b5..30e9241792 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -60568,8 +60568,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", @@ -60608,7 +60608,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" } }, From 3cf8f151c483ed7c11740bc7ab3fb34ba5ec0a1c Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 17 Dec 2025 19:19:05 +1300 Subject: [PATCH 2/5] Update versions --- app/config/sdks.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/config/sdks.php b/app/config/sdks.php index c1cd56784c..78209cc5dd 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -262,7 +262,7 @@ 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, @@ -281,7 +281,7 @@ 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, @@ -300,7 +300,7 @@ 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, @@ -319,7 +319,7 @@ 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, @@ -338,7 +338,7 @@ 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, @@ -357,7 +357,7 @@ 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, @@ -376,7 +376,7 @@ 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, @@ -395,7 +395,7 @@ return [ [ 'key' => 'kotlin', 'name' => 'Kotlin', - 'version' => '13.0.0', + '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, @@ -418,7 +418,7 @@ 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, From fe5d9cc662036ff536a459138c5d2dd7b3b3793d Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 18 Dec 2025 20:23:42 +1300 Subject: [PATCH 3/5] Update changelog --- docs/sdks/dart/CHANGELOG.md | 4 ++++ docs/sdks/dotnet/CHANGELOG.md | 4 ++++ docs/sdks/go/CHANGELOG.md | 4 ++++ docs/sdks/kotlin/CHANGELOG.md | 4 ++++ docs/sdks/nodejs/CHANGELOG.md | 4 ++++ docs/sdks/php/CHANGELOG.md | 4 ++++ docs/sdks/python/CHANGELOG.md | 4 ++++ docs/sdks/ruby/CHANGELOG.md | 4 ++++ docs/sdks/swift/CHANGELOG.md | 4 ++++ 9 files changed, 36 insertions(+) diff --git a/docs/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index 49d45becaf..64688082a7 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 attributes and indexes synchronously while creating a collection + ## 20.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index eabf40dac0..d28f64a2fc 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 attributes and indexes synchronously while creating a collection + ## 0.23.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index c93c431eb7..c51a6ac355 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 attributes and indexes synchronously while creating a collection + ## v0.15.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index 07e9d9647f..6b3dcad5b6 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 attributes and indexes synchronously while creating a collection + ## 13.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index 2811a060f4..c1a4f6a6e1 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 attributes and indexes synchronously while creating a collection + ## 21.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index 1ffcff2a6e..0896065aec 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 attributes and indexes synchronously while creating a collection + ## 19.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index ff2ac85322..aaf6fd89fc 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 attributes and indexes synchronously while creating a collection + ## 14.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index 272f9b6631..a667268a2d 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 attributes and indexes synchronously while creating a collection + ## 20.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index 22ae4719a3..25bfd7182c 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 attributes and indexes synchronously while creating a collection + ## 14.0.0 * Rename `VCSDeploymentType` enum to `VCSReferenceType` From 36690229c540443f6800abb92923f09e0b251062 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 18 Dec 2025 20:23:49 +1300 Subject: [PATCH 4/5] Update lock --- composer.lock | 86 +++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/composer.lock b/composer.lock index 4ffc7e7db4..748cb5abb4 100644 --- a/composer.lock +++ b/composer.lock @@ -3654,16 +3654,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 +3672,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 +3700,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 +3896,16 @@ }, { "name": "utopia-php/database", - "version": "3.6.0", + "version": "3.6.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "af15066255a5fd7bd2926de37bcbf3d8500fc155" + "reference": "c8c1b2f5770245dd4006e2680681e3efbe8b1fa7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/af15066255a5fd7bd2926de37bcbf3d8500fc155", - "reference": "af15066255a5fd7bd2926de37bcbf3d8500fc155", + "url": "https://api.github.com/repos/utopia-php/database/zipball/c8c1b2f5770245dd4006e2680681e3efbe8b1fa7", + "reference": "c8c1b2f5770245dd4006e2680681e3efbe8b1fa7", "shasum": "" }, "require": { @@ -3948,9 +3948,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/3.6.0" + "source": "https://github.com/utopia-php/database/tree/3.6.1" }, - "time": "2025-12-08T05:23:04+00:00" + "time": "2025-12-16T09:55:41+00:00" }, { "name": "utopia-php/detector", @@ -3999,23 +3999,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 +4050,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", @@ -4730,21 +4730,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 +4776,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 +4835,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 +4854,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 +4895,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 +4953,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,9 +5005,9 @@ ], "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", @@ -8943,7 +8943,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8967,5 +8967,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } From e6781cb4c3b00dad6e042063958f07882e04ed92 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 18 Dec 2025 21:41:50 +1300 Subject: [PATCH 5/5] Release SDKs --- app/config/specs/open-api3-1.8.x-console.json | 2 +- app/config/specs/open-api3-1.8.x-server.json | 2 +- app/config/specs/open-api3-latest-console.json | 2 +- app/config/specs/open-api3-latest-server.json | 2 +- app/config/specs/swagger2-1.8.x-console.json | 2 +- app/config/specs/swagger2-1.8.x-server.json | 2 +- app/config/specs/swagger2-latest-console.json | 2 +- app/config/specs/swagger2-latest-server.json | 2 +- .../server-dart/examples/account/create-anonymous-session.md | 3 ++- .../examples/account/create-email-password-session.md | 3 ++- .../1.8.x/server-dart/examples/account/create-email-token.md | 3 ++- .../examples/1.8.x/server-dart/examples/account/create-jwt.md | 3 ++- .../server-dart/examples/account/create-magic-url-token.md | 3 ++- .../server-dart/examples/account/create-mfa-challenge.md | 3 ++- .../server-dart/examples/account/create-o-auth-2-token.md | 3 ++- .../1.8.x/server-dart/examples/account/create-phone-token.md | 3 ++- .../1.8.x/server-dart/examples/account/create-session.md | 3 ++- docs/examples/1.8.x/server-dart/examples/account/create.md | 3 ++- .../server-dart/examples/account/update-magic-url-session.md | 3 ++- .../server-dart/examples/account/update-phone-session.md | 3 ++- .../1.8.x/server-dart/examples/databases/create-collection.md | 2 ++ .../1.8.x/server-dart/examples/tablesdb/create-table.md | 2 ++ .../examples/account/create-anonymous-session.md | 3 ++- .../examples/account/create-email-password-session.md | 3 ++- .../server-dotnet/examples/account/create-email-token.md | 3 ++- .../1.8.x/server-dotnet/examples/account/create-jwt.md | 3 ++- .../server-dotnet/examples/account/create-magic-url-token.md | 3 ++- .../server-dotnet/examples/account/create-mfa-challenge.md | 3 ++- .../server-dotnet/examples/account/create-o-auth-2-token.md | 3 ++- .../server-dotnet/examples/account/create-phone-token.md | 3 ++- .../1.8.x/server-dotnet/examples/account/create-session.md | 3 ++- docs/examples/1.8.x/server-dotnet/examples/account/create.md | 3 ++- .../examples/account/update-magic-url-session.md | 3 ++- .../server-dotnet/examples/account/update-phone-session.md | 3 ++- .../server-dotnet/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-dotnet/examples/tablesdb/create-table.md | 4 +++- .../server-go/examples/account/create-anonymous-session.md | 1 + .../examples/account/create-email-password-session.md | 1 + .../1.8.x/server-go/examples/account/create-email-token.md | 1 + docs/examples/1.8.x/server-go/examples/account/create-jwt.md | 1 + .../server-go/examples/account/create-magic-url-token.md | 1 + .../1.8.x/server-go/examples/account/create-mfa-challenge.md | 1 + .../1.8.x/server-go/examples/account/create-o-auth-2-token.md | 1 + .../1.8.x/server-go/examples/account/create-phone-token.md | 1 + .../1.8.x/server-go/examples/account/create-session.md | 1 + docs/examples/1.8.x/server-go/examples/account/create.md | 1 + .../server-go/examples/account/update-magic-url-session.md | 1 + .../1.8.x/server-go/examples/account/update-phone-session.md | 1 + .../1.8.x/server-go/examples/avatars/get-screenshot.md | 2 +- .../1.8.x/server-go/examples/databases/create-collection.md | 2 ++ .../1.8.x/server-go/examples/tablesdb/create-table.md | 2 ++ .../server-graphql/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-graphql/examples/tablesdb/create-table.md | 4 +++- .../server-kotlin/java/account/create-anonymous-session.md | 3 ++- .../java/account/create-email-password-session.md | 3 ++- .../1.8.x/server-kotlin/java/account/create-email-token.md | 3 ++- docs/examples/1.8.x/server-kotlin/java/account/create-jwt.md | 3 ++- .../server-kotlin/java/account/create-magic-url-token.md | 3 ++- .../1.8.x/server-kotlin/java/account/create-mfa-challenge.md | 3 ++- .../1.8.x/server-kotlin/java/account/create-o-auth-2-token.md | 3 ++- .../1.8.x/server-kotlin/java/account/create-phone-token.md | 3 ++- .../1.8.x/server-kotlin/java/account/create-session.md | 3 ++- docs/examples/1.8.x/server-kotlin/java/account/create.md | 3 ++- .../server-kotlin/java/account/update-magic-url-session.md | 3 ++- .../1.8.x/server-kotlin/java/account/update-phone-session.md | 3 ++- .../1.8.x/server-kotlin/java/databases/create-collection.md | 2 ++ .../1.8.x/server-kotlin/java/tablesdb/create-table.md | 2 ++ .../server-kotlin/kotlin/account/create-anonymous-session.md | 1 + .../kotlin/account/create-email-password-session.md | 1 + .../1.8.x/server-kotlin/kotlin/account/create-email-token.md | 1 + .../examples/1.8.x/server-kotlin/kotlin/account/create-jwt.md | 1 + .../server-kotlin/kotlin/account/create-magic-url-token.md | 1 + .../server-kotlin/kotlin/account/create-mfa-challenge.md | 1 + .../server-kotlin/kotlin/account/create-o-auth-2-token.md | 1 + .../1.8.x/server-kotlin/kotlin/account/create-phone-token.md | 1 + .../1.8.x/server-kotlin/kotlin/account/create-session.md | 1 + docs/examples/1.8.x/server-kotlin/kotlin/account/create.md | 1 + .../server-kotlin/kotlin/account/update-magic-url-session.md | 1 + .../server-kotlin/kotlin/account/update-phone-session.md | 1 + .../1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md | 2 +- .../1.8.x/server-kotlin/kotlin/databases/create-collection.md | 4 +++- .../1.8.x/server-kotlin/kotlin/tablesdb/create-table.md | 4 +++- .../examples/account/create-anonymous-session.md | 3 ++- .../examples/account/create-email-password-session.md | 3 ++- .../server-nodejs/examples/account/create-email-token.md | 3 ++- .../1.8.x/server-nodejs/examples/account/create-jwt.md | 3 ++- .../server-nodejs/examples/account/create-magic-url-token.md | 3 ++- .../server-nodejs/examples/account/create-mfa-challenge.md | 3 ++- .../server-nodejs/examples/account/create-o-auth-2-token.md | 3 ++- .../server-nodejs/examples/account/create-phone-token.md | 3 ++- .../1.8.x/server-nodejs/examples/account/create-session.md | 3 ++- docs/examples/1.8.x/server-nodejs/examples/account/create.md | 3 ++- .../examples/account/update-magic-url-session.md | 3 ++- .../server-nodejs/examples/account/update-phone-session.md | 3 ++- .../server-nodejs/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-nodejs/examples/tablesdb/create-table.md | 4 +++- .../server-php/examples/account/create-anonymous-session.md | 3 ++- .../examples/account/create-email-password-session.md | 3 ++- .../1.8.x/server-php/examples/account/create-email-token.md | 3 ++- docs/examples/1.8.x/server-php/examples/account/create-jwt.md | 3 ++- .../server-php/examples/account/create-magic-url-token.md | 3 ++- .../1.8.x/server-php/examples/account/create-mfa-challenge.md | 3 ++- .../server-php/examples/account/create-o-auth-2-token.md | 3 ++- .../1.8.x/server-php/examples/account/create-phone-token.md | 3 ++- .../1.8.x/server-php/examples/account/create-session.md | 3 ++- docs/examples/1.8.x/server-php/examples/account/create.md | 3 ++- .../server-php/examples/account/update-magic-url-session.md | 3 ++- .../1.8.x/server-php/examples/account/update-phone-session.md | 3 ++- .../1.8.x/server-php/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-php/examples/tablesdb/create-table.md | 4 +++- .../examples/account/create-anonymous-session.md | 1 + .../examples/account/create-email-password-session.md | 1 + .../server-python/examples/account/create-email-token.md | 1 + .../1.8.x/server-python/examples/account/create-jwt.md | 1 + .../server-python/examples/account/create-magic-url-token.md | 1 + .../server-python/examples/account/create-mfa-challenge.md | 1 + .../server-python/examples/account/create-o-auth-2-token.md | 1 + .../server-python/examples/account/create-phone-token.md | 1 + .../1.8.x/server-python/examples/account/create-session.md | 1 + docs/examples/1.8.x/server-python/examples/account/create.md | 1 + .../examples/account/update-magic-url-session.md | 1 + .../server-python/examples/account/update-phone-session.md | 1 + .../server-python/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-python/examples/tablesdb/create-table.md | 4 +++- .../server-rest/examples/account/create-anonymous-session.md | 2 ++ .../examples/account/create-email-password-session.md | 2 ++ .../1.8.x/server-rest/examples/account/create-email-token.md | 2 ++ .../examples/1.8.x/server-rest/examples/account/create-jwt.md | 2 ++ .../server-rest/examples/account/create-magic-url-token.md | 2 ++ .../server-rest/examples/account/create-mfa-challenge.md | 2 ++ .../server-rest/examples/account/create-o-auth-2-token.md | 2 ++ .../1.8.x/server-rest/examples/account/create-phone-token.md | 2 ++ .../1.8.x/server-rest/examples/account/create-session.md | 2 ++ docs/examples/1.8.x/server-rest/examples/account/create.md | 2 ++ .../server-rest/examples/account/update-magic-url-session.md | 2 ++ .../server-rest/examples/account/update-phone-session.md | 2 ++ .../1.8.x/server-rest/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-rest/examples/tablesdb/create-table.md | 4 +++- .../server-ruby/examples/account/create-anonymous-session.md | 1 + .../examples/account/create-email-password-session.md | 1 + .../1.8.x/server-ruby/examples/account/create-email-token.md | 1 + .../examples/1.8.x/server-ruby/examples/account/create-jwt.md | 1 + .../server-ruby/examples/account/create-magic-url-token.md | 1 + .../server-ruby/examples/account/create-mfa-challenge.md | 1 + .../server-ruby/examples/account/create-o-auth-2-token.md | 1 + .../1.8.x/server-ruby/examples/account/create-phone-token.md | 1 + .../1.8.x/server-ruby/examples/account/create-session.md | 1 + docs/examples/1.8.x/server-ruby/examples/account/create.md | 1 + .../server-ruby/examples/account/update-magic-url-session.md | 1 + .../server-ruby/examples/account/update-phone-session.md | 1 + .../1.8.x/server-ruby/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-ruby/examples/tablesdb/create-table.md | 4 +++- .../server-swift/examples/account/create-anonymous-session.md | 1 + .../examples/account/create-email-password-session.md | 1 + .../1.8.x/server-swift/examples/account/create-email-token.md | 1 + .../1.8.x/server-swift/examples/account/create-jwt.md | 1 + .../server-swift/examples/account/create-magic-url-token.md | 1 + .../server-swift/examples/account/create-mfa-challenge.md | 1 + .../server-swift/examples/account/create-o-auth-2-token.md | 1 + .../1.8.x/server-swift/examples/account/create-phone-token.md | 1 + .../1.8.x/server-swift/examples/account/create-session.md | 1 + docs/examples/1.8.x/server-swift/examples/account/create.md | 1 + .../server-swift/examples/account/update-magic-url-session.md | 1 + .../server-swift/examples/account/update-phone-session.md | 1 + .../server-swift/examples/databases/create-collection.md | 4 +++- .../1.8.x/server-swift/examples/tablesdb/create-table.md | 4 +++- docs/sdks/dart/CHANGELOG.md | 2 +- docs/sdks/dotnet/CHANGELOG.md | 2 +- docs/sdks/go/CHANGELOG.md | 2 +- docs/sdks/kotlin/CHANGELOG.md | 2 +- docs/sdks/nodejs/CHANGELOG.md | 2 +- docs/sdks/php/CHANGELOG.md | 2 +- docs/sdks/python/CHANGELOG.md | 2 +- docs/sdks/ruby/CHANGELOG.md | 2 +- docs/sdks/swift/CHANGELOG.md | 2 +- .../Modules/Databases/Http/Databases/Collections/Create.php | 2 +- 176 files changed, 290 insertions(+), 98 deletions(-) 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 0a3c9395dd..ce0838702f 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7280,7 +7280,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" 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 57c9d6ac31..6b05c49c96 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -6754,7 +6754,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" diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 0a3c9395dd..ce0838702f 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7280,7 +7280,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" diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 57c9d6ac31..6b05c49c96 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -6754,7 +6754,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" diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 30e9241792..75d780085d 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7393,7 +7393,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": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index e4337961f6..d6530d7d99 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -6857,7 +6857,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": { diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 30e9241792..75d780085d 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7393,7 +7393,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": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index e4337961f6..d6530d7d99 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -6857,7 +6857,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": { 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/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-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/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-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/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-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/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-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/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/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/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-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/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-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/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-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/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-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/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-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/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-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/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/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index 64688082a7..b370394c8b 100644 --- a/docs/sdks/dart/CHANGELOG.md +++ b/docs/sdks/dart/CHANGELOG.md @@ -2,7 +2,7 @@ ## 20.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 20.0.0 diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index d28f64a2fc..092bfc1ec3 100644 --- a/docs/sdks/dotnet/CHANGELOG.md +++ b/docs/sdks/dotnet/CHANGELOG.md @@ -2,7 +2,7 @@ ## 0.24.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 0.23.0 diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index c51a6ac355..f177f1f9ac 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -2,7 +2,7 @@ ## v0.16.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## v0.15.0 diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index 6b3dcad5b6..a850801431 100644 --- a/docs/sdks/kotlin/CHANGELOG.md +++ b/docs/sdks/kotlin/CHANGELOG.md @@ -2,7 +2,7 @@ ## 13.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 13.0.0 diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index c1a4f6a6e1..da425adfc5 100644 --- a/docs/sdks/nodejs/CHANGELOG.md +++ b/docs/sdks/nodejs/CHANGELOG.md @@ -2,7 +2,7 @@ ## 21.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 21.0.0 diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index 0896065aec..b94ebcc753 100644 --- a/docs/sdks/php/CHANGELOG.md +++ b/docs/sdks/php/CHANGELOG.md @@ -2,7 +2,7 @@ ## 19.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 19.0.0 diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index aaf6fd89fc..160d5aa86c 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -2,7 +2,7 @@ ## 14.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 14.0.0 diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index a667268a2d..61856a150b 100644 --- a/docs/sdks/ruby/CHANGELOG.md +++ b/docs/sdks/ruby/CHANGELOG.md @@ -2,7 +2,7 @@ ## 20.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 20.0.0 diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index 25bfd7182c..4be643592d 100644 --- a/docs/sdks/swift/CHANGELOG.md +++ b/docs/sdks/swift/CHANGELOG.md @@ -2,7 +2,7 @@ ## 14.1.0 -* Added ability to create attributes and indexes synchronously while creating a collection +* Added ability to create columns and indexes synchronously while creating a table ## 14.0.0 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 d93b0d29c3..724f40f00e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php @@ -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')