From 32bb8b7c7ee56ecb428039cf23d3fd18d6d030c0 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 24 Jul 2025 13:42:55 +0530 Subject: [PATCH 01/23] chore: update sdks 1.7.x --- app/config/platforms.php | 18 ++++++++--------- composer.lock | 12 ++++++------ docs/sdks/android/CHANGELOG.md | 17 +++++++++++++++- docs/sdks/apple/CHANGELOG.md | 30 ++++++++++++++++++++++++++++- docs/sdks/dart/CHANGELOG.md | 6 ++++++ docs/sdks/flutter/CHANGELOG.md | 6 ++++++ docs/sdks/nodejs/CHANGELOG.md | 5 +++++ docs/sdks/react-native/CHANGELOG.md | 8 +++++++- docs/sdks/web/CHANGELOG.md | 7 +++++++ 9 files changed, 91 insertions(+), 18 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index 15eb8b3893..3c26d9b72c 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -11,7 +11,7 @@ return [ [ 'key' => 'web', 'name' => 'Web', - 'version' => '18.1.0', + 'version' => '18.2.0', 'url' => 'https://github.com/appwrite/sdk-for-web', 'package' => 'https://www.npmjs.com/package/appwrite', 'enabled' => true, @@ -57,9 +57,9 @@ return [ ] ], [ - 'key' => 'flutter', + 'key' => 'flutter', 'name' => 'Flutter', - 'version' => '17.0.2', + 'version' => '17.1.0', 'url' => 'https://github.com/appwrite/sdk-for-flutter', 'package' => 'https://pub.dev/packages/appwrite', 'enabled' => true, @@ -77,7 +77,7 @@ return [ [ 'key' => 'apple', 'name' => 'Apple', - 'version' => '10.1.1', + 'version' => '10.2.0', 'url' => 'https://github.com/appwrite/sdk-for-apple', 'package' => 'https://github.com/appwrite/sdk-for-apple', 'enabled' => true, @@ -112,7 +112,7 @@ return [ [ 'key' => 'android', 'name' => 'Android', - 'version' => '8.1.0', + 'version' => '8.2.0', 'url' => 'https://github.com/appwrite/sdk-for-android', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android', 'enabled' => true, @@ -134,7 +134,7 @@ return [ [ 'key' => 'react-native', 'name' => 'React Native', - 'version' => '0.10.1', + 'version' => '0.10.2', 'url' => 'https://github.com/appwrite/sdk-for-react-native', 'package' => 'https://npmjs.com/package/react-native-appwrite', 'enabled' => true, @@ -199,7 +199,7 @@ return [ [ 'key' => 'web', 'name' => 'Console', - 'version' => '1.7.0', + 'version' => '1.9.0', 'url' => 'https://github.com/appwrite/sdk-for-console', 'package' => '', 'enabled' => true, @@ -251,7 +251,7 @@ return [ [ 'key' => 'nodejs', 'name' => 'Node.js', - 'version' => '17.1.0', + 'version' => '17.2.0', 'url' => 'https://github.com/appwrite/sdk-for-node', 'package' => 'https://www.npmjs.com/package/node-appwrite', 'enabled' => true, @@ -377,7 +377,7 @@ return [ [ 'key' => 'dart', 'name' => 'Dart', - 'version' => '16.1.0', + 'version' => '16.2.0', 'url' => 'https://github.com/appwrite/sdk-for-dart', 'package' => 'https://pub.dev/packages/dart_appwrite', 'enabled' => true, diff --git a/composer.lock b/composer.lock index 29f215a032..d3dc9f30c6 100644 --- a/composer.lock +++ b/composer.lock @@ -4810,16 +4810,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.41.19", + "version": "0.41.22", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "ae6d44b373ae09f28d8b2dbb781ea3e2491b842d" + "reference": "5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/ae6d44b373ae09f28d8b2dbb781ea3e2491b842d", - "reference": "ae6d44b373ae09f28d8b2dbb781ea3e2491b842d", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53", + "reference": "5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53", "shasum": "" }, "require": { @@ -4855,9 +4855,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.41.19" + "source": "https://github.com/appwrite/sdk-generator/tree/0.41.22" }, - "time": "2025-07-23T06:33:44+00:00" + "time": "2025-07-24T07:59:05+00:00" }, { "name": "doctrine/annotations", diff --git a/docs/sdks/android/CHANGELOG.md b/docs/sdks/android/CHANGELOG.md index 8406e637b0..38d0c4be2d 100644 --- a/docs/sdks/android/CHANGELOG.md +++ b/docs/sdks/android/CHANGELOG.md @@ -1,8 +1,23 @@ # Change Log +## 8.2.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Add `sequence` support to `Document` model + +## 8.1.0 + +* Add `devKeys` support to `Client` service +* Add `upsertDocument` support to `Databases` service + ## 8.0.0 * Add `token` param to `getFilePreview` and `getFileView` for File tokens usage * Update default `quality` for `getFilePreview` from 0 to -1 * Remove `Gif` from ImageFormat enum -* Remove `search` param from `listExecutions` method \ No newline at end of file +* Remove `search` param from `listExecutions` method + +## 7.0.1 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests diff --git a/docs/sdks/apple/CHANGELOG.md b/docs/sdks/apple/CHANGELOG.md index bc30d56a4b..f62eb708f1 100644 --- a/docs/sdks/apple/CHANGELOG.md +++ b/docs/sdks/apple/CHANGELOG.md @@ -1,8 +1,36 @@ # Change Log +## 10.2.0 + +* Update sdk to use swift-native doc comments instead of jsdoc styled comments as per [Swift Documentation Comments](https://github.com/swiftlang/swift/blob/main/docs/DocumentationComments.md) +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Remove `Content-Type`, `Content-Length` headers and body from websocket requests + +## 10.1.1 + +* Adds warnings to bulk operation methods +* Fix select Queries by updating internal attributes like id, createdAt, updatedAt etc. to be optional in Document model. +* Fix querying datetime values by properly encoding URLs + +## 10.1.0 + +* Add `devKeys` support to `Client` service +* Add `upsertDocument` support to `Databases` service + ## 10.0.0 * Add `` to doc examples due to the new multi region endpoints * Add `token` param to `getFilePreview` and `getFileView` for File tokens usage * Remove `search` param from `listExecutions` method -* Remove `Gif` from ImageFormat enum \ No newline at end of file +* Remove `Gif` from ImageFormat enum + +## 9.0.1 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 9.0.0 + +* Remove redundant titles from method descriptions. +* Add `codable` models +* Ensure response attribute in `AppwriteException` is always string diff --git a/docs/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index 5b77784063..1972a122e3 100644 --- a/docs/sdks/dart/CHANGELOG.md +++ b/docs/sdks/dart/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 16.2.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `encrypt` support to string attribute model +* Add `sequence` support to `Document` model + ## 16.1.0 * Add `gif` support to `ImageFormat` enum diff --git a/docs/sdks/flutter/CHANGELOG.md b/docs/sdks/flutter/CHANGELOG.md index e94f5d0abf..9a291e24b2 100644 --- a/docs/sdks/flutter/CHANGELOG.md +++ b/docs/sdks/flutter/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 17.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Add `sequence` support to `Document` model + ## 17.0.2 * Add `gif` support to `ImageFormat` enum diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index d7261b67d5..7d6926dd1d 100644 --- a/docs/sdks/nodejs/CHANGELOG.md +++ b/docs/sdks/nodejs/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 17.2.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Fix autocompletion not working for `Document` model even when generic is passed + ## 17.1.0 * Add `upsertDocument` method diff --git a/docs/sdks/react-native/CHANGELOG.md b/docs/sdks/react-native/CHANGELOG.md index 6ab2975bf2..a15eb1b0f7 100644 --- a/docs/sdks/react-native/CHANGELOG.md +++ b/docs/sdks/react-native/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log +## 0.10.2 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `sequence` support to `Document` model +* Fix autocompletion not working for `Document` model even when generic is passed + ## 0.10.1 * Fix URL based methods like `getFileViewURL`, `getFilePreviewURL` etc. by adding the missing `projectId` to searchParams @@ -28,4 +34,4 @@ ## 0.7.4 * Upgrade dependencies to resolve PlatformConstants error with Expo 53 -* Update doc examples to use new multi-region endpoint \ No newline at end of file +* Update doc examples to use new multi-region endpoint diff --git a/docs/sdks/web/CHANGELOG.md b/docs/sdks/web/CHANGELOG.md index b9875998a9..328ef1d5a8 100644 --- a/docs/sdks/web/CHANGELOG.md +++ b/docs/sdks/web/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 18.2.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Fix undefined `fileParam` error in `chunkedUpload` method +* Fix autocompletion not working for `Document` model even when generic is passed + ## 18.1.1 * Fix using `devKeys` resulting in an error by conditionally removing credentials From 89b9afd066cc374fd3164cf4561ad929fb5b481f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 24 Jul 2025 13:53:03 +0530 Subject: [PATCH 02/23] update swift --- app/config/platforms.php | 2 +- docs/sdks/swift/CHANGELOG.md | 46 +++++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index 3c26d9b72c..2fcb4cc4a8 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -417,7 +417,7 @@ return [ [ 'key' => 'swift', 'name' => 'Swift', - 'version' => '10.1.0', + 'version' => '10.2.0', 'url' => 'https://github.com/appwrite/sdk-for-swift', 'package' => 'https://github.com/appwrite/sdk-for-swift', 'enabled' => true, diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index fa4d35e687..6cb1cca595 100644 --- a/docs/sdks/swift/CHANGELOG.md +++ b/docs/sdks/swift/CHANGELOG.md @@ -1 +1,45 @@ -# Change Log \ No newline at end of file +# Change Log + +## 10.2.0 + +* Update sdk to use swift-native doc comments instead of jsdoc styled comments as per [Swift Documentation Comments](https://github.com/swiftlang/swift/blob/main/docs/DocumentationComments.md) +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Add `sequence` support to `Document` model +* Add `dart38` and `flutter332` support to runtime models + +## 10.1.0 + +* Adds `upsertDocument` method +* Adds warnings to bulk operation methods +* Adds the new `encrypt` attribute +* Adds runtimes: `flutter332` and `dart38` +* Fix `select` Queries by updating internal attributes like `id`, `createdAt`, `updatedAt` etc. to be optional in `Document` model. +* Fix `listCollection` errors by updating `attributes` typing +* Fix querying datetime values by properly encoding URLs + +## 10.0.0 + +* Add `` to doc examples due to the new multi region endpoints +* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. +* Add doc examples, class and methods for new `Sites` service +* Add doc examples, class and methods for new `Tokens` service +* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType` +* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 +* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage +* Add `queries` and `search` params to `listMemberships` method +* Remove `search` param from `listExecutions` method + +## 9.0.0 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 8.0.0 + +* Remove redundant titles from method descriptions. +* Add `codable` models +* Ensure response attribute in `AppwriteException` is always string + +## 7.0.0 + +* Fix pong response & chunked upload From 2dfd2f44262396c368fafc129bd253fbd1bd9cf7 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 24 Jul 2025 16:11:59 +0530 Subject: [PATCH 03/23] chore: add more changelog --- app/config/platforms.php | 8 ++++---- docs/sdks/cli/CHANGELOG.md | 12 ++++++++++++ docs/sdks/deno/CHANGELOG.md | 11 ++++++++++- docs/sdks/php/CHANGELOG.md | 10 +++++++++- docs/sdks/python/CHANGELOG.md | 29 ++++++++++++++++++++++++++++- 5 files changed, 63 insertions(+), 7 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index 2fcb4cc4a8..df13c774cd 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -57,7 +57,7 @@ return [ ] ], [ - 'key' => 'flutter', + 'key' => 'flutter', 'name' => 'Flutter', 'version' => '17.1.0', 'url' => 'https://github.com/appwrite/sdk-for-flutter', @@ -217,7 +217,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '8.2.2', + 'version' => '8.3.0', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, @@ -269,7 +269,7 @@ return [ [ 'key' => 'deno', 'name' => 'Deno', - 'version' => '15.0.0', + 'version' => '15.1.0', 'url' => 'https://github.com/appwrite/sdk-for-deno', 'package' => 'https://deno.land/x/appwrite', 'enabled' => true, @@ -287,7 +287,7 @@ return [ [ 'key' => 'php', 'name' => 'PHP', - 'version' => '15.0.0', + 'version' => '15.1.0', 'url' => 'https://github.com/appwrite/sdk-for-php', 'package' => 'https://packagist.org/packages/appwrite/appwrite', 'enabled' => true, diff --git a/docs/sdks/cli/CHANGELOG.md b/docs/sdks/cli/CHANGELOG.md index e32614cad0..8964d059a9 100644 --- a/docs/sdks/cli/CHANGELOG.md +++ b/docs/sdks/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 8.3.0 + +* **Feat:** Add support for `appwrite.config.json` file + * All new projects will be initialized with this configuration file + * Resolves bundler conflicts (e.g., Vite) that incorrectly interpret `.json` files as library imports +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Type generation fixes: + * Fix relationships using the relatedCollection's id instead of name + * Update auto generated comment to show relative path instead of absolute path + +> **Note:** The existing `appwrite.json` file remains fully supported for backward compatibility + ## 8.2.2 * Fix object comparison logic when pushing settings diff --git a/docs/sdks/deno/CHANGELOG.md b/docs/sdks/deno/CHANGELOG.md index e46648db82..893f49d511 100644 --- a/docs/sdks/deno/CHANGELOG.md +++ b/docs/sdks/deno/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 15.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `gif` support to `ImageFormat` enum +* Add `dart38` and `flutter332` support to runtime models +* Add `encrypt` support to `StringAttribute` model +* Add `sequence` support to `Document` model +* Add `upsertDocument` support to `Databases` service + ## 15.0.0 * Add `` to doc examples due to the new multi region endpoints @@ -10,4 +19,4 @@ * Updates enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 * Add `token` param to `getFilePreview` and `getFileView` for File tokens usage * Add `queries` and `search` params to `listMemberships` method -* Removes `search` param from `listExecutions` method \ No newline at end of file +* Removes `search` param from `listExecutions` method diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index fa4d35e687..d5a323c4cb 100644 --- a/docs/sdks/php/CHANGELOG.md +++ b/docs/sdks/php/CHANGELOG.md @@ -1 +1,9 @@ -# Change Log \ No newline at end of file +# Change Log + +## 15.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `dart38` and `flutter332` support to runtime models +* Add `gif` support to `ImageFormat` enum +* Add `upsertDocument` support to `Databases` service +* Add `sequence` support to `Document` model diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index fa4d35e687..ff63134a20 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -1 +1,28 @@ -# Change Log \ No newline at end of file +# Change Log + +## 11.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `dart38` and `flutter332` support to runtime models +* Add `gif` support to `ImageFormat` enum +* Add `upsertDocument` support to `Databases` service + +## 11.0.0 + +* Add `` to doc examples due to the new multi region endpoints +* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. +* Add doc examples, class and methods for new `Sites` service +* Add doc examples, class and methods for new `Tokens` service +* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType` +* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 +* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage +* Add `queries` and `search` params to `listMemberships` method +* Remove `search` param from `listExecutions` method + +## 10.0.0 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 9.0.3 + +* Update sdk to use Numpy-style docstrings From e68acd3f0233c53fb4c98a580e4656ed32f306b3 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 24 Jul 2025 16:47:24 +0530 Subject: [PATCH 04/23] chore: add more changelog --- app/config/platforms.php | 10 +++++----- docs/sdks/dotnet/CHANGELOG.md | 6 ++++++ docs/sdks/go/CHANGELOG.md | 28 +++++++++++++++++++++++++++- docs/sdks/kotlin/CHANGELOG.md | 30 +++++++++++++++++++++++++++++- docs/sdks/ruby/CHANGELOG.md | 31 ++++++++++++++++++++++++++++++- 5 files changed, 97 insertions(+), 8 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index df13c774cd..de514403e3 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -305,7 +305,7 @@ return [ [ 'key' => 'python', 'name' => 'Python', - 'version' => '11.0.0', + 'version' => '11.1.0', 'url' => 'https://github.com/appwrite/sdk-for-python', 'package' => 'https://pypi.org/project/appwrite/', 'enabled' => true, @@ -323,7 +323,7 @@ return [ [ 'key' => 'ruby', 'name' => 'Ruby', - 'version' => '16.0.0', + 'version' => '16.1.0', 'url' => 'https://github.com/appwrite/sdk-for-ruby', 'package' => 'https://rubygems.org/gems/appwrite', 'enabled' => true, @@ -341,7 +341,7 @@ return [ [ 'key' => 'go', 'name' => 'Go', - 'version' => '0.8.0', + 'version' => '0.7.1', 'url' => 'https://github.com/appwrite/sdk-for-go', 'package' => 'https://github.com/appwrite/sdk-for-go', 'enabled' => true, @@ -359,7 +359,7 @@ return [ [ 'key' => 'dotnet', 'name' => '.NET', - 'version' => '0.14.0', + 'version' => '0.14.1', 'url' => 'https://github.com/appwrite/sdk-for-dotnet', 'package' => 'https://www.nuget.org/packages/Appwrite', 'enabled' => true, @@ -395,7 +395,7 @@ return [ [ 'key' => 'kotlin', 'name' => 'Kotlin', - 'version' => '9.0.0', + 'version' => '9.1.0', 'url' => 'https://github.com/appwrite/sdk-for-kotlin', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin', 'enabled' => true, diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index 43c2eb6520..935bd6c8de 100644 --- a/docs/sdks/dotnet/CHANGELOG.md +++ b/docs/sdks/dotnet/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 0.14.1 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `encrypt` support to `StringAttribute` model +* Add `sequence` support to `Document` model + ## 0.14.0 * Refactor from Newtonsoft.Json to System.Text.Json for serialization/deserialization diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index fa4d35e687..0727ce1e2b 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -1 +1,27 @@ -# Change Log \ No newline at end of file +# Change Log + +## 0.7.1 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `upsertDocument` support to `Databases` service +* Update doc examples to use correct syntax + +## 0.7.0 + +* Add `` to doc examples due to the new multi region endpoints +* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. +* Add doc examples, class and methods for new `Sites` service +* Add doc examples, class and methods for new `Tokens` service +* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType` +* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 +* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage +* Add `queries` and `search` params to `listMemberships` method +* Remove `search` param from `listExecutions` method + +## 0.6.0 + +* Add bulk API methods: `createDocuments`, `deleteDocuments` etc. + +## 0.5.0 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index fa4d35e687..c7194d5391 100644 --- a/docs/sdks/kotlin/CHANGELOG.md +++ b/docs/sdks/kotlin/CHANGELOG.md @@ -1 +1,29 @@ -# Change Log \ No newline at end of file +# Change Log + +## 9.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `dart38` and `flutter332` support to runtime models +* Add `gif` support to `ImageFormat` enum +* Add `encrypt` support to `StringAttribute` model +* Add `sequence` support to `Document` model + +## 9.0.0 + +* Add `` to doc examples due to the new multi region endpoints +* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. +* Add doc examples, class and methods for new `Sites` service +* Add doc examples, class and methods for new `Tokens` service +* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType` +* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 +* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage +* Add `queries` and `search` params to `listMemberships` method +* Remove `search` param from `listExecutions` method + +## 8.0.0 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 7.0.0 + +* Fix pong response & chunked upload diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index fa4d35e687..1f2e10beea 100644 --- a/docs/sdks/ruby/CHANGELOG.md +++ b/docs/sdks/ruby/CHANGELOG.md @@ -1 +1,30 @@ -# Change Log \ No newline at end of file +# Change Log + +## 16.1.0 + +* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service +* Add `dart38` and `flutter332` support to runtime models +* Add `gif` support to `ImageFormat` enum +* Add `encrypt` support to `StringAttribute` model +* Add `sequence` support to `Document` model +* Add `upsertDocument` support to `Databases` service + +## 16.0.0 + +* Add `` to doc examples due to the new multi region endpoints +* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. +* Add doc examples, class and methods for new `Sites` service +* Add doc examples, class and methods for new `Tokens` service +* Add enums for `BuildRuntime `, `Adapter`, `Framework`, `DeploymentDownloadType` and `VCSDeploymentType` +* Update enum for `runtimes` with Pythonml312, Dart219, Flutter327 and Flutter329 +* Add `token` param to `getFilePreview` and `getFileView` for File tokens usage +* Add `queries` and `search` params to `listMemberships` method +* Remove `search` param from `listExecutions` method + +## 15.0.0 + +* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 14.0.0 + +* Fix pong response & chunked upload From 6c5cdfbe853bdab484501e75cf9c4317f647386e Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 24 Jul 2025 17:11:21 +0530 Subject: [PATCH 05/23] chore: update to use angle brackets --- docs/sdks/android/GETTING_STARTED.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sdks/android/GETTING_STARTED.md b/docs/sdks/android/GETTING_STARTED.md index de16f2cc57..447d782b0d 100644 --- a/docs/sdks/android/GETTING_STARTED.md +++ b/docs/sdks/android/GETTING_STARTED.md @@ -18,7 +18,7 @@ In order to capture the Appwrite OAuth callback url, the following activity need - + @@ -34,8 +34,8 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setEndpoint("https:///v1") // Your API Endpoint + .setProject("") // Your project ID .setSelfSigned(true) // Remove in production ``` @@ -66,8 +66,8 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client(context) - .setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setEndpoint("https:///v1") // Your API Endpoint + .setProject("") // Your project ID .setSelfSigned(true) // Remove in production val account = Account(client) From 6bd3e6fe96504bb12916fa3d4479dfdca562e46f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 25 Jul 2025 16:05:16 +0530 Subject: [PATCH 06/23] update version for rn --- app/config/platforms.php | 2 +- composer.lock | 12 ++++++------ docs/sdks/react-native/CHANGELOG.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index de514403e3..127100710d 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -134,7 +134,7 @@ return [ [ 'key' => 'react-native', 'name' => 'React Native', - 'version' => '0.10.2', + 'version' => '0.11.0', 'url' => 'https://github.com/appwrite/sdk-for-react-native', 'package' => 'https://npmjs.com/package/react-native-appwrite', 'enabled' => true, diff --git a/composer.lock b/composer.lock index d3dc9f30c6..9ab07d37cc 100644 --- a/composer.lock +++ b/composer.lock @@ -4810,16 +4810,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.41.22", + "version": "0.41.23", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53" + "reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53", - "reference": "5c416dcbdae9fce8ad170a6d73ebd817c8f6fe53", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/188dff738ff7b9f1f9209b34ac2092b5456b1001", + "reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001", "shasum": "" }, "require": { @@ -4855,9 +4855,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.41.22" + "source": "https://github.com/appwrite/sdk-generator/tree/0.41.23" }, - "time": "2025-07-24T07:59:05+00:00" + "time": "2025-07-25T06:47:04+00:00" }, { "name": "doctrine/annotations", diff --git a/docs/sdks/react-native/CHANGELOG.md b/docs/sdks/react-native/CHANGELOG.md index a15eb1b0f7..eda0bca26e 100644 --- a/docs/sdks/react-native/CHANGELOG.md +++ b/docs/sdks/react-native/CHANGELOG.md @@ -1,6 +1,6 @@ # Change log -## 0.10.2 +## 0.11.0 * Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service * Add `sequence` support to `Document` model From eeed9a08ec7afed275884ef5cbeb5cd4d08b1682 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 25 Jul 2025 16:18:52 +0530 Subject: [PATCH 07/23] chore: add docs for nestedType, encode, from and toMap --- docs/sdks/apple/GETTING_STARTED.md | 57 ++++++++++++++++++++++++++++++ docs/sdks/swift/GETTING_STARTED.md | 57 ++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/docs/sdks/apple/GETTING_STARTED.md b/docs/sdks/apple/GETTING_STARTED.md index 6defbc5f00..63c216e08d 100644 --- a/docs/sdks/apple/GETTING_STARTED.md +++ b/docs/sdks/apple/GETTING_STARTED.md @@ -113,6 +113,63 @@ func main() { } ``` +### Type Safety with Models + +The Appwrite Apple SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. + +```swift +struct Book: Codable { + let name: String + let author: String + let releaseYear: String? + let category: String? + let genre: [String]? + let isCheckedOut: Bool +} + +let databases = Databases(client) + +do { + let documents = try await databases.listDocuments( + databaseId: "your-database-id", + collectionId: "your-collection-id", + nestedType: Book.self // Pass in your custom model type + ) + + for book in documents.documents { + print("Book: \(book.name) by \(book.author)") // Now you have full type safety + } +} catch { + print(error.localizedDescription) +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Working with Model Methods + +All Appwrite models come with built-in methods for data conversion and manipulation: + +**`toMap()`** - Converts a model instance to a dictionary format, useful for debugging or manual data manipulation: +```swift +let user = try await account.get() +let userMap = user.toMap() +print(userMap) // Prints all user properties as a dictionary +``` + +**`from(map:)`** - Creates a model instance from a dictionary, useful when working with raw data: +```swift +let userData: [String: Any] = ["$id": "123", "name": "John", "email": "john@example.com"] +let user = User.from(map: userData) +``` + +**`encode(to:)`** - Encodes the model to JSON format (part of Swift's Codable protocol), useful for serialization: +```swift +let user = try await account.get() +let jsonData = try JSONEncoder().encode(user) +let jsonString = String(data: jsonData, encoding: .utf8) +``` + ### Error Handling When an error occurs, the Appwrite Apple SDK throws an `AppwriteError` object with `message` and `code` properties. You can handle any errors in a catch block and present the `message` or `localizedDescription` to the user or handle it yourself based on the provided error information. Below is an example. diff --git a/docs/sdks/swift/GETTING_STARTED.md b/docs/sdks/swift/GETTING_STARTED.md index 49aa51e9b2..251ea371d2 100644 --- a/docs/sdks/swift/GETTING_STARTED.md +++ b/docs/sdks/swift/GETTING_STARTED.md @@ -66,6 +66,63 @@ func main() { } ``` +### Type Safety with Models + +The Appwrite Swift SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. + +```swift +struct Book: Codable { + let name: String + let author: String + let releaseYear: String? + let category: String? + let genre: [String]? + let isCheckedOut: Bool +} + +let databases = Databases(client) + +do { + let documents = try await databases.listDocuments( + databaseId: "your-database-id", + collectionId: "your-collection-id", + nestedType: Book.self // Pass in your custom model type + ) + + for book in documents.documents { + print("Book: \(book.name) by \(book.author)") // Now you have full type safety + } +} catch { + print(error.localizedDescription) +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Working with Model Methods + +All Appwrite models come with built-in methods for data conversion and manipulation: + +**`toMap()`** - Converts a model instance to a dictionary format, useful for debugging or manual data manipulation: +```swift +let user = try await account.get() +let userMap = user.toMap() +print(userMap) // Prints all user properties as a dictionary +``` + +**`from(map:)`** - Creates a model instance from a dictionary, useful when working with raw data: +```swift +let userData: [String: Any] = ["$id": "123", "name": "John", "email": "john@example.com"] +let user = User.from(map: userData) +``` + +**`encode(to:)`** - Encodes the model to JSON format (part of Swift's Codable protocol), useful for serialization: +```swift +let user = try await account.get() +let jsonData = try JSONEncoder().encode(user) +let jsonString = String(data: jsonData, encoding: .utf8) +``` + ### Error Handling When an error occurs, the Appwrite Swift SDK throws an `AppwriteError` object with `message` and `code` properties. You can handle any errors in a catch block and present the `message` or `localizedDescription` to the user or handle it yourself based on the provided error information. Below is an example. From aa91189848622c0c591dc34911828ce36a6bc042 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 25 Jul 2025 17:08:43 +0530 Subject: [PATCH 08/23] add docs for android as well --- docs/sdks/android/GETTING_STARTED.md | 72 ++++++++++++++++++++++++++++ docs/sdks/kotlin/GETTING_STARTED.md | 71 +++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) diff --git a/docs/sdks/android/GETTING_STARTED.md b/docs/sdks/android/GETTING_STARTED.md index 447d782b0d..ec795087f1 100644 --- a/docs/sdks/android/GETTING_STARTED.md +++ b/docs/sdks/android/GETTING_STARTED.md @@ -79,7 +79,79 @@ val user = account.create( ) ``` +### Type Safety with Models + +The Appwrite Android SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. + +```kotlin +data class Book( + val name: String, + val author: String, + val releaseYear: String? = null, + val category: String? = null, + val genre: List? = null, + val isCheckedOut: Boolean +) + +val databases = Databases(client) + +try { + val documents = databases.listDocuments( + databaseId = "your-database-id", + collectionId = "your-collection-id", + nestedType = Book::class.java // Pass in your custom model type + ) + + for (book in documents.documents) { + Log.d("Appwrite", "Book: ${book.name} by ${book.author}") // Now you have full type safety + } +} catch (e: AppwriteException) { + Log.e("Appwrite", e.message ?: "Unknown error") +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Working with Model Methods + +All Appwrite models come with built-in methods for data conversion and manipulation: + +**`toMap()`** - Converts a model instance to a Map format, useful for debugging or manual data manipulation: +```kotlin +val account = Account(client) +val user = account.get() +val userMap = user.toMap() +Log.d("Appwrite", userMap.toString()) // Prints all user properties as a Map +``` + +**`from(map:, nestedType:)`** - Creates a model instance from a Map, useful when working with raw data: +```kotlin +val userData: Map = mapOf( + "\$id" to "123", + "name" to "John", + "email" to "john@example.com" +) +val user = User.from(userData, User::class.java) +``` + +**JSON Serialization** - Models can be easily converted to/from JSON using Gson (which the SDK uses internally): +```kotlin +import com.google.gson.Gson + +val account = Account(client) +val user = account.get() + +// Convert to JSON +val gson = Gson() +val jsonString = gson.toJson(user) +Log.d("Appwrite", "User JSON: $jsonString") + +// Convert from JSON +val userFromJson = gson.fromJson(jsonString, User::class.java) +``` + ### Error Handling + The Appwrite Android SDK raises an `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. ```kotlin diff --git a/docs/sdks/kotlin/GETTING_STARTED.md b/docs/sdks/kotlin/GETTING_STARTED.md index 5b5ee5f050..71db1af77d 100644 --- a/docs/sdks/kotlin/GETTING_STARTED.md +++ b/docs/sdks/kotlin/GETTING_STARTED.md @@ -57,6 +57,77 @@ suspend fun main() { } ``` +### Type Safety with Models + +The Appwrite Kotlin SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. + +```kotlin +data class Book( + val name: String, + val author: String, + val releaseYear: String? = null, + val category: String? = null, + val genre: List? = null, + val isCheckedOut: Boolean +) + +val databases = Databases(client) + +try { + val documents = databases.listDocuments( + databaseId = "your-database-id", + collectionId = "your-collection-id", + nestedType = Book::class.java // Pass in your custom model type + ) + + for (book in documents.documents) { + Log.d("Appwrite", "Book: ${book.name} by ${book.author}") // Now you have full type safety + } +} catch (e: AppwriteException) { + Log.e("Appwrite", e.message ?: "Unknown error") +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Working with Model Methods + +All Appwrite models come with built-in methods for data conversion and manipulation: + +**`toMap()`** - Converts a model instance to a Map format, useful for debugging or manual data manipulation: +```kotlin +val account = Account(client) +val user = account.get() +val userMap = user.toMap() +Log.d("Appwrite", userMap.toString()) // Prints all user properties as a Map +``` + +**`from(map:, nestedType:)`** - Creates a model instance from a Map, useful when working with raw data: +```kotlin +val userData: Map = mapOf( + "\$id" to "123", + "name" to "John", + "email" to "john@example.com" +) +val user = User.from(userData, User::class.java) +``` + +**JSON Serialization** - Models can be easily converted to/from JSON using Gson (which the SDK uses internally): +```kotlin +import com.google.gson.Gson + +val account = Account(client) +val user = account.get() + +// Convert to JSON +val gson = Gson() +val jsonString = gson.toJson(user) +Log.d("Appwrite", "User JSON: $jsonString") + +// Convert from JSON +val userFromJson = gson.fromJson(jsonString, User::class.java) +``` + ### Error Handling The Appwrite Kotlin SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. From cf3abd0f6c6d1a8a5c51c35c44f1bb902d5fb030 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 26 Jul 2025 11:10:24 +0530 Subject: [PATCH 09/23] add java example --- docs/sdks/android/GETTING_STARTED.md | 55 ++++++++++++++++++++++++ docs/sdks/dart/EXAMPLES.md | 62 ---------------------------- docs/sdks/java/CHANGELOG.md | 1 - docs/sdks/kotlin/GETTING_STARTED.md | 55 ++++++++++++++++++++++++ docs/sdks/typescript/CHANGELOG.md | 1 - docs/sdks/web/README.md | 15 ------- 6 files changed, 110 insertions(+), 79 deletions(-) delete mode 100644 docs/sdks/dart/EXAMPLES.md delete mode 100644 docs/sdks/java/CHANGELOG.md delete mode 100644 docs/sdks/typescript/CHANGELOG.md delete mode 100644 docs/sdks/web/README.md diff --git a/docs/sdks/android/GETTING_STARTED.md b/docs/sdks/android/GETTING_STARTED.md index ec795087f1..724cfb4654 100644 --- a/docs/sdks/android/GETTING_STARTED.md +++ b/docs/sdks/android/GETTING_STARTED.md @@ -83,6 +83,7 @@ val user = account.create( The Appwrite Android SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. +**Kotlin:** ```kotlin data class Book( val name: String, @@ -110,6 +111,60 @@ try { } ``` +**Java:** +```java +public class Book { + private String name; + private String author; + private String releaseYear; + private String category; + private List genre; + private boolean isCheckedOut; + + // Constructor + public Book(String name, String author, boolean isCheckedOut) { + this.name = name; + this.author = author; + this.isCheckedOut = isCheckedOut; + } + + // Getters and setters + public String getName() { return name; } + public void setName(String name) { this.name = name; } + + public String getAuthor() { return author; } + public void setAuthor(String author) { this.author = author; } + + public String getReleaseYear() { return releaseYear; } + public void setReleaseYear(String releaseYear) { this.releaseYear = releaseYear; } + + public String getCategory() { return category; } + public void setCategory(String category) { this.category = category; } + + public List getGenre() { return genre; } + public void setGenre(List genre) { this.genre = genre; } + + public boolean isCheckedOut() { return isCheckedOut; } + public void setCheckedOut(boolean checkedOut) { isCheckedOut = checkedOut; } +} + +Databases databases = new Databases(client); + +try { + DocumentList documents = databases.listDocuments( + "your-database-id", + "your-collection-id", + Book.class // Pass in your custom model type + ); + + for (Book book : documents.getDocuments()) { + Log.d("Appwrite", "Book: " + book.getName() + " by " + book.getAuthor()); // Now you have full type safety + } +} catch (AppwriteException e) { + Log.e("Appwrite", e.getMessage() != null ? e.getMessage() : "Unknown error"); +} +``` + **Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). ### Working with Model Methods diff --git a/docs/sdks/dart/EXAMPLES.md b/docs/sdks/dart/EXAMPLES.md deleted file mode 100644 index fc2c6d0996..0000000000 --- a/docs/sdks/dart/EXAMPLES.md +++ /dev/null @@ -1,62 +0,0 @@ -# Examples - -Init your Appwrite client: - -```dart -Client client = Client(); - -client - .setEndpoint('https://localhost/v1') // Your Appwrite Endpoint - .setProject('5e8cf4f46b5e8') // Your project ID - .setSelfSigned() // Remove in production -; -``` - -Create a new user: - -```dart -Users users = Users(client); - -User result = await users.create( - userId: ID.unique(), - email: "email@example.com", - phone: "+123456789", - password: "password", - name: "Walter O'Brien" -); -``` - -Fetch user profile: - -```dart -Users users = Users(client); - -User profile = await users.get( - userId: '[USER_ID]', -); -``` - -Upload File: - -```dart -Storage storage = Storage(client); - -InputFile file = InputFile(path: './path-to-file/image.jpg', filename: 'image.jpg'); - -storage.createFile( - bucketId: '[BUCKET_ID]', - fileId: '[FILE_ID]', // use 'unique()' to automatically generate a unique ID - file: file, - permissions: [ - Permission.read(Role.any()), - ], -) -.then((response) { - print(response); // File uploaded! -}) -.catchError((error) { - print(error.response); -}); -``` - -All examples and API features are available at the [official Appwrite docs](https://appwrite.io/docs) diff --git a/docs/sdks/java/CHANGELOG.md b/docs/sdks/java/CHANGELOG.md deleted file mode 100644 index fa4d35e687..0000000000 --- a/docs/sdks/java/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -# Change Log \ No newline at end of file diff --git a/docs/sdks/kotlin/GETTING_STARTED.md b/docs/sdks/kotlin/GETTING_STARTED.md index 71db1af77d..2a36a9deb7 100644 --- a/docs/sdks/kotlin/GETTING_STARTED.md +++ b/docs/sdks/kotlin/GETTING_STARTED.md @@ -61,6 +61,7 @@ suspend fun main() { The Appwrite Kotlin SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a `nestedType` parameter that allows you to specify your custom model type for full type safety. +**Kotlin:** ```kotlin data class Book( val name: String, @@ -88,6 +89,60 @@ try { } ``` +**Java:** +```java +public class Book { + private String name; + private String author; + private String releaseYear; + private String category; + private List genre; + private boolean isCheckedOut; + + // Constructor + public Book(String name, String author, boolean isCheckedOut) { + this.name = name; + this.author = author; + this.isCheckedOut = isCheckedOut; + } + + // Getters and setters + public String getName() { return name; } + public void setName(String name) { this.name = name; } + + public String getAuthor() { return author; } + public void setAuthor(String author) { this.author = author; } + + public String getReleaseYear() { return releaseYear; } + public void setReleaseYear(String releaseYear) { this.releaseYear = releaseYear; } + + public String getCategory() { return category; } + public void setCategory(String category) { this.category = category; } + + public List getGenre() { return genre; } + public void setGenre(List genre) { this.genre = genre; } + + public boolean isCheckedOut() { return isCheckedOut; } + public void setCheckedOut(boolean checkedOut) { isCheckedOut = checkedOut; } +} + +Databases databases = new Databases(client); + +try { + DocumentList documents = databases.listDocuments( + "your-database-id", + "your-collection-id", + Book.class // Pass in your custom model type + ); + + for (Book book : documents.getDocuments()) { + Log.d("Appwrite", "Book: " + book.getName() + " by " + book.getAuthor()); // Now you have full type safety + } +} catch (AppwriteException e) { + Log.e("Appwrite", e.getMessage() != null ? e.getMessage() : "Unknown error"); +} +``` + **Tip**: You can use the `appwrite types` command to automatically generate model definitions based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). ### Working with Model Methods diff --git a/docs/sdks/typescript/CHANGELOG.md b/docs/sdks/typescript/CHANGELOG.md deleted file mode 100644 index fa4d35e687..0000000000 --- a/docs/sdks/typescript/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -# Change Log \ No newline at end of file diff --git a/docs/sdks/web/README.md b/docs/sdks/web/README.md deleted file mode 100644 index d1becb4c31..0000000000 --- a/docs/sdks/web/README.md +++ /dev/null @@ -1,15 +0,0 @@ -## Getting Started - -Initialise the Appwrite SDK in your code, and setup your API credentials: - -```js - -// Init your Web SDK -var appwrite = new Appwrite(); - -appwrite - .setEndpoint('http://localhost/v1') // Set only when using self-hosted solution - .setProject('455x34dfkj') // Your Appwrite Project UID -; - -``` From f39fe22e6f2c4e4a91bae6cfc0078154978baaff Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 26 Jul 2025 11:17:43 +0530 Subject: [PATCH 10/23] chore: add docs in web and node --- docs/sdks/nodejs/GETTING_STARTED.md | 65 ++++++++++++++++++++++++ docs/sdks/web/GETTING_STARTED.md | 79 +++++++++++++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/docs/sdks/nodejs/GETTING_STARTED.md b/docs/sdks/nodejs/GETTING_STARTED.md index e98400f846..b54f85c51d 100644 --- a/docs/sdks/nodejs/GETTING_STARTED.md +++ b/docs/sdks/nodejs/GETTING_STARTED.md @@ -1,6 +1,7 @@ ## Getting Started ### Init your SDK + Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page and your new API secret Key project API keys section. ```js @@ -17,6 +18,7 @@ client ``` ### Make Your First Request + Once your SDK object is set, create any of the Appwrite service objects and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in the [API References](https://appwrite.io/docs) section. ```js @@ -54,7 +56,70 @@ promise.then(function (response) { }); ``` +### Type Safety with Models + +The Appwrite Node SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a generic type parameter that allows you to specify your custom model type for full type safety. + +**TypeScript:** +```typescript +interface Book { + name: string; + author: string; + releaseYear?: string; + category?: string; + genre?: string[]; + isCheckedOut: boolean; +} + +const databases = new Databases(client); + +try { + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Now you have full type safety + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**JavaScript (with JSDoc for type hints):** +```javascript +/** + * @typedef {Object} Book + * @property {string} name + * @property {string} author + * @property {string} [releaseYear] + * @property {string} [category] + * @property {string[]} [genre] + * @property {boolean} isCheckedOut + */ + +const databases = new Databases(client); + +try { + /** @type {Models.DocumentList} */ + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Type hints available in IDE + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate TypeScript interfaces based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + ### Error Handling + The Appwrite Node SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. ```js diff --git a/docs/sdks/web/GETTING_STARTED.md b/docs/sdks/web/GETTING_STARTED.md index 26aa9470bd..93f8bd4fc8 100644 --- a/docs/sdks/web/GETTING_STARTED.md +++ b/docs/sdks/web/GETTING_STARTED.md @@ -1,11 +1,13 @@ ## Getting Started ### Add your Web Platform + For you to init your SDK and interact with Appwrite services you need to add a web platform to your project. To add a new platform, go to your Appwrite console, choose the project you created in the step before and click the 'Add Platform' button. From the options, choose to add a **Web** platform and add your client app hostname. By adding your hostname to your project platform you are allowing cross-domain communication between your project and the Appwrite API. ### Init your SDK + Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page. ```js @@ -19,6 +21,7 @@ client ``` ### Make Your First Request + Once your SDK object is set, access any of the Appwrite services and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in the [API References](https://appwrite.io/docs) section. ```js @@ -55,7 +58,83 @@ account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien") }); ``` +### Type Safety with Models + +The Appwrite Web SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a generic type parameter that allows you to specify your custom model type for full type safety. + +**TypeScript:** +```typescript +interface Book { + name: string; + author: string; + releaseYear?: string; + category?: string; + genre?: string[]; + isCheckedOut: boolean; +} + +const databases = new Databases(client); + +try { + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Now you have full type safety + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**JavaScript (with JSDoc for type hints):** +```javascript +/** + * @typedef {Object} Book + * @property {string} name + * @property {string} author + * @property {string} [releaseYear] + * @property {string} [category] + * @property {string[]} [genre] + * @property {boolean} isCheckedOut + */ + +const databases = new Databases(client); + +try { + /** @type {Models.DocumentList} */ + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Type hints available in IDE + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate TypeScript interfaces based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Error Handling + +The Appwrite Web SDK raises an `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching the exception and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. + +```javascript +try { + const user = await account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien"); + console.log('User created:', user); +} catch (error) { + console.error('Appwrite error:', error.message); +} +``` + ### Learn more + You can use the following resources to learn more and get help - 🚀 [Getting Started Tutorial](https://appwrite.io/docs/getting-started-for-web) - 📜 [Appwrite Docs](https://appwrite.io/docs) From 9be01f2ac98642c0bc963d44a5514a5287dded8b Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 26 Jul 2025 11:24:19 +0530 Subject: [PATCH 11/23] add docs in rn --- docs/sdks/deno/GETTING_STARTED.md | 4 ++ docs/sdks/react-native/GETTING_STARTED.md | 84 ++++++++++++++++++++++- docs/sdks/web/GETTING_STARTED.md | 1 + 3 files changed, 87 insertions(+), 2 deletions(-) diff --git a/docs/sdks/deno/GETTING_STARTED.md b/docs/sdks/deno/GETTING_STARTED.md index 22ea80aa84..5046d61c74 100644 --- a/docs/sdks/deno/GETTING_STARTED.md +++ b/docs/sdks/deno/GETTING_STARTED.md @@ -1,6 +1,7 @@ ## Getting Started ### Init your SDK + Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page and your new API secret Key from project's API keys section. ```typescript @@ -26,6 +27,7 @@ console.log(user); ``` ### Full Example + ```typescript import * as sdk from "https://deno.land/x/appwrite/mod.ts"; @@ -44,6 +46,7 @@ console.log(user); ``` ### Error Handling + The Appwrite Deno SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. ```typescript @@ -57,6 +60,7 @@ try { ``` ### Learn more + You can use the following resources to learn more and get help - 🚀 [Getting Started Tutorial](https://appwrite.io/docs/getting-started-for-server) - 📜 [Appwrite Docs](https://appwrite.io/docs) diff --git a/docs/sdks/react-native/GETTING_STARTED.md b/docs/sdks/react-native/GETTING_STARTED.md index 9d07eec54a..a5c6f57c46 100644 --- a/docs/sdks/react-native/GETTING_STARTED.md +++ b/docs/sdks/react-native/GETTING_STARTED.md @@ -1,12 +1,13 @@ - ## Getting Started ### Add your Platform + If this is your first time using Appwrite, create an account and create your first project. Then, under **Add a platform**, add a **Android app** or a **Apple app**. You can skip optional steps. #### iOS steps + Add your app **name** and **Bundle ID**. You can find your **Bundle Identifier** in the **General** tab for your app's primary target in XCode. For Expo projects you can set or find it on **app.json** file at your project's root directory. #### Android steps @@ -24,6 +25,7 @@ import 'react-native-url-polyfill/auto' > `cd ios && pod install && cd ..` ### Init your SDK + Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page. ```js @@ -39,6 +41,7 @@ client ``` ### Make Your First Request + Once your SDK object is set, access any of the Appwrite services and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in the [API References](https://appwrite.io/docs) section. ```js @@ -55,6 +58,7 @@ account.create(ID.unique(), 'me@example.com', 'password', 'Jane Doe') ``` ### Full Example + ```js import { Client, Account } from 'react-native-appwrite'; // Init your React Native SDK @@ -77,9 +81,85 @@ account.create(ID.unique(), 'me@example.com', 'password', 'Jane Doe') }); ``` +### Type Safety with Models + +The Appwrite React Native SDK provides type safety when working with database documents through generic methods. Methods like `listDocuments`, `getDocument`, and others accept a generic type parameter that allows you to specify your custom model type for full type safety. + +**TypeScript:** +```typescript +interface Book { + name: string; + author: string; + releaseYear?: string; + category?: string; + genre?: string[]; + isCheckedOut: boolean; +} + +const databases = new Databases(client); + +try { + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Now you have full type safety + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**JavaScript (with JSDoc for type hints):** +```javascript +/** + * @typedef {Object} Book + * @property {string} name + * @property {string} author + * @property {string} [releaseYear] + * @property {string} [category] + * @property {string[]} [genre] + * @property {boolean} isCheckedOut + */ + +const databases = new Databases(client); + +try { + /** @type {Models.DocumentList} */ + const documents = await databases.listDocuments( + 'your-database-id', + 'your-collection-id' + ); + + documents.documents.forEach(book => { + console.log(`Book: ${book.name} by ${book.author}`); // Type hints available in IDE + }); +} catch (error) { + console.error('Appwrite error:', error); +} +``` + +**Tip**: You can use the `appwrite types` command to automatically generate TypeScript interfaces based on your Appwrite database schema. Learn more about [type generation](https://appwrite.io/docs/products/databases/type-generation). + +### Error Handling + +The Appwrite React Native SDK raises an `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching the exception and present the `message` to the user or handle it yourself based on the provided error information. Below is an example. + +```javascript +try { + const user = await account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien"); + console.log('User created:', user); +} catch (error) { + console.error('Appwrite error:', error.message); +} +``` + ### Learn more + You can use the following resources to learn more and get help - 🚀 [Getting Started Tutorial](https://appwrite.io/docs/quick-starts/react-native) - 📜 [Appwrite Docs](https://appwrite.io/docs) - 💬 [Discord Community](https://appwrite.io/discord) -- 🚂 [Appwrite React Native Playground](https://github.com/appwrite/playground-for-react-native) \ No newline at end of file +- 🚂 [Appwrite React Native Playground](https://github.com/appwrite/playground-for-react-native) diff --git a/docs/sdks/web/GETTING_STARTED.md b/docs/sdks/web/GETTING_STARTED.md index 93f8bd4fc8..cc75a3d3e5 100644 --- a/docs/sdks/web/GETTING_STARTED.md +++ b/docs/sdks/web/GETTING_STARTED.md @@ -38,6 +38,7 @@ account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien") ``` ### Full Example + ```js // Init your Web SDK const client = new Client(); From 1f26f98568164a29f3213908f171c79b1926a2ac Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 27 Jul 2025 10:01:37 +0530 Subject: [PATCH 12/23] chore: update go --- app/config/platforms.php | 2 +- docs/sdks/go/CHANGELOG.md | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index 127100710d..ae09c39cac 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -341,7 +341,7 @@ return [ [ 'key' => 'go', 'name' => 'Go', - 'version' => '0.7.1', + 'version' => '0.9.0', 'url' => 'https://github.com/appwrite/sdk-for-go', 'package' => 'https://github.com/appwrite/sdk-for-go', 'enabled' => true, diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index 0727ce1e2b..418c7db5e5 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -1,12 +1,12 @@ # Change Log -## 0.7.1 +## 0.9.0 * Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service * Add `upsertDocument` support to `Databases` service * Update doc examples to use correct syntax -## 0.7.0 +## 0.8.0 * Add `` to doc examples due to the new multi region endpoints * Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc. @@ -18,6 +18,10 @@ * Add `queries` and `search` params to `listMemberships` method * Remove `search` param from `listExecutions` method +## 0.7.0 + +* Version skipped + ## 0.6.0 * Add bulk API methods: `createDocuments`, `deleteDocuments` etc. @@ -25,3 +29,11 @@ ## 0.5.0 * Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests + +## 0.4.0 + +* Fix pong response and chunked upload + +## 0.3.0 + +* Add new push message parameters From f2a3369131e9cd9600f237dc2a07d7333da3b326 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 27 Jul 2025 10:18:51 +0530 Subject: [PATCH 13/23] chore: use config.json --- .gitignore | 1 - app/config/variables.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 600a6aeb08..369aec6ff5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,4 @@ app/sdks dev/yasd_init.php .phpunit.result.cache Makefile -appwrite.json /.zed/ \ No newline at end of file diff --git a/app/config/variables.php b/app/config/variables.php index 2f9a5ab41a..71ed13a483 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -827,7 +827,7 @@ return [ ], [ 'name' => '_APP_FUNCTIONS_TIMEOUT', - 'description' => 'The maximum number of seconds allowed as a timeout value when creating a new function. The default value is 900 seconds. This is the global limit, timeout for individual functions are configured in the function\'s settings or in appwrite.json.', + 'description' => 'The maximum number of seconds allowed as a timeout value when creating a new function. The default value is 900 seconds. This is the global limit, timeout for individual functions are configured in the function\'s settings or in appwrite.config.json.', 'introduction' => '0.7.0', 'default' => '900', 'required' => false, @@ -1070,7 +1070,7 @@ return [ 'variables' => [ [ 'name' => '_APP_SITES_TIMEOUT', - 'description' => 'The maximum number of seconds allowed as a timeout value when creating a new site. The default value is 900 seconds. This is the global limit, timeout for individual functions are configured in the sites\'s settings or in appwrite.json.', + 'description' => 'The maximum number of seconds allowed as a timeout value when creating a new site. The default value is 900 seconds. This is the global limit, timeout for individual functions are configured in the sites\'s settings or in appwrite.config.json.', 'introduction' => '1.7.0', 'default' => '900', 'required' => false, From 1f13a0d437678f5e9ed3834efae797f73c472804 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 27 Jul 2025 10:19:14 +0530 Subject: [PATCH 14/23] fix: gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 369aec6ff5..1d0f0533f2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ app/sdks dev/yasd_init.php .phpunit.result.cache Makefile +appwrite.config.json /.zed/ \ No newline at end of file From 2529d64791dfe9ab2349694ae80547d347932a83 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 29 Jul 2025 16:53:13 +1200 Subject: [PATCH 15/23] Filter sequence to int because any models skip rule checks --- src/Appwrite/Utopia/Response/Model/Document.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Utopia/Response/Model/Document.php b/src/Appwrite/Utopia/Response/Model/Document.php index d43ab0d1e6..c36d6de12e 100644 --- a/src/Appwrite/Utopia/Response/Model/Document.php +++ b/src/Appwrite/Utopia/Response/Model/Document.php @@ -79,6 +79,7 @@ class Document extends Any { $document->removeAttribute('$collection'); $document->removeAttribute('$tenant'); + $document->setAttribute('$sequence', (int)$document->getAttribute('$sequence', 0)); foreach ($document->getAttributes() as $attribute) { if (\is_array($attribute)) { From 360e4ce9923703436194fd140fff0b2890d680d6 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 29 Jul 2025 16:54:39 +1200 Subject: [PATCH 16/23] Add test case --- tests/e2e/Services/Databases/DatabasesBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/Services/Databases/DatabasesBase.php b/tests/e2e/Services/Databases/DatabasesBase.php index be982ac145..de5d33f29d 100644 --- a/tests/e2e/Services/Databases/DatabasesBase.php +++ b/tests/e2e/Services/Databases/DatabasesBase.php @@ -1657,6 +1657,7 @@ trait DatabasesBase $this->assertEquals($document1['body']['actors'][1], 'Samuel Jackson'); $this->assertEquals($document1['body']['birthDay'], '1975-06-12T12:12:55.000+00:00'); $this->assertTrue(array_key_exists('$sequence', $document1['body'])); + $this->assertIsInt($document1['body']['$sequence']); $this->assertEquals(201, $document2['headers']['status-code']); $this->assertEquals($data['moviesId'], $document2['body']['$collectionId']); From b69ad22485cb709c3b97b359d640c738384b481a Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Tue, 29 Jul 2025 10:25:31 +0530 Subject: [PATCH 17/23] updated migration release --- composer.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/composer.lock b/composer.lock index 8bc8ffaebe..5cd409fac6 100644 --- a/composer.lock +++ b/composer.lock @@ -3993,16 +3993,16 @@ }, { "name": "utopia-php/migration", - "version": "0.11.1", + "version": "0.11.2", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "d528a454d5c1ed6564b2843a39ff13297bcdb1af" + "reference": "00f2b8e9927883f611e4e1ff179fa79e6bb2a12a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/d528a454d5c1ed6564b2843a39ff13297bcdb1af", - "reference": "d528a454d5c1ed6564b2843a39ff13297bcdb1af", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/00f2b8e9927883f611e4e1ff179fa79e6bb2a12a", + "reference": "00f2b8e9927883f611e4e1ff179fa79e6bb2a12a", "shasum": "" }, "require": { @@ -4043,9 +4043,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.11.1" + "source": "https://github.com/utopia-php/migration/tree/0.11.2" }, - "time": "2025-07-11T13:46:37+00:00" + "time": "2025-07-29T04:27:20+00:00" }, { "name": "utopia-php/orchestration", @@ -4810,16 +4810,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.41.23", + "version": "0.41.24", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001" + "reference": "c9ebf8daa25332ca701515d42e8d0c4a7be6a489" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/188dff738ff7b9f1f9209b34ac2092b5456b1001", - "reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/c9ebf8daa25332ca701515d42e8d0c4a7be6a489", + "reference": "c9ebf8daa25332ca701515d42e8d0c4a7be6a489", "shasum": "" }, "require": { @@ -4855,9 +4855,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.41.23" + "source": "https://github.com/appwrite/sdk-generator/tree/0.41.24" }, - "time": "2025-07-25T06:47:04+00:00" + "time": "2025-07-28T06:27:00+00:00" }, { "name": "doctrine/annotations", @@ -5336,16 +5336,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.5.0", + "version": "v5.6.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "ae59794362fe85e051a58ad36b289443f57be7a9" + "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9", - "reference": "ae59794362fe85e051a58ad36b289443f57be7a9", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56", + "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56", "shasum": "" }, "require": { @@ -5388,9 +5388,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.0" }, - "time": "2025-05-31T08:24:38+00:00" + "time": "2025-07-27T20:03:57+00:00" }, { "name": "phar-io/manifest", From 06e4920ee224b27bbcbdd1bda1adefb638a3e9a8 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 29 Jul 2025 11:57:57 +0530 Subject: [PATCH 18/23] fix: create email target when using email otp registration --- app/controllers/api/account.php | 26 +++++++++++++++++++++- tests/e2e/Services/Account/AccountBase.php | 6 ++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 6adbf61d6d..df17051d6d 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -2239,7 +2239,31 @@ App::post('/v1/account/tokens/email') ]); $user->removeAttribute('$sequence'); - Authorization::skip(fn () => $dbForProject->createDocument('users', $user)); + $user = Authorization::skip(fn () => $dbForProject->createDocument('users', $user)); + + try { + $target = Authorization::skip(fn () => $dbForProject->createDocument('targets', new Document([ + '$permissions' => [ + Permission::read(Role::user($user->getId())), + Permission::update(Role::user($user->getId())), + Permission::delete(Role::user($user->getId())), + ], + 'userId' => $user->getId(), + 'userInternalId' => $user->getSequence(), + 'providerType' => MESSAGE_TYPE_EMAIL, + 'identifier' => $email, + ]))); + $user->setAttribute('targets', [...$user->getAttribute('targets', []), $target]); + } catch (Duplicate) { + $existingTarget = $dbForProject->findOne('targets', [ + Query::equal('identifier', [$email]), + ]); + if (!$existingTarget->isEmpty()) { + $user->setAttribute('targets', $existingTarget, Document::SET_TYPE_APPEND); + } + } + + $dbForProject->purgeCachedDocument('users', $user->getId()); } $tokenSecret = Auth::codeGenerator(6); diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 7c83edf3e3..8813e2784f 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -39,6 +39,8 @@ trait AccountBase $this->assertEquals($response['body']['labels'], []); $this->assertArrayHasKey('accessedAt', $response['body']); $this->assertNotEmpty($response['body']['accessedAt']); + $this->assertArrayHasKey('targets', $response['body']); + $this->assertEquals($email, $response['body']['targets'][0]['identifier']); /** * Test for FAILURE @@ -159,7 +161,7 @@ trait AccountBase 'email' => 'otpuser@appwrite.io' ]); - $this->assertEquals(201, $response['headers']['status-code'], ); + $this->assertEquals(201, $response['headers']['status-code']); $this->assertNotEmpty($response['body']['$id']); $this->assertNotEmpty($response['body']['$createdAt']); $this->assertNotEmpty($response['body']['userId']); @@ -209,6 +211,8 @@ trait AccountBase $this->assertEquals($userId, $response['body']['$id']); $this->assertEquals($userId, $response['body']['$id']); $this->assertTrue($response['body']['emailVerification']); + $this->assertArrayHasKey('targets', $response['body']); + $this->assertEquals('otpuser@appwrite.io', $response['body']['targets'][0]['identifier']); $response = $this->client->call(Client::METHOD_POST, '/account/sessions/token', array_merge([ 'origin' => 'http://localhost', From 7ad01fcadae3edaad48ca009b15cbe7e8e1ee1c8 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 29 Jul 2025 12:23:06 +0530 Subject: [PATCH 19/23] linebreak --- app/controllers/api/account.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index df17051d6d..61b71930eb 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -2240,7 +2240,6 @@ App::post('/v1/account/tokens/email') $user->removeAttribute('$sequence'); $user = Authorization::skip(fn () => $dbForProject->createDocument('users', $user)); - try { $target = Authorization::skip(fn () => $dbForProject->createDocument('targets', new Document([ '$permissions' => [ From bdf9dd5192dc8d34424c3b20ece1b291309bc3bd Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 29 Jul 2025 20:12:27 +1200 Subject: [PATCH 20/23] Update migrations --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 40740b711f..e0c9dc36af 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,7 @@ "utopia-php/locale": "0.4.*", "utopia-php/logger": "0.6.*", "utopia-php/messaging": "0.18.*", - "utopia-php/migration": "0.13.3", + "utopia-php/migration": "0.13.*", "utopia-php/orchestration": "0.9.*", "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", diff --git a/composer.lock b/composer.lock index bddc8ec936..cae0976158 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f152305ec0b90245773867cde288582d", + "content-hash": "a2740535c6a9ebbcf6d01df4d35bb78d", "packages": [ { "name": "adhocore/jwt", @@ -3993,16 +3993,16 @@ }, { "name": "utopia-php/migration", - "version": "0.13.3", + "version": "0.13.5", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "cf6b192f78dacfa06b659646c228b203212b3c6b" + "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/cf6b192f78dacfa06b659646c228b203212b3c6b", - "reference": "cf6b192f78dacfa06b659646c228b203212b3c6b", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/8142d722d8eeec443e6d5df91b69ecf89b86df8e", + "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e", "shasum": "" }, "require": { @@ -4043,9 +4043,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.13.3" + "source": "https://github.com/utopia-php/migration/tree/0.13.5" }, - "time": "2025-07-23T08:02:04+00:00" + "time": "2025-07-29T04:15:45+00:00" }, { "name": "utopia-php/orchestration", @@ -8239,7 +8239,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { From 451e590c4903f55b4a306843fdb1b23470afe400 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 30 Jul 2025 10:24:37 +0530 Subject: [PATCH 21/23] remove: tables examples. --- .../client-android/java/tables/create-row.md | 28 ---------------- .../client-android/java/tables/create-rows.md | 25 -------------- .../client-android/java/tables/delete-row.md | 24 -------------- .../client-android/java/tables/get-row.md | 25 -------------- .../client-android/java/tables/list-rows.md | 24 -------------- .../client-android/java/tables/update-row.md | 26 --------------- .../client-android/java/tables/upsert-row.md | 26 --------------- .../kotlin/tables/create-row.md | 19 ----------- .../kotlin/tables/create-rows.md | 16 --------- .../kotlin/tables/delete-row.md | 15 --------- .../client-android/kotlin/tables/get-row.md | 16 --------- .../client-android/kotlin/tables/list-rows.md | 15 --------- .../kotlin/tables/update-row.md | 17 ---------- .../kotlin/tables/upsert-row.md | 17 ---------- .../examples/tables/create-row.md | 18 ---------- .../examples/tables/create-rows.md | 15 --------- .../examples/tables/delete-row.md | 14 -------- .../client-apple/examples/tables/get-row.md | 15 --------- .../client-apple/examples/tables/list-rows.md | 14 -------- .../examples/tables/update-row.md | 16 --------- .../examples/tables/upsert-row.md | 16 --------- .../examples/tables/create-row.md | 17 ---------- .../examples/tables/create-rows.md | 14 -------- .../examples/tables/delete-row.md | 13 -------- .../client-flutter/examples/tables/get-row.md | 14 -------- .../examples/tables/list-rows.md | 13 -------- .../examples/tables/update-row.md | 15 --------- .../examples/tables/upsert-row.md | 15 --------- .../examples/tables/create-row.md | 18 ---------- .../examples/tables/create-rows.md | 19 ----------- .../examples/tables/delete-row.md | 9 ----- .../client-graphql/examples/tables/get-row.md | 0 .../examples/tables/list-rows.md | 0 .../examples/tables/update-row.md | 18 ---------- .../examples/tables/upsert-row.md | 16 --------- .../examples/tables/create-row.md | 19 ----------- .../examples/tables/create-rows.md | 16 --------- .../examples/tables/delete-row.md | 15 --------- .../examples/tables/get-row.md | 16 --------- .../examples/tables/list-rows.md | 15 --------- .../examples/tables/update-row.md | 17 ---------- .../examples/tables/upsert-row.md | 17 ---------- .../client-rest/examples/tables/create-row.md | 13 -------- .../examples/tables/create-rows.md | 11 ------- .../client-rest/examples/tables/delete-row.md | 8 ----- .../client-rest/examples/tables/get-row.md | 6 ---- .../client-rest/examples/tables/list-rows.md | 6 ---- .../client-rest/examples/tables/update-row.md | 12 ------- .../client-rest/examples/tables/upsert-row.md | 8 ----- .../client-web/examples/tables/create-row.md | 19 ----------- .../client-web/examples/tables/create-rows.md | 16 --------- .../client-web/examples/tables/delete-row.md | 15 --------- .../client-web/examples/tables/get-row.md | 16 --------- .../client-web/examples/tables/list-rows.md | 15 --------- .../client-web/examples/tables/update-row.md | 17 ---------- .../client-web/examples/tables/upsert-row.md | 17 ---------- .../examples/tables/create-boolean-column.md | 7 ---- .../examples/tables/create-datetime-column.md | 7 ---- .../examples/tables/create-email-column.md | 7 ---- .../examples/tables/create-enum-column.md | 8 ----- .../examples/tables/create-float-column.md | 9 ----- .../examples/tables/create-index.md | 8 ----- .../examples/tables/create-integer-column.md | 9 ----- .../examples/tables/create-ip-column.md | 7 ---- .../tables/create-relationship-column.md | 9 ----- .../console-cli/examples/tables/create-row.md | 6 ---- .../examples/tables/create-rows.md | 4 --- .../examples/tables/create-string-column.md | 9 ----- .../examples/tables/create-url-column.md | 7 ---- .../console-cli/examples/tables/create.md | 7 ---- .../examples/tables/decrement-row-column.md | 7 ---- .../examples/tables/delete-column.md | 4 --- .../examples/tables/delete-index.md | 4 --- .../console-cli/examples/tables/delete-row.md | 4 --- .../examples/tables/delete-rows.md | 4 --- .../console-cli/examples/tables/delete.md | 3 -- .../console-cli/examples/tables/get-column.md | 4 --- .../console-cli/examples/tables/get-index.md | 4 --- .../console-cli/examples/tables/get-row.md | 5 --- .../examples/tables/get-table-usage.md | 4 --- .../console-cli/examples/tables/get-usage.md | 4 --- .../1.8.x/console-cli/examples/tables/get.md | 3 -- .../examples/tables/increment-row-column.md | 7 ---- .../examples/tables/list-columns.md | 4 --- .../examples/tables/list-indexes.md | 4 --- .../console-cli/examples/tables/list-logs.md | 4 --- .../examples/tables/list-row-logs.md | 5 --- .../console-cli/examples/tables/list-rows.md | 4 --- .../1.8.x/console-cli/examples/tables/list.md | 4 --- .../examples/tables/update-boolean-column.md | 7 ---- .../examples/tables/update-datetime-column.md | 7 ---- .../examples/tables/update-email-column.md | 7 ---- .../examples/tables/update-enum-column.md | 8 ----- .../examples/tables/update-float-column.md | 9 ----- .../examples/tables/update-integer-column.md | 9 ----- .../examples/tables/update-ip-column.md | 7 ---- .../tables/update-relationship-column.md | 6 ---- .../console-cli/examples/tables/update-row.md | 6 ---- .../examples/tables/update-rows.md | 5 --- .../examples/tables/update-string-column.md | 8 ----- .../examples/tables/update-url-column.md | 7 ---- .../console-cli/examples/tables/update.md | 7 ---- .../console-cli/examples/tables/upsert-row.md | 4 --- .../examples/tables/upsert-rows.md | 3 -- .../examples/tables/create-boolean-column.md | 18 ---------- .../examples/tables/create-datetime-column.md | 18 ---------- .../examples/tables/create-email-column.md | 18 ---------- .../examples/tables/create-enum-column.md | 19 ----------- .../examples/tables/create-float-column.md | 20 ----------- .../examples/tables/create-index.md | 19 ----------- .../examples/tables/create-integer-column.md | 20 ----------- .../examples/tables/create-ip-column.md | 18 ---------- .../tables/create-relationship-column.md | 20 ----------- .../console-web/examples/tables/create-row.md | 19 ----------- .../examples/tables/create-rows.md | 16 --------- .../examples/tables/create-string-column.md | 20 ----------- .../examples/tables/create-url-column.md | 18 ---------- .../console-web/examples/tables/create.md | 18 ---------- .../examples/tables/decrement-row-column.md | 18 ---------- .../examples/tables/delete-column.md | 15 --------- .../examples/tables/delete-index.md | 15 --------- .../console-web/examples/tables/delete-row.md | 15 --------- .../examples/tables/delete-rows.md | 15 --------- .../console-web/examples/tables/delete.md | 14 -------- .../console-web/examples/tables/get-column.md | 15 --------- .../console-web/examples/tables/get-index.md | 15 --------- .../console-web/examples/tables/get-row.md | 16 --------- .../examples/tables/get-table-usage.md | 15 --------- .../console-web/examples/tables/get-usage.md | 15 --------- .../1.8.x/console-web/examples/tables/get.md | 14 -------- .../examples/tables/increment-row-column.md | 18 ---------- .../examples/tables/list-columns.md | 15 --------- .../examples/tables/list-indexes.md | 15 --------- .../console-web/examples/tables/list-logs.md | 15 --------- .../examples/tables/list-row-logs.md | 16 --------- .../console-web/examples/tables/list-rows.md | 15 --------- .../1.8.x/console-web/examples/tables/list.md | 15 --------- .../examples/tables/update-boolean-column.md | 18 ---------- .../examples/tables/update-datetime-column.md | 18 ---------- .../examples/tables/update-email-column.md | 18 ---------- .../examples/tables/update-enum-column.md | 19 ----------- .../examples/tables/update-float-column.md | 20 ----------- .../examples/tables/update-integer-column.md | 20 ----------- .../examples/tables/update-ip-column.md | 18 ---------- .../tables/update-relationship-column.md | 17 ---------- .../console-web/examples/tables/update-row.md | 17 ---------- .../examples/tables/update-rows.md | 16 --------- .../examples/tables/update-string-column.md | 19 ----------- .../examples/tables/update-url-column.md | 18 ---------- .../console-web/examples/tables/update.md | 18 ---------- .../console-web/examples/tables/upsert-row.md | 17 ---------- .../examples/tables/upsert-rows.md | 15 --------- .../examples/tables/create-boolean-column.md | 17 ---------- .../examples/tables/create-datetime-column.md | 17 ---------- .../examples/tables/create-email-column.md | 17 ---------- .../examples/tables/create-enum-column.md | 18 ---------- .../examples/tables/create-float-column.md | 19 ----------- .../examples/tables/create-index.md | 18 ---------- .../examples/tables/create-integer-column.md | 19 ----------- .../examples/tables/create-ip-column.md | 17 ---------- .../tables/create-relationship-column.md | 19 ----------- .../server-dart/examples/tables/create-row.md | 17 ---------- .../examples/tables/create-rows.md | 14 -------- .../examples/tables/create-string-column.md | 19 ----------- .../examples/tables/create-url-column.md | 17 ---------- .../server-dart/examples/tables/create.md | 17 ---------- .../examples/tables/decrement-row-column.md | 17 ---------- .../examples/tables/delete-column.md | 14 -------- .../examples/tables/delete-index.md | 14 -------- .../server-dart/examples/tables/delete-row.md | 14 -------- .../examples/tables/delete-rows.md | 14 -------- .../server-dart/examples/tables/delete.md | 13 -------- .../server-dart/examples/tables/get-column.md | 14 -------- .../server-dart/examples/tables/get-index.md | 14 -------- .../server-dart/examples/tables/get-row.md | 15 --------- .../1.8.x/server-dart/examples/tables/get.md | 13 -------- .../examples/tables/increment-row-column.md | 17 ---------- .../examples/tables/list-columns.md | 14 -------- .../examples/tables/list-indexes.md | 14 -------- .../server-dart/examples/tables/list-rows.md | 14 -------- .../1.8.x/server-dart/examples/tables/list.md | 14 -------- .../examples/tables/update-boolean-column.md | 17 ---------- .../examples/tables/update-datetime-column.md | 17 ---------- .../examples/tables/update-email-column.md | 17 ---------- .../examples/tables/update-enum-column.md | 18 ---------- .../examples/tables/update-float-column.md | 19 ----------- .../examples/tables/update-integer-column.md | 19 ----------- .../examples/tables/update-ip-column.md | 17 ---------- .../tables/update-relationship-column.md | 16 --------- .../server-dart/examples/tables/update-row.md | 16 --------- .../examples/tables/update-rows.md | 15 --------- .../examples/tables/update-string-column.md | 18 ---------- .../examples/tables/update-url-column.md | 17 ---------- .../server-dart/examples/tables/update.md | 17 ---------- .../server-dart/examples/tables/upsert-row.md | 15 --------- .../examples/tables/upsert-rows.md | 13 -------- .../examples/tables/create-boolean-column.md | 17 ---------- .../examples/tables/create-datetime-column.md | 17 ---------- .../examples/tables/create-email-column.md | 17 ---------- .../examples/tables/create-enum-column.md | 18 ---------- .../examples/tables/create-float-column.md | 19 ----------- .../examples/tables/create-index.md | 18 ---------- .../examples/tables/create-integer-column.md | 19 ----------- .../examples/tables/create-ip-column.md | 17 ---------- .../tables/create-relationship-column.md | 19 ----------- .../server-deno/examples/tables/create-row.md | 17 ---------- .../examples/tables/create-rows.md | 14 -------- .../examples/tables/create-string-column.md | 19 ----------- .../examples/tables/create-url-column.md | 17 ---------- .../server-deno/examples/tables/create.md | 17 ---------- .../examples/tables/decrement-row-column.md | 17 ---------- .../examples/tables/delete-column.md | 14 -------- .../examples/tables/delete-index.md | 14 -------- .../server-deno/examples/tables/delete-row.md | 14 -------- .../examples/tables/delete-rows.md | 14 -------- .../server-deno/examples/tables/delete.md | 13 -------- .../server-deno/examples/tables/get-column.md | 14 -------- .../server-deno/examples/tables/get-index.md | 14 -------- .../server-deno/examples/tables/get-row.md | 15 --------- .../1.8.x/server-deno/examples/tables/get.md | 13 -------- .../examples/tables/increment-row-column.md | 17 ---------- .../examples/tables/list-columns.md | 14 -------- .../examples/tables/list-indexes.md | 14 -------- .../server-deno/examples/tables/list-rows.md | 14 -------- .../1.8.x/server-deno/examples/tables/list.md | 14 -------- .../examples/tables/update-boolean-column.md | 17 ---------- .../examples/tables/update-datetime-column.md | 17 ---------- .../examples/tables/update-email-column.md | 17 ---------- .../examples/tables/update-enum-column.md | 18 ---------- .../examples/tables/update-float-column.md | 19 ----------- .../examples/tables/update-integer-column.md | 19 ----------- .../examples/tables/update-ip-column.md | 17 ---------- .../tables/update-relationship-column.md | 16 --------- .../server-deno/examples/tables/update-row.md | 16 --------- .../examples/tables/update-rows.md | 15 --------- .../examples/tables/update-string-column.md | 18 ---------- .../examples/tables/update-url-column.md | 17 ---------- .../server-deno/examples/tables/update.md | 17 ---------- .../server-deno/examples/tables/upsert-row.md | 15 --------- .../examples/tables/upsert-rows.md | 13 -------- .../examples/tables/create-boolean-column.md | 19 ----------- .../examples/tables/create-datetime-column.md | 19 ----------- .../examples/tables/create-email-column.md | 19 ----------- .../examples/tables/create-enum-column.md | 20 ----------- .../examples/tables/create-float-column.md | 21 ------------ .../examples/tables/create-index.md | 21 ------------ .../examples/tables/create-integer-column.md | 21 ------------ .../examples/tables/create-ip-column.md | 19 ----------- .../tables/create-relationship-column.md | 22 ------------- .../examples/tables/create-row.md | 19 ----------- .../examples/tables/create-rows.md | 16 --------- .../examples/tables/create-string-column.md | 21 ------------ .../examples/tables/create-url-column.md | 19 ----------- .../server-dotnet/examples/tables/create.md | 19 ----------- .../examples/tables/decrement-row-column.md | 19 ----------- .../examples/tables/delete-column.md | 16 --------- .../examples/tables/delete-index.md | 16 --------- .../examples/tables/delete-row.md | 16 --------- .../examples/tables/delete-rows.md | 16 --------- .../server-dotnet/examples/tables/delete.md | 15 --------- .../examples/tables/get-column.md | 16 --------- .../examples/tables/get-index.md | 16 --------- .../server-dotnet/examples/tables/get-row.md | 17 ---------- .../server-dotnet/examples/tables/get.md | 15 --------- .../examples/tables/increment-row-column.md | 19 ----------- .../examples/tables/list-columns.md | 16 --------- .../examples/tables/list-indexes.md | 16 --------- .../examples/tables/list-rows.md | 16 --------- .../server-dotnet/examples/tables/list.md | 16 --------- .../examples/tables/update-boolean-column.md | 19 ----------- .../examples/tables/update-datetime-column.md | 19 ----------- .../examples/tables/update-email-column.md | 19 ----------- .../examples/tables/update-enum-column.md | 20 ----------- .../examples/tables/update-float-column.md | 21 ------------ .../examples/tables/update-integer-column.md | 21 ------------ .../examples/tables/update-ip-column.md | 19 ----------- .../tables/update-relationship-column.md | 19 ----------- .../examples/tables/update-row.md | 18 ---------- .../examples/tables/update-rows.md | 17 ---------- .../examples/tables/update-string-column.md | 20 ----------- .../examples/tables/update-url-column.md | 19 ----------- .../server-dotnet/examples/tables/update.md | 19 ----------- .../examples/tables/upsert-row.md | 17 ---------- .../examples/tables/upsert-rows.md | 15 --------- .../examples/tables/create-boolean-column.md | 31 ----------------- .../examples/tables/create-datetime-column.md | 31 ----------------- .../examples/tables/create-email-column.md | 31 ----------------- .../examples/tables/create-enum-column.md | 32 ------------------ .../examples/tables/create-float-column.md | 33 ------------------- .../server-go/examples/tables/create-index.md | 32 ------------------ .../examples/tables/create-integer-column.md | 33 ------------------- .../examples/tables/create-ip-column.md | 31 ----------------- .../tables/create-relationship-column.md | 33 ------------------- .../server-go/examples/tables/create-row.md | 31 ----------------- .../server-go/examples/tables/create-rows.md | 28 ---------------- .../examples/tables/create-string-column.md | 33 ------------------- .../examples/tables/create-url-column.md | 31 ----------------- .../1.8.x/server-go/examples/tables/create.md | 31 ----------------- .../examples/tables/decrement-row-column.md | 31 ----------------- .../examples/tables/delete-column.md | 28 ---------------- .../server-go/examples/tables/delete-index.md | 28 ---------------- .../server-go/examples/tables/delete-row.md | 28 ---------------- .../server-go/examples/tables/delete-rows.md | 28 ---------------- .../1.8.x/server-go/examples/tables/delete.md | 27 --------------- .../server-go/examples/tables/get-column.md | 28 ---------------- .../server-go/examples/tables/get-index.md | 28 ---------------- .../server-go/examples/tables/get-row.md | 29 ---------------- .../1.8.x/server-go/examples/tables/get.md | 27 --------------- .../examples/tables/increment-row-column.md | 31 ----------------- .../server-go/examples/tables/list-columns.md | 28 ---------------- .../server-go/examples/tables/list-indexes.md | 28 ---------------- .../server-go/examples/tables/list-rows.md | 28 ---------------- .../1.8.x/server-go/examples/tables/list.md | 28 ---------------- .../examples/tables/update-boolean-column.md | 31 ----------------- .../examples/tables/update-datetime-column.md | 31 ----------------- .../examples/tables/update-email-column.md | 31 ----------------- .../examples/tables/update-enum-column.md | 32 ------------------ .../examples/tables/update-float-column.md | 33 ------------------- .../examples/tables/update-integer-column.md | 33 ------------------- .../examples/tables/update-ip-column.md | 31 ----------------- .../tables/update-relationship-column.md | 30 ----------------- .../server-go/examples/tables/update-row.md | 30 ----------------- .../server-go/examples/tables/update-rows.md | 29 ---------------- .../examples/tables/update-string-column.md | 32 ------------------ .../examples/tables/update-url-column.md | 31 ----------------- .../1.8.x/server-go/examples/tables/update.md | 31 ----------------- .../server-go/examples/tables/upsert-row.md | 29 ---------------- .../server-go/examples/tables/upsert-rows.md | 27 --------------- .../examples/tables/create-boolean-column.md | 20 ----------- .../examples/tables/create-datetime-column.md | 21 ------------ .../examples/tables/create-email-column.md | 21 ------------ .../examples/tables/create-enum-column.md | 23 ------------- .../examples/tables/create-float-column.md | 24 -------------- .../examples/tables/create-index.md | 21 ------------ .../examples/tables/create-integer-column.md | 24 -------------- .../examples/tables/create-ip-column.md | 21 ------------ .../tables/create-relationship-column.md | 27 --------------- .../examples/tables/create-row.md | 18 ---------- .../examples/tables/create-rows.md | 19 ----------- .../examples/tables/create-string-column.md | 24 -------------- .../examples/tables/create-url-column.md | 21 ------------ .../server-graphql/examples/tables/create.md | 31 ----------------- .../examples/tables/decrement-row-column.md | 19 ----------- .../examples/tables/delete-column.md | 9 ----- .../examples/tables/delete-index.md | 9 ----- .../examples/tables/delete-row.md | 9 ----- .../examples/tables/delete-rows.md | 19 ----------- .../server-graphql/examples/tables/delete.md | 8 ----- .../examples/tables/get-column.md | 0 .../examples/tables/get-index.md | 0 .../server-graphql/examples/tables/get-row.md | 0 .../server-graphql/examples/tables/get.md | 0 .../examples/tables/increment-row-column.md | 19 ----------- .../examples/tables/list-columns.md | 0 .../examples/tables/list-indexes.md | 0 .../examples/tables/list-rows.md | 0 .../server-graphql/examples/tables/list.md | 0 .../examples/tables/update-boolean-column.md | 20 ----------- .../examples/tables/update-datetime-column.md | 21 ------------ .../examples/tables/update-email-column.md | 21 ------------ .../examples/tables/update-enum-column.md | 23 ------------- .../examples/tables/update-float-column.md | 24 -------------- .../examples/tables/update-integer-column.md | 24 -------------- .../examples/tables/update-ip-column.md | 21 ------------ .../tables/update-relationship-column.md | 24 -------------- .../examples/tables/update-row.md | 18 ---------- .../examples/tables/update-rows.md | 20 ----------- .../examples/tables/update-string-column.md | 23 ------------- .../examples/tables/update-url-column.md | 21 ------------ .../server-graphql/examples/tables/update.md | 31 ----------------- .../examples/tables/upsert-row.md | 16 --------- .../examples/tables/upsert-rows.md | 18 ---------- .../java/tables/create-boolean-column.md | 28 ---------------- .../java/tables/create-datetime-column.md | 28 ---------------- .../java/tables/create-email-column.md | 28 ---------------- .../java/tables/create-enum-column.md | 29 ---------------- .../java/tables/create-float-column.md | 30 ----------------- .../server-kotlin/java/tables/create-index.md | 30 ----------------- .../java/tables/create-integer-column.md | 30 ----------------- .../java/tables/create-ip-column.md | 28 ---------------- .../java/tables/create-relationship-column.md | 31 ----------------- .../server-kotlin/java/tables/create-row.md | 28 ---------------- .../server-kotlin/java/tables/create-rows.md | 25 -------------- .../java/tables/create-string-column.md | 30 ----------------- .../java/tables/create-url-column.md | 28 ---------------- .../1.8.x/server-kotlin/java/tables/create.md | 28 ---------------- .../java/tables/decrement-row-column.md | 28 ---------------- .../java/tables/delete-column.md | 25 -------------- .../server-kotlin/java/tables/delete-index.md | 25 -------------- .../server-kotlin/java/tables/delete-row.md | 25 -------------- .../server-kotlin/java/tables/delete-rows.md | 25 -------------- .../1.8.x/server-kotlin/java/tables/delete.md | 24 -------------- .../server-kotlin/java/tables/get-column.md | 25 -------------- .../server-kotlin/java/tables/get-index.md | 25 -------------- .../server-kotlin/java/tables/get-row.md | 26 --------------- .../1.8.x/server-kotlin/java/tables/get.md | 24 -------------- .../java/tables/increment-row-column.md | 28 ---------------- .../server-kotlin/java/tables/list-columns.md | 25 -------------- .../server-kotlin/java/tables/list-indexes.md | 25 -------------- .../server-kotlin/java/tables/list-rows.md | 25 -------------- .../1.8.x/server-kotlin/java/tables/list.md | 25 -------------- .../java/tables/update-boolean-column.md | 28 ---------------- .../java/tables/update-datetime-column.md | 28 ---------------- .../java/tables/update-email-column.md | 28 ---------------- .../java/tables/update-enum-column.md | 29 ---------------- .../java/tables/update-float-column.md | 30 ----------------- .../java/tables/update-integer-column.md | 30 ----------------- .../java/tables/update-ip-column.md | 28 ---------------- .../java/tables/update-relationship-column.md | 27 --------------- .../server-kotlin/java/tables/update-row.md | 27 --------------- .../server-kotlin/java/tables/update-rows.md | 26 --------------- .../java/tables/update-string-column.md | 29 ---------------- .../java/tables/update-url-column.md | 28 ---------------- .../1.8.x/server-kotlin/java/tables/update.md | 28 ---------------- .../server-kotlin/java/tables/upsert-row.md | 26 --------------- .../server-kotlin/java/tables/upsert-rows.md | 24 -------------- .../kotlin/tables/create-boolean-column.md | 19 ----------- .../kotlin/tables/create-datetime-column.md | 19 ----------- .../kotlin/tables/create-email-column.md | 19 ----------- .../kotlin/tables/create-enum-column.md | 20 ----------- .../kotlin/tables/create-float-column.md | 21 ------------ .../kotlin/tables/create-index.md | 21 ------------ .../kotlin/tables/create-integer-column.md | 21 ------------ .../kotlin/tables/create-ip-column.md | 19 ----------- .../tables/create-relationship-column.md | 22 ------------- .../server-kotlin/kotlin/tables/create-row.md | 19 ----------- .../kotlin/tables/create-rows.md | 16 --------- .../kotlin/tables/create-string-column.md | 21 ------------ .../kotlin/tables/create-url-column.md | 19 ----------- .../server-kotlin/kotlin/tables/create.md | 19 ----------- .../kotlin/tables/decrement-row-column.md | 19 ----------- .../kotlin/tables/delete-column.md | 16 --------- .../kotlin/tables/delete-index.md | 16 --------- .../server-kotlin/kotlin/tables/delete-row.md | 16 --------- .../kotlin/tables/delete-rows.md | 16 --------- .../server-kotlin/kotlin/tables/delete.md | 15 --------- .../server-kotlin/kotlin/tables/get-column.md | 16 --------- .../server-kotlin/kotlin/tables/get-index.md | 16 --------- .../server-kotlin/kotlin/tables/get-row.md | 17 ---------- .../1.8.x/server-kotlin/kotlin/tables/get.md | 15 --------- .../kotlin/tables/increment-row-column.md | 19 ----------- .../kotlin/tables/list-columns.md | 16 --------- .../kotlin/tables/list-indexes.md | 16 --------- .../server-kotlin/kotlin/tables/list-rows.md | 16 --------- .../1.8.x/server-kotlin/kotlin/tables/list.md | 16 --------- .../kotlin/tables/update-boolean-column.md | 19 ----------- .../kotlin/tables/update-datetime-column.md | 19 ----------- .../kotlin/tables/update-email-column.md | 19 ----------- .../kotlin/tables/update-enum-column.md | 20 ----------- .../kotlin/tables/update-float-column.md | 21 ------------ .../kotlin/tables/update-integer-column.md | 21 ------------ .../kotlin/tables/update-ip-column.md | 19 ----------- .../tables/update-relationship-column.md | 18 ---------- .../server-kotlin/kotlin/tables/update-row.md | 18 ---------- .../kotlin/tables/update-rows.md | 17 ---------- .../kotlin/tables/update-string-column.md | 20 ----------- .../kotlin/tables/update-url-column.md | 19 ----------- .../server-kotlin/kotlin/tables/update.md | 19 ----------- .../server-kotlin/kotlin/tables/upsert-row.md | 17 ---------- .../kotlin/tables/upsert-rows.md | 15 --------- .../examples/tables/create-boolean-column.md | 17 ---------- .../examples/tables/create-datetime-column.md | 17 ---------- .../examples/tables/create-email-column.md | 17 ---------- .../examples/tables/create-enum-column.md | 18 ---------- .../examples/tables/create-float-column.md | 19 ----------- .../examples/tables/create-index.md | 18 ---------- .../examples/tables/create-integer-column.md | 19 ----------- .../examples/tables/create-ip-column.md | 17 ---------- .../tables/create-relationship-column.md | 19 ----------- .../examples/tables/create-row.md | 17 ---------- .../examples/tables/create-rows.md | 14 -------- .../examples/tables/create-string-column.md | 19 ----------- .../examples/tables/create-url-column.md | 17 ---------- .../server-nodejs/examples/tables/create.md | 17 ---------- .../examples/tables/decrement-row-column.md | 17 ---------- .../examples/tables/delete-column.md | 14 -------- .../examples/tables/delete-index.md | 14 -------- .../examples/tables/delete-row.md | 14 -------- .../examples/tables/delete-rows.md | 14 -------- .../server-nodejs/examples/tables/delete.md | 13 -------- .../examples/tables/get-column.md | 14 -------- .../examples/tables/get-index.md | 14 -------- .../server-nodejs/examples/tables/get-row.md | 15 --------- .../server-nodejs/examples/tables/get.md | 13 -------- .../examples/tables/increment-row-column.md | 17 ---------- .../examples/tables/list-columns.md | 14 -------- .../examples/tables/list-indexes.md | 14 -------- .../examples/tables/list-rows.md | 14 -------- .../server-nodejs/examples/tables/list.md | 14 -------- .../examples/tables/update-boolean-column.md | 17 ---------- .../examples/tables/update-datetime-column.md | 17 ---------- .../examples/tables/update-email-column.md | 17 ---------- .../examples/tables/update-enum-column.md | 18 ---------- .../examples/tables/update-float-column.md | 19 ----------- .../examples/tables/update-integer-column.md | 19 ----------- .../examples/tables/update-ip-column.md | 17 ---------- .../tables/update-relationship-column.md | 16 --------- .../examples/tables/update-row.md | 16 --------- .../examples/tables/update-rows.md | 15 --------- .../examples/tables/update-string-column.md | 18 ---------- .../examples/tables/update-url-column.md | 17 ---------- .../server-nodejs/examples/tables/update.md | 17 ---------- .../examples/tables/upsert-row.md | 15 --------- .../examples/tables/upsert-rows.md | 13 -------- .../examples/tables/create-boolean-column.md | 20 ----------- .../examples/tables/create-datetime-column.md | 20 ----------- .../examples/tables/create-email-column.md | 20 ----------- .../examples/tables/create-enum-column.md | 21 ------------ .../examples/tables/create-float-column.md | 22 ------------- .../examples/tables/create-index.md | 22 ------------- .../examples/tables/create-integer-column.md | 22 ------------- .../examples/tables/create-ip-column.md | 20 ----------- .../tables/create-relationship-column.md | 23 ------------- .../server-php/examples/tables/create-row.md | 20 ----------- .../server-php/examples/tables/create-rows.md | 17 ---------- .../examples/tables/create-string-column.md | 22 ------------- .../examples/tables/create-url-column.md | 20 ----------- .../server-php/examples/tables/create.md | 20 ----------- .../examples/tables/decrement-row-column.md | 20 ----------- .../examples/tables/delete-column.md | 17 ---------- .../examples/tables/delete-index.md | 17 ---------- .../server-php/examples/tables/delete-row.md | 17 ---------- .../server-php/examples/tables/delete-rows.md | 17 ---------- .../server-php/examples/tables/delete.md | 16 --------- .../server-php/examples/tables/get-column.md | 17 ---------- .../server-php/examples/tables/get-index.md | 17 ---------- .../server-php/examples/tables/get-row.md | 18 ---------- .../1.8.x/server-php/examples/tables/get.md | 16 --------- .../examples/tables/increment-row-column.md | 20 ----------- .../examples/tables/list-columns.md | 17 ---------- .../examples/tables/list-indexes.md | 17 ---------- .../server-php/examples/tables/list-rows.md | 17 ---------- .../1.8.x/server-php/examples/tables/list.md | 17 ---------- .../examples/tables/update-boolean-column.md | 20 ----------- .../examples/tables/update-datetime-column.md | 20 ----------- .../examples/tables/update-email-column.md | 20 ----------- .../examples/tables/update-enum-column.md | 21 ------------ .../examples/tables/update-float-column.md | 22 ------------- .../examples/tables/update-integer-column.md | 22 ------------- .../examples/tables/update-ip-column.md | 20 ----------- .../tables/update-relationship-column.md | 19 ----------- .../server-php/examples/tables/update-row.md | 19 ----------- .../server-php/examples/tables/update-rows.md | 18 ---------- .../examples/tables/update-string-column.md | 21 ------------ .../examples/tables/update-url-column.md | 20 ----------- .../server-php/examples/tables/update.md | 20 ----------- .../server-php/examples/tables/upsert-row.md | 18 ---------- .../server-php/examples/tables/upsert-rows.md | 16 --------- .../examples/tables/create-boolean-column.md | 18 ---------- .../examples/tables/create-datetime-column.md | 18 ---------- .../examples/tables/create-email-column.md | 18 ---------- .../examples/tables/create-enum-column.md | 19 ----------- .../examples/tables/create-float-column.md | 20 ----------- .../examples/tables/create-index.md | 20 ----------- .../examples/tables/create-integer-column.md | 20 ----------- .../examples/tables/create-ip-column.md | 18 ---------- .../tables/create-relationship-column.md | 21 ------------ .../examples/tables/create-row.md | 18 ---------- .../examples/tables/create-rows.md | 15 --------- .../examples/tables/create-string-column.md | 20 ----------- .../examples/tables/create-url-column.md | 18 ---------- .../server-python/examples/tables/create.md | 18 ---------- .../examples/tables/decrement-row-column.md | 18 ---------- .../examples/tables/delete-column.md | 15 --------- .../examples/tables/delete-index.md | 15 --------- .../examples/tables/delete-row.md | 15 --------- .../examples/tables/delete-rows.md | 15 --------- .../server-python/examples/tables/delete.md | 14 -------- .../examples/tables/get-column.md | 15 --------- .../examples/tables/get-index.md | 15 --------- .../server-python/examples/tables/get-row.md | 16 --------- .../server-python/examples/tables/get.md | 14 -------- .../examples/tables/increment-row-column.md | 18 ---------- .../examples/tables/list-columns.md | 15 --------- .../examples/tables/list-indexes.md | 15 --------- .../examples/tables/list-rows.md | 15 --------- .../server-python/examples/tables/list.md | 15 --------- .../examples/tables/update-boolean-column.md | 18 ---------- .../examples/tables/update-datetime-column.md | 18 ---------- .../examples/tables/update-email-column.md | 18 ---------- .../examples/tables/update-enum-column.md | 19 ----------- .../examples/tables/update-float-column.md | 20 ----------- .../examples/tables/update-integer-column.md | 20 ----------- .../examples/tables/update-ip-column.md | 18 ---------- .../tables/update-relationship-column.md | 17 ---------- .../examples/tables/update-row.md | 17 ---------- .../examples/tables/update-rows.md | 16 --------- .../examples/tables/update-string-column.md | 19 ----------- .../examples/tables/update-url-column.md | 18 ---------- .../server-python/examples/tables/update.md | 18 ---------- .../examples/tables/upsert-row.md | 16 --------- .../examples/tables/upsert-rows.md | 14 -------- .../examples/tables/create-boolean-column.md | 13 -------- .../examples/tables/create-datetime-column.md | 13 -------- .../examples/tables/create-email-column.md | 13 -------- .../examples/tables/create-enum-column.md | 14 -------- .../examples/tables/create-float-column.md | 15 --------- .../examples/tables/create-index.md | 14 -------- .../examples/tables/create-integer-column.md | 15 --------- .../examples/tables/create-ip-column.md | 13 -------- .../tables/create-relationship-column.md | 15 --------- .../server-rest/examples/tables/create-row.md | 14 -------- .../examples/tables/create-rows.md | 12 ------- .../examples/tables/create-string-column.md | 15 --------- .../examples/tables/create-url-column.md | 13 -------- .../server-rest/examples/tables/create.md | 14 -------- .../examples/tables/decrement-row-column.md | 11 ------- .../examples/tables/delete-column.md | 7 ---- .../examples/tables/delete-index.md | 7 ---- .../server-rest/examples/tables/delete-row.md | 9 ----- .../examples/tables/delete-rows.md | 10 ------ .../server-rest/examples/tables/delete.md | 7 ---- .../server-rest/examples/tables/get-column.md | 5 --- .../server-rest/examples/tables/get-index.md | 5 --- .../server-rest/examples/tables/get-row.md | 7 ---- .../1.8.x/server-rest/examples/tables/get.md | 5 --- .../examples/tables/increment-row-column.md | 11 ------- .../examples/tables/list-columns.md | 5 --- .../examples/tables/list-indexes.md | 5 --- .../server-rest/examples/tables/list-rows.md | 7 ---- .../1.8.x/server-rest/examples/tables/list.md | 5 --- .../examples/tables/update-boolean-column.md | 12 ------- .../examples/tables/update-datetime-column.md | 12 ------- .../examples/tables/update-email-column.md | 12 ------- .../examples/tables/update-enum-column.md | 13 -------- .../examples/tables/update-float-column.md | 14 -------- .../examples/tables/update-integer-column.md | 14 -------- .../examples/tables/update-ip-column.md | 12 ------- .../tables/update-relationship-column.md | 11 ------- .../server-rest/examples/tables/update-row.md | 13 -------- .../examples/tables/update-rows.md | 11 ------- .../examples/tables/update-string-column.md | 13 -------- .../examples/tables/update-url-column.md | 12 ------- .../server-rest/examples/tables/update.md | 13 -------- .../server-rest/examples/tables/upsert-row.md | 9 ----- .../examples/tables/upsert-rows.md | 7 ---- .../examples/tables/create-boolean-column.md | 19 ----------- .../examples/tables/create-datetime-column.md | 19 ----------- .../examples/tables/create-email-column.md | 19 ----------- .../examples/tables/create-enum-column.md | 20 ----------- .../examples/tables/create-float-column.md | 21 ------------ .../examples/tables/create-index.md | 21 ------------ .../examples/tables/create-integer-column.md | 21 ------------ .../examples/tables/create-ip-column.md | 19 ----------- .../tables/create-relationship-column.md | 22 ------------- .../server-ruby/examples/tables/create-row.md | 19 ----------- .../examples/tables/create-rows.md | 16 --------- .../examples/tables/create-string-column.md | 21 ------------ .../examples/tables/create-url-column.md | 19 ----------- .../server-ruby/examples/tables/create.md | 19 ----------- .../examples/tables/decrement-row-column.md | 19 ----------- .../examples/tables/delete-column.md | 16 --------- .../examples/tables/delete-index.md | 16 --------- .../server-ruby/examples/tables/delete-row.md | 16 --------- .../examples/tables/delete-rows.md | 16 --------- .../server-ruby/examples/tables/delete.md | 15 --------- .../server-ruby/examples/tables/get-column.md | 16 --------- .../server-ruby/examples/tables/get-index.md | 16 --------- .../server-ruby/examples/tables/get-row.md | 17 ---------- .../1.8.x/server-ruby/examples/tables/get.md | 15 --------- .../examples/tables/increment-row-column.md | 19 ----------- .../examples/tables/list-columns.md | 16 --------- .../examples/tables/list-indexes.md | 16 --------- .../server-ruby/examples/tables/list-rows.md | 16 --------- .../1.8.x/server-ruby/examples/tables/list.md | 16 --------- .../examples/tables/update-boolean-column.md | 19 ----------- .../examples/tables/update-datetime-column.md | 19 ----------- .../examples/tables/update-email-column.md | 19 ----------- .../examples/tables/update-enum-column.md | 20 ----------- .../examples/tables/update-float-column.md | 21 ------------ .../examples/tables/update-integer-column.md | 21 ------------ .../examples/tables/update-ip-column.md | 19 ----------- .../tables/update-relationship-column.md | 18 ---------- .../server-ruby/examples/tables/update-row.md | 18 ---------- .../examples/tables/update-rows.md | 17 ---------- .../examples/tables/update-string-column.md | 20 ----------- .../examples/tables/update-url-column.md | 19 ----------- .../server-ruby/examples/tables/update.md | 19 ----------- .../server-ruby/examples/tables/upsert-row.md | 17 ---------- .../examples/tables/upsert-rows.md | 15 --------- .../examples/tables/create-boolean-column.md | 18 ---------- .../examples/tables/create-datetime-column.md | 18 ---------- .../examples/tables/create-email-column.md | 18 ---------- .../examples/tables/create-enum-column.md | 19 ----------- .../examples/tables/create-float-column.md | 20 ----------- .../examples/tables/create-index.md | 20 ----------- .../examples/tables/create-integer-column.md | 20 ----------- .../examples/tables/create-ip-column.md | 18 ---------- .../tables/create-relationship-column.md | 21 ------------ .../examples/tables/create-row.md | 18 ---------- .../examples/tables/create-rows.md | 15 --------- .../examples/tables/create-string-column.md | 20 ----------- .../examples/tables/create-url-column.md | 18 ---------- .../server-swift/examples/tables/create.md | 18 ---------- .../examples/tables/decrement-row-column.md | 18 ---------- .../examples/tables/delete-column.md | 15 --------- .../examples/tables/delete-index.md | 15 --------- .../examples/tables/delete-row.md | 15 --------- .../examples/tables/delete-rows.md | 15 --------- .../server-swift/examples/tables/delete.md | 14 -------- .../examples/tables/get-column.md | 15 --------- .../server-swift/examples/tables/get-index.md | 15 --------- .../server-swift/examples/tables/get-row.md | 16 --------- .../1.8.x/server-swift/examples/tables/get.md | 14 -------- .../examples/tables/increment-row-column.md | 18 ---------- .../examples/tables/list-columns.md | 15 --------- .../examples/tables/list-indexes.md | 15 --------- .../server-swift/examples/tables/list-rows.md | 15 --------- .../server-swift/examples/tables/list.md | 15 --------- .../examples/tables/update-boolean-column.md | 18 ---------- .../examples/tables/update-datetime-column.md | 18 ---------- .../examples/tables/update-email-column.md | 18 ---------- .../examples/tables/update-enum-column.md | 19 ----------- .../examples/tables/update-float-column.md | 20 ----------- .../examples/tables/update-integer-column.md | 20 ----------- .../examples/tables/update-ip-column.md | 18 ---------- .../tables/update-relationship-column.md | 18 ---------- .../examples/tables/update-row.md | 17 ---------- .../examples/tables/update-rows.md | 16 --------- .../examples/tables/update-string-column.md | 19 ----------- .../examples/tables/update-url-column.md | 18 ---------- .../server-swift/examples/tables/update.md | 18 ---------- .../examples/tables/upsert-row.md | 16 --------- .../examples/tables/upsert-rows.md | 14 -------- 724 files changed, 12612 deletions(-) delete mode 100644 docs/examples/1.8.x/client-android/java/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-android/java/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/client-web/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get-usage.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list-logs.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get-usage.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list-logs.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/create.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/get.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/list.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/update.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-index.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-row.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-rows.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/create.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/delete-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/delete-index.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/delete-row.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/delete.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/get-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/get-index.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/get-row.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/get.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/list-columns.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/list-rows.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/list.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-row.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-rows.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/update.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md delete mode 100644 docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md diff --git a/docs/examples/1.8.x/client-android/java/tables/create-row.md b/docs/examples/1.8.x/client-android/java/tables/create-row.md deleted file mode 100644 index 8102b82c75..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/create-row.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.createRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/create-rows.md b/docs/examples/1.8.x/client-android/java/tables/create-rows.md deleted file mode 100644 index 26f5d67789..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/create-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // - -Tables tables = new Tables(client); - -tables.createRows( - "", // databaseId - "", // tableId - listOf(), // rows - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/delete-row.md b/docs/examples/1.8.x/client-android/java/tables/delete-row.md deleted file mode 100644 index 596a8b7aca..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/delete-row.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.deleteRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/get-row.md b/docs/examples/1.8.x/client-android/java/tables/get-row.md deleted file mode 100644 index 882a195376..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/get-row.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.getRow( - "", // databaseId - "", // tableId - "", // rowId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/list-rows.md b/docs/examples/1.8.x/client-android/java/tables/list-rows.md deleted file mode 100644 index 4d37570246..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/list-rows.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.listRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/update-row.md b/docs/examples/1.8.x/client-android/java/tables/update-row.md deleted file mode 100644 index 0421c9cffb..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/update-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.updateRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data (optional) - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/upsert-row.md b/docs/examples/1.8.x/client-android/java/tables/upsert-row.md deleted file mode 100644 index a8be0cfc6c..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/upsert-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.upsertRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md deleted file mode 100644 index 8c581bf1d5..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val result = tables.createRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), - permissions = listOf("read("any")"), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md b/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md deleted file mode 100644 index 1fde9c50cf..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // - -val tables = Tables(client) - -val result = tables.createRows( - databaseId = "", - tableId = "", - rows = listOf(), -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md deleted file mode 100644 index ffa3229f30..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.deleteRow( - databaseId = "", - tableId = "", - rowId = "", -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md deleted file mode 100644 index 15dabff397..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.getRow( - databaseId = "", - tableId = "", - rowId = "", - queries = listOf(), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md b/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md deleted file mode 100644 index ff36543938..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.listRows( - databaseId = "", - tableId = "", - queries = listOf(), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md deleted file mode 100644 index e9b515cef4..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.updateRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), // (optional) - permissions = listOf("read("any")"), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md deleted file mode 100644 index 6b7cb6666b..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val result = tables.upsertRow( - databaseId = "", - tableId = "", - rowId = "", -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/tables/create-row.md b/docs/examples/1.8.x/client-apple/examples/tables/create-row.md deleted file mode 100644 index 533cf2d555..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.createRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md b/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md deleted file mode 100644 index effd748aa0..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // - -let tables = Tables(client) - -let rowList = try await tables.createRows( - databaseId: "", - tableId: "", - rows: [] -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md b/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md deleted file mode 100644 index 7d12ec4f4c..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let result = try await tables.deleteRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/get-row.md b/docs/examples/1.8.x/client-apple/examples/tables/get-row.md deleted file mode 100644 index 93fbef9e7c..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let row = try await tables.getRow( - databaseId: "", - tableId: "", - rowId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md b/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md deleted file mode 100644 index 31545cce4d..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let rowList = try await tables.listRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/update-row.md b/docs/examples/1.8.x/client-apple/examples/tables/update-row.md deleted file mode 100644 index 601c4f0a77..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let row = try await tables.updateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], // optional - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md deleted file mode 100644 index eabcb181c3..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.upsertRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md deleted file mode 100644 index ac9923d813..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.createRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, - permissions: ["read("any")"], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md b/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md deleted file mode 100644 index 38c4c7503d..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -Tables tables = Tables(client); - -RowList result = await tables.createRows( - databaseId: '', - tableId: '', - rows: [], -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md deleted file mode 100644 index 4187c4766d..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -await tables.deleteRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md deleted file mode 100644 index 8d8c52caa6..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -Row result = await tables.getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md b/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md deleted file mode 100644 index f770bbbd92..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -RowList result = await tables.listRows( - databaseId: '', - tableId: '', - queries: [], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md deleted file mode 100644 index f43ba5e689..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -Row result = await tables.updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, // optional - permissions: ["read("any")"], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md deleted file mode 100644 index 26a872b692..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.upsertRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md deleted file mode 100644 index c88a7f36cf..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesCreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md b/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md deleted file mode 100644 index a4ae62cfae..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesCreateRows( - databaseId: "", - tableId: "", - rows: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md deleted file mode 100644 index f3a35c1df1..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/get-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/get-row.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/list-rows.md b/docs/examples/1.8.x/client-graphql/examples/tables/list-rows.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md deleted file mode 100644 index 8449d8499b..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md deleted file mode 100644 index 480d7651bd..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -mutation { - tablesUpsertRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md deleted file mode 100644 index 75de1c2a39..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md b/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md deleted file mode 100644 index 165aa4cb71..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md deleted file mode 100644 index 9746f85ea0..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md deleted file mode 100644 index b9434e3957..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md b/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md deleted file mode 100644 index 75f81a1435..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md deleted file mode 100644 index 7bb36dd254..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md deleted file mode 100644 index f176425abb..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-rest/examples/tables/create-row.md b/docs/examples/1.8.x/client-rest/examples/tables/create-row.md deleted file mode 100644 index c4166b8b80..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/create-row.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "rowId": "", - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md b/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md deleted file mode 100644 index 0935afd11e..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md +++ /dev/null @@ -1,11 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "rows": [] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md b/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md deleted file mode 100644 index 954303d17a..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md +++ /dev/null @@ -1,8 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/client-rest/examples/tables/get-row.md b/docs/examples/1.8.x/client-rest/examples/tables/get-row.md deleted file mode 100644 index fc09601df7..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/get-row.md +++ /dev/null @@ -1,6 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md b/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md deleted file mode 100644 index de214e7cea..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md +++ /dev/null @@ -1,6 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/tables/update-row.md b/docs/examples/1.8.x/client-rest/examples/tables/update-row.md deleted file mode 100644 index f09f639e60..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/update-row.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md deleted file mode 100644 index 60528077ef..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md +++ /dev/null @@ -1,8 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/client-web/examples/tables/create-row.md b/docs/examples/1.8.x/client-web/examples/tables/create-row.md deleted file mode 100644 index f7b54d1894..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/create-rows.md b/docs/examples/1.8.x/client-web/examples/tables/create-rows.md deleted file mode 100644 index 79d7d3f311..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/delete-row.md b/docs/examples/1.8.x/client-web/examples/tables/delete-row.md deleted file mode 100644 index 5c6c4b96d9..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/get-row.md b/docs/examples/1.8.x/client-web/examples/tables/get-row.md deleted file mode 100644 index 708b3d96cc..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/list-rows.md b/docs/examples/1.8.x/client-web/examples/tables/list-rows.md deleted file mode 100644 index f82d358f0d..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/update-row.md b/docs/examples/1.8.x/client-web/examples/tables/update-row.md deleted file mode 100644 index 0e0c5a012e..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md deleted file mode 100644 index f111fefd71..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md deleted file mode 100644 index 88e6bf8853..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createBooleanColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md deleted file mode 100644 index de28b7537c..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createDatetimeColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md deleted file mode 100644 index 23b672e62d..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createEmailColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md deleted file mode 100644 index 4cd3e1d241..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables createEnumColumn \ - --databaseId \ - --tableId \ - --key '' \ - --elements one two three \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md deleted file mode 100644 index 9c69e29e91..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createFloatColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-index.md b/docs/examples/1.8.x/console-cli/examples/tables/create-index.md deleted file mode 100644 index 4c6d641727..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-index.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables createIndex \ - --databaseId \ - --tableId \ - --key '' \ - --type key \ - --columns one two three \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md deleted file mode 100644 index afab48e803..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createIntegerColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md deleted file mode 100644 index 000b54b918..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createIpColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md deleted file mode 100644 index 4ce3342768..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createRelationshipColumn \ - --databaseId \ - --tableId \ - --relatedTableId \ - --type oneToOne \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-row.md b/docs/examples/1.8.x/console-cli/examples/tables/create-row.md deleted file mode 100644 index e446de157b..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-row.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables createRow \ - --databaseId \ - --tableId \ - --rowId \ - --data '{ "key": "value" }' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md deleted file mode 100644 index cb7c68dd7b..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables createRows \ - --databaseId \ - --tableId \ - --rows one two three diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md deleted file mode 100644 index 4df1792a34..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createStringColumn \ - --databaseId \ - --tableId \ - --key '' \ - --size 1 \ - --required false \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md deleted file mode 100644 index fcb81491bd..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createUrlColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create.md b/docs/examples/1.8.x/console-cli/examples/tables/create.md deleted file mode 100644 index 09f52f16a1..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables create \ - --databaseId \ - --tableId \ - --name \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md deleted file mode 100644 index 73743c21ce..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables decrementRowColumn \ - --databaseId \ - --tableId \ - --rowId \ - --column '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md deleted file mode 100644 index e659af54d0..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteColumn \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md deleted file mode 100644 index 0de1e417d3..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteIndex \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md deleted file mode 100644 index d6918be89e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteRow \ - --databaseId \ - --tableId \ - --rowId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md deleted file mode 100644 index 579586b561..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteRows \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete.md b/docs/examples/1.8.x/console-cli/examples/tables/delete.md deleted file mode 100644 index 0f189e09f1..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables delete \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-column.md b/docs/examples/1.8.x/console-cli/examples/tables/get-column.md deleted file mode 100644 index 33a94b5ebc..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-column.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getColumn \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-index.md b/docs/examples/1.8.x/console-cli/examples/tables/get-index.md deleted file mode 100644 index e956175e09..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-index.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getIndex \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-row.md b/docs/examples/1.8.x/console-cli/examples/tables/get-row.md deleted file mode 100644 index 5b3b64bfbc..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-row.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables getRow \ - --databaseId \ - --tableId \ - --rowId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md b/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md deleted file mode 100644 index f766a418a0..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getTableUsage \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md b/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md deleted file mode 100644 index ca955ce6df..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getUsage \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get.md b/docs/examples/1.8.x/console-cli/examples/tables/get.md deleted file mode 100644 index a41e6c10ed..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables get \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md b/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md deleted file mode 100644 index da73950231..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables incrementRowColumn \ - --databaseId \ - --tableId \ - --rowId \ - --column '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md b/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md deleted file mode 100644 index 0439d58127..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listColumns \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md b/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md deleted file mode 100644 index b5fd85b911..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listIndexes \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md b/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md deleted file mode 100644 index 08c4ff0f8d..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listLogs \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md b/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md deleted file mode 100644 index e7a8c5b8ce..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables listRowLogs \ - --databaseId \ - --tableId \ - --rowId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md deleted file mode 100644 index 2a6d69d574..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listRows \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list.md b/docs/examples/1.8.x/console-cli/examples/tables/list.md deleted file mode 100644 index 1c58d9ed03..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables list \ - --databaseId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md deleted file mode 100644 index 7d736f35e5..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateBooleanColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default false \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md deleted file mode 100644 index 3da3e4a919..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateDatetimeColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default '' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md deleted file mode 100644 index df718b8d9a..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateEmailColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default email@example.com \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md deleted file mode 100644 index 55c55fc2bd..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables updateEnumColumn \ - --databaseId \ - --tableId \ - --key '' \ - --elements one two three \ - --required false \ - --default \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md deleted file mode 100644 index 99667a8447..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables updateFloatColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default null \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md deleted file mode 100644 index 098efa0e3e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables updateIntegerColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default null \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md deleted file mode 100644 index 50eadc3fff..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateIpColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default '' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md deleted file mode 100644 index 43e0c0ae6e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables updateRelationshipColumn \ - --databaseId \ - --tableId \ - --key '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-row.md b/docs/examples/1.8.x/console-cli/examples/tables/update-row.md deleted file mode 100644 index d5cd0fe4ee..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-row.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables updateRow \ - --databaseId \ - --tableId \ - --rowId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md deleted file mode 100644 index 173d608d5a..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables updateRows \ - --databaseId \ - --tableId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md deleted file mode 100644 index 3feaa734ec..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables updateStringColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md deleted file mode 100644 index 2df1ab14d7..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateUrlColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default https://example.com \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update.md b/docs/examples/1.8.x/console-cli/examples/tables/update.md deleted file mode 100644 index a1550287c8..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables update \ - --databaseId \ - --tableId \ - --name \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md b/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md deleted file mode 100644 index 0281a89b20..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables upsertRow \ - --databaseId \ - --tableId \ - --rowId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md deleted file mode 100644 index 828caf8f10..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables upsertRows \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md deleted file mode 100644 index bf0cca08c1..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md deleted file mode 100644 index c9eb3af82c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md deleted file mode 100644 index 3952161779..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md deleted file mode 100644 index 7b16da6c14..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md deleted file mode 100644 index 6608864efe..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-index.md b/docs/examples/1.8.x/console-web/examples/tables/create-index.md deleted file mode 100644 index c303dd289d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-index.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables, IndexType } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md deleted file mode 100644 index 0490b71189..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md deleted file mode 100644 index 644f520032..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md deleted file mode 100644 index 5658eec690..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables, RelationshipType, RelationMutate } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - RelationMutate.Cascade // onDelete (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-row.md b/docs/examples/1.8.x/console-web/examples/tables/create-row.md deleted file mode 100644 index ba18cb6fba..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-rows.md b/docs/examples/1.8.x/console-web/examples/tables/create-rows.md deleted file mode 100644 index bd7f984ee3..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md deleted file mode 100644 index 6c1fbd7c99..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md deleted file mode 100644 index 88e1fc584d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create.md b/docs/examples/1.8.x/console-web/examples/tables/create.md deleted file mode 100644 index a7bda74508..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md deleted file mode 100644 index 35cb78686c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-column.md b/docs/examples/1.8.x/console-web/examples/tables/delete-column.md deleted file mode 100644 index 642856448a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-index.md b/docs/examples/1.8.x/console-web/examples/tables/delete-index.md deleted file mode 100644 index f517513909..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-row.md b/docs/examples/1.8.x/console-web/examples/tables/delete-row.md deleted file mode 100644 index accbb3092a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md b/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md deleted file mode 100644 index adbb613a35..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete.md b/docs/examples/1.8.x/console-web/examples/tables/delete.md deleted file mode 100644 index f235d8dda0..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.delete( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-column.md b/docs/examples/1.8.x/console-web/examples/tables/get-column.md deleted file mode 100644 index 7bd7f2db30..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-index.md b/docs/examples/1.8.x/console-web/examples/tables/get-index.md deleted file mode 100644 index dc8c3362cf..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-row.md b/docs/examples/1.8.x/console-web/examples/tables/get-row.md deleted file mode 100644 index f37558d4ff..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md b/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md deleted file mode 100644 index 4e6ca3270d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables, } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getTableUsage( - '', // databaseId - '', // tableId - .24h // range (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-usage.md b/docs/examples/1.8.x/console-web/examples/tables/get-usage.md deleted file mode 100644 index 0f9d31c92d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-usage.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables, DatabaseUsageRange } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getUsage( - '', // databaseId - '', // tableId - DatabaseUsageRange.TwentyFourHours // range (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get.md b/docs/examples/1.8.x/console-web/examples/tables/get.md deleted file mode 100644 index 2b8951582a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.get( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md b/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md deleted file mode 100644 index ed9710a0e3..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-columns.md b/docs/examples/1.8.x/console-web/examples/tables/list-columns.md deleted file mode 100644 index 91348c4e61..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md b/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md deleted file mode 100644 index 0ae874663d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-logs.md b/docs/examples/1.8.x/console-web/examples/tables/list-logs.md deleted file mode 100644 index 04d6c2300c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-logs.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listLogs( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md b/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md deleted file mode 100644 index 691e589a77..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRowLogs( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-rows.md b/docs/examples/1.8.x/console-web/examples/tables/list-rows.md deleted file mode 100644 index 79f5e242a5..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list.md b/docs/examples/1.8.x/console-web/examples/tables/list.md deleted file mode 100644 index e8eb3c3dd6..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md deleted file mode 100644 index e4bb9012e6..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md deleted file mode 100644 index d24683aafb..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md deleted file mode 100644 index b9e2483191..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md deleted file mode 100644 index bfe084212c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md deleted file mode 100644 index 9075e31e69..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md deleted file mode 100644 index c45e4735a9..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md deleted file mode 100644 index f7cdb490dc..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md deleted file mode 100644 index 192eac7175..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables, RelationMutate } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-row.md b/docs/examples/1.8.x/console-web/examples/tables/update-row.md deleted file mode 100644 index 0db00657c2..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-rows.md b/docs/examples/1.8.x/console-web/examples/tables/update-rows.md deleted file mode 100644 index 72b2244f75..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md deleted file mode 100644 index 8f6b3b5dad..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md deleted file mode 100644 index a2cb65d700..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update.md b/docs/examples/1.8.x/console-web/examples/tables/update.md deleted file mode 100644 index f0552604af..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md b/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md deleted file mode 100644 index f1cb65e675..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md b/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md deleted file mode 100644 index 2d818cdbca..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const result = await tables.upsertRows( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md deleted file mode 100644 index 5b3e987b9b..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnBoolean result = await tables.createBooleanColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: false, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md deleted file mode 100644 index 1ad3fa250d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnDatetime result = await tables.createDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md deleted file mode 100644 index fa7ec71410..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEmail result = await tables.createEmailColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'email@example.com', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md deleted file mode 100644 index 5ab6bcc774..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEnum result = await tables.createEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md deleted file mode 100644 index 43331187ea..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnFloat result = await tables.createFloatColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - min: 0, // (optional) - max: 0, // (optional) - xdefault: 0, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-index.md b/docs/examples/1.8.x/server-dart/examples/tables/create-index.md deleted file mode 100644 index d76c46959f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndex result = await tables.createIndex( - databaseId: '', - tableId: '', - key: '', - type: IndexType.key, - columns: [], - orders: [], // (optional) - lengths: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md deleted file mode 100644 index 3304325af7..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnInteger result = await tables.createIntegerColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - min: 0, // (optional) - max: 0, // (optional) - xdefault: 0, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md deleted file mode 100644 index 68c7abf754..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIp result = await tables.createIpColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md deleted file mode 100644 index a059740bf8..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnRelationship result = await tables.createRelationshipColumn( - databaseId: '', - tableId: '', - relatedTableId: '', - type: RelationshipType.oneToOne, - twoWay: false, // (optional) - key: '', // (optional) - twoWayKey: '', // (optional) - onDelete: RelationMutate.cascade, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-row.md b/docs/examples/1.8.x/server-dart/examples/tables/create-row.md deleted file mode 100644 index 1ce1e1db7a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.createRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, - permissions: ["read("any")"], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md deleted file mode 100644 index 219f2d2d33..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.createRows( - databaseId: '', - tableId: '', - rows: [], -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md deleted file mode 100644 index 17e192b27e..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnString result = await tables.createStringColumn( - databaseId: '', - tableId: '', - key: '', - size: 1, - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) - encrypt: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md deleted file mode 100644 index d3692fc7ac..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnUrl result = await tables.createUrlColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'https://example.com', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create.md b/docs/examples/1.8.x/server-dart/examples/tables/create.md deleted file mode 100644 index c3a4b2a989..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.create( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // (optional) - rowSecurity: false, // (optional) - enabled: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md deleted file mode 100644 index 33d296110c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Row result = await tables.decrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: 0, // (optional) - min: 0, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md deleted file mode 100644 index 466564f618..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteColumn( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md deleted file mode 100644 index f2dfdbe74b..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteIndex( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md deleted file mode 100644 index b84c1b7a9f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -await tables.deleteRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md deleted file mode 100644 index 41dc3a9520..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteRows( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete.md b/docs/examples/1.8.x/server-dart/examples/tables/delete.md deleted file mode 100644 index 07c9815422..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.delete( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-column.md b/docs/examples/1.8.x/server-dart/examples/tables/get-column.md deleted file mode 100644 index 087139c87d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - - result = await tables.getColumn( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-index.md b/docs/examples/1.8.x/server-dart/examples/tables/get-index.md deleted file mode 100644 index 3f79deef2f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndex result = await tables.getIndex( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-row.md b/docs/examples/1.8.x/server-dart/examples/tables/get-row.md deleted file mode 100644 index 7efd04a69d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -Row result = await tables.getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get.md b/docs/examples/1.8.x/server-dart/examples/tables/get.md deleted file mode 100644 index d02f9ff9d2..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.get( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md deleted file mode 100644 index 188ab5d1ad..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Row result = await tables.incrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: 0, // (optional) - max: 0, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md b/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md deleted file mode 100644 index 7b2d479ea3..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnList result = await tables.listColumns( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md deleted file mode 100644 index e7418de3bc..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndexList result = await tables.listIndexes( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md deleted file mode 100644 index 05f9567ac2..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -RowList result = await tables.listRows( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list.md b/docs/examples/1.8.x/server-dart/examples/tables/list.md deleted file mode 100644 index 51a19c099d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -TableList result = await tables.list( - databaseId: '', - queries: [], // (optional) - search: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md deleted file mode 100644 index c452238d7c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnBoolean result = await tables.updateBooleanColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: false, - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md deleted file mode 100644 index 5b41d7e532..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnDatetime result = await tables.updateDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md deleted file mode 100644 index 444649a4fd..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEmail result = await tables.updateEmailColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'email@example.com', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md deleted file mode 100644 index 2e0566418a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEnum result = await tables.updateEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md deleted file mode 100644 index 199d3840d6..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnFloat result = await tables.updateFloatColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 0, - min: 0, // (optional) - max: 0, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md deleted file mode 100644 index 479e63d870..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnInteger result = await tables.updateIntegerColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 0, - min: 0, // (optional) - max: 0, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md deleted file mode 100644 index 837ae4e606..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIp result = await tables.updateIpColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md deleted file mode 100644 index 45745627ef..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnRelationship result = await tables.updateRelationshipColumn( - databaseId: '', - tableId: '', - key: '', - onDelete: RelationMutate.cascade, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-row.md b/docs/examples/1.8.x/server-dart/examples/tables/update-row.md deleted file mode 100644 index 436329235a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -Row result = await tables.updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, // (optional) - permissions: ["read("any")"], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md deleted file mode 100644 index 3d2aaf3e28..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.updateRows( - databaseId: '', - tableId: '', - data: {}, // (optional) - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md deleted file mode 100644 index dbd569feac..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnString result = await tables.updateStringColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - size: 1, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md deleted file mode 100644 index 8630c718b5..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnUrl result = await tables.updateUrlColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'https://example.com', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update.md b/docs/examples/1.8.x/server-dart/examples/tables/update.md deleted file mode 100644 index 28ce03cd6c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.update( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // (optional) - rowSecurity: false, // (optional) - enabled: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md deleted file mode 100644 index 47f93f2434..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.upsertRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md deleted file mode 100644 index 73ceffa917..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.upsertRows( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md deleted file mode 100644 index 3f9abc8c05..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md deleted file mode 100644 index 898b67a787..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md deleted file mode 100644 index 82872e4087..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md deleted file mode 100644 index afbb8d00aa..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md deleted file mode 100644 index 44658bbaa9..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-index.md b/docs/examples/1.8.x/server-deno/examples/tables/create-index.md deleted file mode 100644 index c255189881..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables, IndexType } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md deleted file mode 100644 index 0f1721b24a..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md deleted file mode 100644 index ca96de6293..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md deleted file mode 100644 index 8c7e26e62c..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - RelationMutate.Cascade // onDelete (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-row.md b/docs/examples/1.8.x/server-deno/examples/tables/create-row.md deleted file mode 100644 index 12cec49af0..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const response = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md deleted file mode 100644 index 6c4f7d5627..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md deleted file mode 100644 index db7ac8a760..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md deleted file mode 100644 index 8d6f127c00..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create.md b/docs/examples/1.8.x/server-deno/examples/tables/create.md deleted file mode 100644 index 9c75c22c3d..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md deleted file mode 100644 index e561acc529..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md deleted file mode 100644 index 89900bfbf0..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md deleted file mode 100644 index a17791cef2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md deleted file mode 100644 index 8f30eae2d2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md deleted file mode 100644 index c5aa88f9a2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete.md b/docs/examples/1.8.x/server-deno/examples/tables/delete.md deleted file mode 100644 index 36df1373dc..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.delete( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-column.md b/docs/examples/1.8.x/server-deno/examples/tables/get-column.md deleted file mode 100644 index 8a56af67e7..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-index.md b/docs/examples/1.8.x/server-deno/examples/tables/get-index.md deleted file mode 100644 index 61105dc661..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-row.md b/docs/examples/1.8.x/server-deno/examples/tables/get-row.md deleted file mode 100644 index 674ea3e648..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get.md b/docs/examples/1.8.x/server-deno/examples/tables/get.md deleted file mode 100644 index cc1dcb8c51..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.get( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md deleted file mode 100644 index 9779d8776e..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md b/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md deleted file mode 100644 index 63ec0777bb..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md deleted file mode 100644 index 587d19f362..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md deleted file mode 100644 index 6db6bea439..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list.md b/docs/examples/1.8.x/server-deno/examples/tables/list.md deleted file mode 100644 index d4da8409c9..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md deleted file mode 100644 index 8710c27ede..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md deleted file mode 100644 index e1ca760e31..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md deleted file mode 100644 index b0e25348d4..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md deleted file mode 100644 index 8771213a79..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md deleted file mode 100644 index a2e6f55c1f..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md deleted file mode 100644 index 51ea17f943..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md deleted file mode 100644 index 4a5a1d0f81..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md deleted file mode 100644 index c83b82037a..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-row.md b/docs/examples/1.8.x/server-deno/examples/tables/update-row.md deleted file mode 100644 index 13da5615e7..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md deleted file mode 100644 index 1bc0a18b98..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md deleted file mode 100644 index 00dd310b1e..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md deleted file mode 100644 index 2ebf80a356..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update.md b/docs/examples/1.8.x/server-deno/examples/tables/update.md deleted file mode 100644 index 43b51bd284..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md deleted file mode 100644 index 45e932c7f6..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const response = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md deleted file mode 100644 index 9e3f542051..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.upsertRows( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md deleted file mode 100644 index 1492487721..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnBoolean result = await tables.CreateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md deleted file mode 100644 index 6a1e07b907..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnDatetime result = await tables.CreateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md deleted file mode 100644 index a4740484f5..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEmail result = await tables.CreateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md deleted file mode 100644 index 9529ad1331..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEnum result = await tables.CreateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: new List(), - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md deleted file mode 100644 index f8146ce272..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnFloat result = await tables.CreateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md deleted file mode 100644 index 4ea3817da2..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndex result = await tables.CreateIndex( - databaseId: "", - tableId: "", - key: "", - type: IndexType.Key, - columns: new List(), - orders: new List(), // optional - lengths: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md deleted file mode 100644 index 6090426792..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnInteger result = await tables.CreateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md deleted file mode 100644 index b5e5067e6f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIp result = await tables.CreateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md deleted file mode 100644 index 7c4cba49dd..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnRelationship result = await tables.CreateRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: RelationshipType.OneToOne, - twoWay: false, // optional - key: "", // optional - twoWayKey: "", // optional - onDelete: RelationMutate.Cascade // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md deleted file mode 100644 index 642bfe457c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -Row result = await tables.CreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [object], - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md deleted file mode 100644 index 1d44dc51ed..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.CreateRows( - databaseId: "", - tableId: "", - rows: new List() -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md deleted file mode 100644 index e623ac0789..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnString result = await tables.CreateStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", // optional - array: false, // optional - encrypt: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md deleted file mode 100644 index 7a0fbd0a83..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnUrl result = await tables.CreateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create.md deleted file mode 100644 index 694f4101a7..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Create( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md deleted file mode 100644 index 220fb2b18a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Row result = await tables.DecrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - min: 0 // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md deleted file mode 100644 index ca8987eec9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteColumn( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md deleted file mode 100644 index ba7a024167..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteIndex( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md deleted file mode 100644 index 95bae6ad6b..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -await tables.DeleteRow( - databaseId: "", - tableId: "", - rowId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md deleted file mode 100644 index 46a6e0ba94..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteRows( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md deleted file mode 100644 index bcff3ea05a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.Delete( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md deleted file mode 100644 index 71ebb81aef..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - - result = await tables.GetColumn( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md deleted file mode 100644 index f5b886e3e9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndex result = await tables.GetIndex( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md deleted file mode 100644 index 474b3342c9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -Row result = await tables.GetRow( - databaseId: "", - tableId: "", - rowId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get.md deleted file mode 100644 index 1e86d228a6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Get( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md deleted file mode 100644 index e8ccd8ca78..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Row result = await tables.IncrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - max: 0 // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md deleted file mode 100644 index fe8c739cf9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnList result = await tables.ListColumns( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md deleted file mode 100644 index 907a21048f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndexList result = await tables.ListIndexes( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md deleted file mode 100644 index 474c597a1c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -RowList result = await tables.ListRows( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list.md deleted file mode 100644 index 2871a927c4..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -TableList result = await tables.List( - databaseId: "", - queries: new List(), // optional - search: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md deleted file mode 100644 index 5c610fbe7a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnBoolean result = await tables.UpdateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md deleted file mode 100644 index 754d0f1ae6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnDatetime result = await tables.UpdateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md deleted file mode 100644 index 6000c54e8f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEmail result = await tables.UpdateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md deleted file mode 100644 index 2eaa1a51a1..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEnum result = await tables.UpdateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: new List(), - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md deleted file mode 100644 index 7d18d8e624..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnFloat result = await tables.UpdateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md deleted file mode 100644 index 0b3b85652c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnInteger result = await tables.UpdateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md deleted file mode 100644 index ccdd0d5235..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIp result = await tables.UpdateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md deleted file mode 100644 index be6aa31f73..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnRelationship result = await tables.UpdateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: RelationMutate.Cascade, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md deleted file mode 100644 index d049ccf805..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -Row result = await tables.UpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [object], // optional - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md deleted file mode 100644 index 9d2c51c4b3..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.UpdateRows( - databaseId: "", - tableId: "", - data: [object], // optional - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md deleted file mode 100644 index da280e7d8c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnString result = await tables.UpdateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md deleted file mode 100644 index 1ce961da2b..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnUrl result = await tables.UpdateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update.md deleted file mode 100644 index 584c61c6bb..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Update( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md deleted file mode 100644 index a73c4e2402..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -Row result = await tables.UpsertRow( - databaseId: "", - tableId: "", - rowId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md deleted file mode 100644 index 07e5e927c6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.UpsertRows( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md deleted file mode 100644 index 70a666257f..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateBooleanColumn( - "", - "", - "", - false, - tables.WithCreateBooleanColumnDefault(false), - tables.WithCreateBooleanColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md deleted file mode 100644 index beb8bd09e6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateDatetimeColumn( - "", - "", - "", - false, - tables.WithCreateDatetimeColumnDefault(""), - tables.WithCreateDatetimeColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md deleted file mode 100644 index 449cc0e88a..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateEmailColumn( - "", - "", - "", - false, - tables.WithCreateEmailColumnDefault("email@example.com"), - tables.WithCreateEmailColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md deleted file mode 100644 index 8f3bb84bb7..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateEnumColumn( - "", - "", - "", - []interface{}{}, - false, - tables.WithCreateEnumColumnDefault(""), - tables.WithCreateEnumColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md deleted file mode 100644 index eeabd851b9..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateFloatColumn( - "", - "", - "", - false, - tables.WithCreateFloatColumnMin(0), - tables.WithCreateFloatColumnMax(0), - tables.WithCreateFloatColumnDefault(0), - tables.WithCreateFloatColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-index.md b/docs/examples/1.8.x/server-go/examples/tables/create-index.md deleted file mode 100644 index 1737b29f6f..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-index.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIndex( - "", - "", - "", - "key", - []interface{}{}, - tables.WithCreateIndexOrders([]interface{}{}), - tables.WithCreateIndexLengths([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md deleted file mode 100644 index 45a81f6415..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIntegerColumn( - "", - "", - "", - false, - tables.WithCreateIntegerColumnMin(0), - tables.WithCreateIntegerColumnMax(0), - tables.WithCreateIntegerColumnDefault(0), - tables.WithCreateIntegerColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md deleted file mode 100644 index f6d203d65e..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIpColumn( - "", - "", - "", - false, - tables.WithCreateIpColumnDefault(""), - tables.WithCreateIpColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md deleted file mode 100644 index e2e6de59de..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateRelationshipColumn( - "", - "", - "", - "oneToOne", - tables.WithCreateRelationshipColumnTwoWay(false), - tables.WithCreateRelationshipColumnKey(""), - tables.WithCreateRelationshipColumnTwoWayKey(""), - tables.WithCreateRelationshipColumnOnDelete("cascade"), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-row.md b/docs/examples/1.8.x/server-go/examples/tables/create-row.md deleted file mode 100644 index 329f2a1c9c..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-row.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token - ) - - service := tables.New(client) - response, error := service.CreateRow( - "", - "", - "", - map[string]interface{}{}, - tables.WithCreateRowPermissions(interface{}{"read("any")"}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-rows.md b/docs/examples/1.8.x/server-go/examples/tables/create-rows.md deleted file mode 100644 index 7d32206bea..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateRows( - "", - "", - []interface{}{}, - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md deleted file mode 100644 index afb41e2728..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateStringColumn( - "", - "", - "", - 1, - false, - tables.WithCreateStringColumnDefault(""), - tables.WithCreateStringColumnArray(false), - tables.WithCreateStringColumnEncrypt(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md deleted file mode 100644 index c4e30e30cd..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateUrlColumn( - "", - "", - "", - false, - tables.WithCreateUrlColumnDefault("https://example.com"), - tables.WithCreateUrlColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create.md b/docs/examples/1.8.x/server-go/examples/tables/create.md deleted file mode 100644 index 672824daa6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Create( - "", - "", - "", - tables.WithCreatePermissions(interface{}{"read("any")"}), - tables.WithCreateRowSecurity(false), - tables.WithCreateEnabled(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md deleted file mode 100644 index 8ef1d26a59..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DecrementRowColumn( - "", - "", - "", - "", - tables.WithDecrementRowColumnValue(0), - tables.WithDecrementRowColumnMin(0), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-column.md b/docs/examples/1.8.x/server-go/examples/tables/delete-column.md deleted file mode 100644 index f66fc199c3..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-column.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteColumn( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-index.md b/docs/examples/1.8.x/server-go/examples/tables/delete-index.md deleted file mode 100644 index 1dddeef4e8..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-index.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteIndex( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-row.md b/docs/examples/1.8.x/server-go/examples/tables/delete-row.md deleted file mode 100644 index 9f55934e41..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-row.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.DeleteRow( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md deleted file mode 100644 index 3ad38f8067..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteRows( - "", - "", - tables.WithDeleteRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete.md b/docs/examples/1.8.x/server-go/examples/tables/delete.md deleted file mode 100644 index 9637acc51d..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Delete( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-column.md b/docs/examples/1.8.x/server-go/examples/tables/get-column.md deleted file mode 100644 index 292d22800e..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-column.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.GetColumn( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-index.md b/docs/examples/1.8.x/server-go/examples/tables/get-index.md deleted file mode 100644 index 077e823195..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-index.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.GetIndex( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-row.md b/docs/examples/1.8.x/server-go/examples/tables/get-row.md deleted file mode 100644 index a224c60d98..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-row.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.GetRow( - "", - "", - "", - tables.WithGetRowQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get.md b/docs/examples/1.8.x/server-go/examples/tables/get.md deleted file mode 100644 index 60304a8fd0..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Get( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md deleted file mode 100644 index 5d8b2f5578..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.IncrementRowColumn( - "", - "", - "", - "", - tables.WithIncrementRowColumnValue(0), - tables.WithIncrementRowColumnMax(0), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-columns.md b/docs/examples/1.8.x/server-go/examples/tables/list-columns.md deleted file mode 100644 index 25712ef2a7..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-columns.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.ListColumns( - "", - "", - tables.WithListColumnsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md deleted file mode 100644 index 0be8e81164..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.ListIndexes( - "", - "", - tables.WithListIndexesQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-rows.md b/docs/examples/1.8.x/server-go/examples/tables/list-rows.md deleted file mode 100644 index aadbcf1dad..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.ListRows( - "", - "", - tables.WithListRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list.md b/docs/examples/1.8.x/server-go/examples/tables/list.md deleted file mode 100644 index 1942b7a2d2..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.List( - "", - tables.WithListQueries([]interface{}{}), - tables.WithListSearch(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md deleted file mode 100644 index c76c3bb1cc..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateBooleanColumn( - "", - "", - "", - false, - false, - tables.WithUpdateBooleanColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md deleted file mode 100644 index e093904ad5..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateDatetimeColumn( - "", - "", - "", - false, - "", - tables.WithUpdateDatetimeColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md deleted file mode 100644 index 08845b5149..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateEmailColumn( - "", - "", - "", - false, - "email@example.com", - tables.WithUpdateEmailColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md deleted file mode 100644 index e639f850ba..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateEnumColumn( - "", - "", - "", - []interface{}{}, - false, - "", - tables.WithUpdateEnumColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md deleted file mode 100644 index 83fa3777c2..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateFloatColumn( - "", - "", - "", - false, - 0, - tables.WithUpdateFloatColumnMin(0), - tables.WithUpdateFloatColumnMax(0), - tables.WithUpdateFloatColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md deleted file mode 100644 index 5bbea02709..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateIntegerColumn( - "", - "", - "", - false, - 0, - tables.WithUpdateIntegerColumnMin(0), - tables.WithUpdateIntegerColumnMax(0), - tables.WithUpdateIntegerColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md deleted file mode 100644 index f67711aaed..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateIpColumn( - "", - "", - "", - false, - "", - tables.WithUpdateIpColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md deleted file mode 100644 index 1ec20edbb6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateRelationshipColumn( - "", - "", - "", - tables.WithUpdateRelationshipColumnOnDelete("cascade"), - tables.WithUpdateRelationshipColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-row.md b/docs/examples/1.8.x/server-go/examples/tables/update-row.md deleted file mode 100644 index 8ef1189769..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-row.md +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.UpdateRow( - "", - "", - "", - tables.WithUpdateRowData(map[string]interface{}{}), - tables.WithUpdateRowPermissions(interface{}{"read("any")"}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-rows.md b/docs/examples/1.8.x/server-go/examples/tables/update-rows.md deleted file mode 100644 index 7579e32851..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-rows.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateRows( - "", - "", - tables.WithUpdateRowsData(map[string]interface{}{}), - tables.WithUpdateRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md deleted file mode 100644 index 0a21b05e19..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateStringColumn( - "", - "", - "", - false, - "", - tables.WithUpdateStringColumnSize(1), - tables.WithUpdateStringColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md deleted file mode 100644 index aeb0541648..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateUrlColumn( - "", - "", - "", - false, - "https://example.com", - tables.WithUpdateUrlColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update.md b/docs/examples/1.8.x/server-go/examples/tables/update.md deleted file mode 100644 index 7a75c10713..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Update( - "", - "", - "", - tables.WithUpdatePermissions(interface{}{"read("any")"}), - tables.WithUpdateRowSecurity(false), - tables.WithUpdateEnabled(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md deleted file mode 100644 index 9bc9f00f8b..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token - ) - - service := tables.New(client) - response, error := service.UpsertRow( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md deleted file mode 100644 index bc5a4db007..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpsertRows( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md deleted file mode 100644 index 564b1a964c..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesCreateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md deleted file mode 100644 index 34055c27fa..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md deleted file mode 100644 index a45001d0be..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md deleted file mode 100644 index 5d1c516e3a..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesCreateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - elements - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md deleted file mode 100644 index 09bf481a33..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, - max: 0, - default: 0, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md deleted file mode 100644 index bc47403c64..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateIndex( - databaseId: "", - tableId: "", - key: "", - type: "key", - columns: [], - orders: [], - lengths: [] - ) { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md deleted file mode 100644 index 04273b18b5..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, - max: 0, - default: 0, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md deleted file mode 100644 index c2f07c760b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md deleted file mode 100644 index 8e56bd3867..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,27 +0,0 @@ -mutation { - tablesCreateRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: "oneToOne", - twoWay: false, - key: "", - twoWayKey: "", - onDelete: "cascade" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - relatedTable - relationType - twoWay - twoWayKey - onDelete - side - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md deleted file mode 100644 index c88a7f36cf..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesCreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md deleted file mode 100644 index a4ae62cfae..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesCreateRows( - databaseId: "", - tableId: "", - rows: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md deleted file mode 100644 index b0b11c2610..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", - array: false, - encrypt: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - size - default - encrypt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md deleted file mode 100644 index 134208b432..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create.md b/docs/examples/1.8.x/server-graphql/examples/tables/create.md deleted file mode 100644 index 73af2c4a8c..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create.md +++ /dev/null @@ -1,31 +0,0 @@ -mutation { - tablesCreate( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], - rowSecurity: false, - enabled: false - ) { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - rowSecurity - columns - indexes { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md deleted file mode 100644 index 4ee58849ff..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesDecrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, - min: 0 - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md deleted file mode 100644 index 2c2ab098d6..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteColumn( - databaseId: "", - tableId: "", - key: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md deleted file mode 100644 index c95db41fd6..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteIndex( - databaseId: "", - tableId: "", - key: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md deleted file mode 100644 index f3a35c1df1..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md deleted file mode 100644 index 1ee227b7e5..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesDeleteRows( - databaseId: "", - tableId: "", - queries: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete.md deleted file mode 100644 index 1749422f6a..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete.md +++ /dev/null @@ -1,8 +0,0 @@ -mutation { - tablesDelete( - databaseId: "", - tableId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-column.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-index.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-row.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get.md b/docs/examples/1.8.x/server-graphql/examples/tables/get.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md deleted file mode 100644 index f84f149672..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesIncrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, - max: 0 - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-columns.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-columns.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-indexes.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-rows.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list.md b/docs/examples/1.8.x/server-graphql/examples/tables/list.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md deleted file mode 100644 index 541abd97cc..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesUpdateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md deleted file mode 100644 index 01714377a4..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md deleted file mode 100644 index ffb3a21e66..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md deleted file mode 100644 index 45ddb00d6f..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesUpdateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - elements - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md deleted file mode 100644 index f592a53858..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, - max: 0, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md deleted file mode 100644 index a51f02d4d7..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, - max: 0, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md deleted file mode 100644 index c353c79105..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md deleted file mode 100644 index e94800345b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: "cascade", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - relatedTable - relationType - twoWay - twoWayKey - onDelete - side - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md deleted file mode 100644 index 8449d8499b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md deleted file mode 100644 index 510648f6e1..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesUpdateRows( - databaseId: "", - tableId: "", - data: "{}", - queries: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md deleted file mode 100644 index 0771d9a6af..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesUpdateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - size - default - encrypt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md deleted file mode 100644 index a5c4a4432d..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update.md b/docs/examples/1.8.x/server-graphql/examples/tables/update.md deleted file mode 100644 index 4aa434c3ed..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update.md +++ /dev/null @@ -1,31 +0,0 @@ -mutation { - tablesUpdate( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], - rowSecurity: false, - enabled: false - ) { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - rowSecurity - columns - indexes { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md deleted file mode 100644 index 480d7651bd..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -mutation { - tablesUpsertRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md deleted file mode 100644 index 6015470c16..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpsertRows( - databaseId: "", - tableId: "" - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md deleted file mode 100644 index 2336ee90e0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createBooleanColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - false, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md deleted file mode 100644 index dd3df83dbf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createDatetimeColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md deleted file mode 100644 index 3b130d1ecd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createEmailColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "email@example.com", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md deleted file mode 100644 index 73c6e1c7de..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createEnumColumn( - "", // databaseId - "", // tableId - "", // key - listOf(), // elements - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md deleted file mode 100644 index dd6f207ff4..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createFloatColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // min (optional) - 0, // max (optional) - 0, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md deleted file mode 100644 index 2a4df003c0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; -import io.appwrite.enums.IndexType; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIndex( - "", // databaseId - "", // tableId - "", // key - IndexType.KEY, // type - listOf(), // columns - listOf(), // orders (optional) - listOf(), // lengths (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md deleted file mode 100644 index 3546ac8174..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIntegerColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // min (optional) - 0, // max (optional) - 0, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md deleted file mode 100644 index 825d8b0c5c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIpColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md deleted file mode 100644 index 7a0b50a541..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md +++ /dev/null @@ -1,31 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; -import io.appwrite.enums.RelationshipType; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createRelationshipColumn( - "", // databaseId - "", // tableId - "", // relatedTableId - RelationshipType.ONETOONE, // type - false, // twoWay (optional) - "", // key (optional) - "", // twoWayKey (optional) - RelationMutate.CASCADE, // onDelete (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md deleted file mode 100644 index 7ba3678aad..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.createRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md deleted file mode 100644 index c20aa2c11f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createRows( - "", // databaseId - "", // tableId - listOf(), // rows - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md deleted file mode 100644 index b8cb626601..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createStringColumn( - "", // databaseId - "", // tableId - "", // key - 1, // size - false, // required - "", // default (optional) - false, // array (optional) - false, // encrypt (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md deleted file mode 100644 index 91e90c8bc4..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createUrlColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "https://example.com", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create.md b/docs/examples/1.8.x/server-kotlin/java/tables/create.md deleted file mode 100644 index 6a9faf06dd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.create( - "", // databaseId - "", // tableId - "", // name - listOf("read("any")"), // permissions (optional) - false, // rowSecurity (optional) - false, // enabled (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md deleted file mode 100644 index 9e79f36e14..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.decrementRowColumn( - "", // databaseId - "", // tableId - "", // rowId - "", // column - 0, // value (optional) - 0, // min (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md deleted file mode 100644 index f14390c905..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteColumn( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md deleted file mode 100644 index 1b22eb00d8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteIndex( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md deleted file mode 100644 index a48745a225..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.deleteRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md deleted file mode 100644 index 6a86321fad..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete.md deleted file mode 100644 index e777c7292e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.delete( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md deleted file mode 100644 index b4f7e1298f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.getColumn( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md deleted file mode 100644 index 5bcd59d4cd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.getIndex( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md deleted file mode 100644 index 7f72c25cd8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.getRow( - "", // databaseId - "", // tableId - "", // rowId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get.md b/docs/examples/1.8.x/server-kotlin/java/tables/get.md deleted file mode 100644 index 6f3c639450..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.get( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md deleted file mode 100644 index f9c828398a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.incrementRowColumn( - "", // databaseId - "", // tableId - "", // rowId - "", // column - 0, // value (optional) - 0, // max (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md deleted file mode 100644 index 05e1960021..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.listColumns( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md deleted file mode 100644 index c9bd445fe8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.listIndexes( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md deleted file mode 100644 index 8cbc356556..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.listRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list.md b/docs/examples/1.8.x/server-kotlin/java/tables/list.md deleted file mode 100644 index c3e0c559aa..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.list( - "", // databaseId - listOf(), // queries (optional) - "", // search (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md deleted file mode 100644 index 647190e7bc..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateBooleanColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - false, // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md deleted file mode 100644 index 38e0e60da5..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateDatetimeColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md deleted file mode 100644 index 918884e0b3..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateEmailColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "email@example.com", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md deleted file mode 100644 index b1bbc83520..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateEnumColumn( - "", // databaseId - "", // tableId - "", // key - listOf(), // elements - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md deleted file mode 100644 index 977c23727c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateFloatColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // default - 0, // min (optional) - 0, // max (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md deleted file mode 100644 index d2ad81d0eb..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateIntegerColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // default - 0, // min (optional) - 0, // max (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md deleted file mode 100644 index cd6e67bc2c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateIpColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md deleted file mode 100644 index e0dc185e0e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md +++ /dev/null @@ -1,27 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateRelationshipColumn( - "", // databaseId - "", // tableId - "", // key - RelationMutate.CASCADE, // onDelete (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md deleted file mode 100644 index 8270c3fa9b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md +++ /dev/null @@ -1,27 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.updateRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data (optional) - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md deleted file mode 100644 index a51878508f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateRows( - "", // databaseId - "", // tableId - mapOf( "a" to "b" ), // data (optional) - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md deleted file mode 100644 index 31e279d068..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateStringColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - 1, // size (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md deleted file mode 100644 index 201e578ac6..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateUrlColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "https://example.com", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update.md b/docs/examples/1.8.x/server-kotlin/java/tables/update.md deleted file mode 100644 index cf560cb461..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.update( - "", // databaseId - "", // tableId - "", // name - listOf("read("any")"), // permissions (optional) - false, // rowSecurity (optional) - false, // enabled (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md deleted file mode 100644 index 11127c5bfa..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.upsertRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md deleted file mode 100644 index 14b382263b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.upsertRows( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md deleted file mode 100644 index 68b8dc51bd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createBooleanColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = false, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md deleted file mode 100644 index 8740a71d3c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createDatetimeColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md deleted file mode 100644 index 34a6cb669f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createEmailColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "email@example.com", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md deleted file mode 100644 index d3d2fc9286..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createEnumColumn( - databaseId = "", - tableId = "", - key = "", - elements = listOf(), - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md deleted file mode 100644 index 8540430cea..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createFloatColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - min = 0, // optional - max = 0, // optional - default = 0, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md deleted file mode 100644 index 053c88a93a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables -import io.appwrite.enums.IndexType - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIndex( - databaseId = "", - tableId = "", - key = "", - type = IndexType.KEY, - columns = listOf(), - orders = listOf(), // optional - lengths = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md deleted file mode 100644 index 1222746259..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIntegerColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - min = 0, // optional - max = 0, // optional - default = 0, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md deleted file mode 100644 index 277c756d24..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIpColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md deleted file mode 100644 index aa07fac6a8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables -import io.appwrite.enums.RelationshipType - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createRelationshipColumn( - databaseId = "", - tableId = "", - relatedTableId = "", - type = RelationshipType.ONETOONE, - twoWay = false, // optional - key = "", // optional - twoWayKey = "", // optional - onDelete = "cascade" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md deleted file mode 100644 index 5df0890f99..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val response = tables.createRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), - permissions = listOf("read("any")") // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md deleted file mode 100644 index f549d6fb8c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createRows( - databaseId = "", - tableId = "", - rows = listOf() -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md deleted file mode 100644 index d82026c31d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createStringColumn( - databaseId = "", - tableId = "", - key = "", - size = 1, - required = false, - default = "", // optional - array = false, // optional - encrypt = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md deleted file mode 100644 index 42f50e9ec9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createUrlColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "https://example.com", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md deleted file mode 100644 index 3dc1d1a37d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.create( - databaseId = "", - tableId = "", - name = "", - permissions = listOf("read("any")"), // optional - rowSecurity = false, // optional - enabled = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md deleted file mode 100644 index f78f7bbed7..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.decrementRowColumn( - databaseId = "", - tableId = "", - rowId = "", - column = "", - value = 0, // optional - min = 0 // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md deleted file mode 100644 index d41f2ceabf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteColumn( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md deleted file mode 100644 index 7af6648f2f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteIndex( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md deleted file mode 100644 index d182ccff95..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.deleteRow( - databaseId = "", - tableId = "", - rowId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md deleted file mode 100644 index 54ff6b690c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteRows( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md deleted file mode 100644 index 5cbd03226a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.delete( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md deleted file mode 100644 index 6f4d65b4dc..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.getColumn( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md deleted file mode 100644 index 660502f228..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.getIndex( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md deleted file mode 100644 index cbaaa6c3e9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.getRow( - databaseId = "", - tableId = "", - rowId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md deleted file mode 100644 index ff6d354c15..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.get( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md deleted file mode 100644 index 7917b7f939..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.incrementRowColumn( - databaseId = "", - tableId = "", - rowId = "", - column = "", - value = 0, // optional - max = 0 // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md deleted file mode 100644 index 4c1765193d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.listColumns( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md deleted file mode 100644 index bcd1fe75ab..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.listIndexes( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md deleted file mode 100644 index 38b776acb8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.listRows( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md deleted file mode 100644 index 37b03445da..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.list( - databaseId = "", - queries = listOf(), // optional - search = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md deleted file mode 100644 index 10a0422d2d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateBooleanColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = false, - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md deleted file mode 100644 index 69ccf0354e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateDatetimeColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md deleted file mode 100644 index 593a89b4ce..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateEmailColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "email@example.com", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md deleted file mode 100644 index b672e3e155..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateEnumColumn( - databaseId = "", - tableId = "", - key = "", - elements = listOf(), - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md deleted file mode 100644 index 005c4e64a5..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateFloatColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = 0, - min = 0, // optional - max = 0, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md deleted file mode 100644 index 39da19d562..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateIntegerColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = 0, - min = 0, // optional - max = 0, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md deleted file mode 100644 index 40e54bcdfd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateIpColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md deleted file mode 100644 index d4c36e8802..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateRelationshipColumn( - databaseId = "", - tableId = "", - key = "", - onDelete = "cascade", // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md deleted file mode 100644 index 6d3d9a47f7..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.updateRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), // optional - permissions = listOf("read("any")") // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md deleted file mode 100644 index aac87c19b0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateRows( - databaseId = "", - tableId = "", - data = mapOf( "a" to "b" ), // optional - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md deleted file mode 100644 index bb5b1f4bcf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateStringColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - size = 1, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md deleted file mode 100644 index 07f43e3907..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateUrlColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "https://example.com", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md deleted file mode 100644 index 381532316d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.update( - databaseId = "", - tableId = "", - name = "", - permissions = listOf("read("any")"), // optional - rowSecurity = false, // optional - enabled = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md deleted file mode 100644 index 6e02b3abe9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val response = tables.upsertRow( - databaseId = "", - tableId = "", - rowId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md deleted file mode 100644 index d639e3d30b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.upsertRows( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md deleted file mode 100644 index 64893d77a8..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md deleted file mode 100644 index 0d63244727..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md deleted file mode 100644 index 2257fdd7d6..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md deleted file mode 100644 index dbc75feea5..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md deleted file mode 100644 index 690b5849eb..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md deleted file mode 100644 index aef047ba5f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - sdk.IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md deleted file mode 100644 index 05e66b548c..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md deleted file mode 100644 index 69b5c635d2..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md deleted file mode 100644 index b6e7fa517f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - sdk.RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - sdk.RelationMutate.Cascade // onDelete (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md deleted file mode 100644 index 84da608d41..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new sdk.Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md deleted file mode 100644 index 6a6918b8df..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md deleted file mode 100644 index 8e14cb45c9..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md deleted file mode 100644 index 73cdfa3710..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create.md deleted file mode 100644 index 54d6bc61bd..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md deleted file mode 100644 index 2e7df6aa92..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md deleted file mode 100644 index a892c61baa..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md deleted file mode 100644 index f6bc7919db..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md deleted file mode 100644 index 5bc60cd6cb..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md deleted file mode 100644 index 11b16b71ae..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md deleted file mode 100644 index fed3eee5a4..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.delete( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md deleted file mode 100644 index daa20e17e2..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md deleted file mode 100644 index 56ba871d67..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md deleted file mode 100644 index df952d9595..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get.md deleted file mode 100644 index b078574b5c..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.get( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md deleted file mode 100644 index bb5856c74a..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md deleted file mode 100644 index f9af43bea5..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md deleted file mode 100644 index 7eaf4b8710..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md deleted file mode 100644 index aa5b341649..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list.md deleted file mode 100644 index 872a98df08..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md deleted file mode 100644 index 84ff5d2bef..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md deleted file mode 100644 index c02559a171..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md deleted file mode 100644 index 9560b60e29..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md deleted file mode 100644 index 861fce6add..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md deleted file mode 100644 index 01845ca3cc..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md deleted file mode 100644 index 0b7432247f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md deleted file mode 100644 index 6ba5eccf3e..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md deleted file mode 100644 index 3409b8caad..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - sdk.RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md deleted file mode 100644 index ff8e98eb38..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md deleted file mode 100644 index 72cef07202..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md deleted file mode 100644 index f9445a50c1..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md deleted file mode 100644 index c6ffdf3044..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update.md deleted file mode 100644 index 4fd981ffbf..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md deleted file mode 100644 index 2b08d56785..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new sdk.Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md deleted file mode 100644 index 75d681dbf0..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.upsertRows( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md deleted file mode 100644 index 28339753ac..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createBooleanColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: false, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md deleted file mode 100644 index d7f18f2ede..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md deleted file mode 100644 index 15ec2cf2e5..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createEmailColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'email@example.com', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md deleted file mode 100644 index aa2b6138f7..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md deleted file mode 100644 index 1f620dc887..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createFloatColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - min: null, // optional - max: null, // optional - default: null, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-index.md b/docs/examples/1.8.x/server-php/examples/tables/create-index.md deleted file mode 100644 index 9844e041d4..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-index.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIndex( - databaseId: '', - tableId: '', - key: '', - type: IndexType::KEY(), - columns: [], - orders: [], // optional - lengths: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md deleted file mode 100644 index 185f12c5cb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIntegerColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - min: null, // optional - max: null, // optional - default: null, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md deleted file mode 100644 index 1f74e4dd72..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIpColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md deleted file mode 100644 index c86b4c558a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,23 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createRelationshipColumn( - databaseId: '', - tableId: '', - relatedTableId: '', - type: RelationshipType::ONETOONE(), - twoWay: false, // optional - key: '', // optional - twoWayKey: '', // optional - onDelete: RelationMutate::CASCADE() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-row.md b/docs/examples/1.8.x/server-php/examples/tables/create-row.md deleted file mode 100644 index 6b64a7e058..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-row.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token - -$tables = new Tables($client); - -$result = $tables->createRow( - databaseId: '', - tableId: '', - rowId: '', - data: [], - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-rows.md b/docs/examples/1.8.x/server-php/examples/tables/create-rows.md deleted file mode 100644 index a1bf72ad13..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createRows( - databaseId: '', - tableId: '', - rows: [] -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md deleted file mode 100644 index 085aff25c8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createStringColumn( - databaseId: '', - tableId: '', - key: '', - size: 1, - required: false, - default: '', // optional - array: false, // optional - encrypt: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md deleted file mode 100644 index d0bdb55dd4..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createUrlColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'https://example.com', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create.md b/docs/examples/1.8.x/server-php/examples/tables/create.md deleted file mode 100644 index 773d7a24eb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->create( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md deleted file mode 100644 index b0c44b6d0a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->decrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: null, // optional - min: null // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-column.md b/docs/examples/1.8.x/server-php/examples/tables/delete-column.md deleted file mode 100644 index 9bd6738cb7..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-column.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteColumn( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-index.md b/docs/examples/1.8.x/server-php/examples/tables/delete-index.md deleted file mode 100644 index bbd748433a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-index.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteIndex( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-row.md b/docs/examples/1.8.x/server-php/examples/tables/delete-row.md deleted file mode 100644 index 0c4ab6ef40..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-row.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->deleteRow( - databaseId: '', - tableId: '', - rowId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md deleted file mode 100644 index b0c984cc17..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteRows( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete.md b/docs/examples/1.8.x/server-php/examples/tables/delete.md deleted file mode 100644 index f145eedc91..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->delete( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-column.md b/docs/examples/1.8.x/server-php/examples/tables/get-column.md deleted file mode 100644 index b8b676564e..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-column.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->getColumn( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-index.md b/docs/examples/1.8.x/server-php/examples/tables/get-index.md deleted file mode 100644 index 5d1139d596..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-index.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->getIndex( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-row.md b/docs/examples/1.8.x/server-php/examples/tables/get-row.md deleted file mode 100644 index ccde387b89..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-row.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get.md b/docs/examples/1.8.x/server-php/examples/tables/get.md deleted file mode 100644 index d07ef7338a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->get( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md deleted file mode 100644 index aa5a3c0d53..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->incrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: null, // optional - max: null // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-columns.md b/docs/examples/1.8.x/server-php/examples/tables/list-columns.md deleted file mode 100644 index 0338567240..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-columns.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->listColumns( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md deleted file mode 100644 index df1f8c6aca..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->listIndexes( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-rows.md b/docs/examples/1.8.x/server-php/examples/tables/list-rows.md deleted file mode 100644 index 2041d72b05..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->listRows( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list.md b/docs/examples/1.8.x/server-php/examples/tables/list.md deleted file mode 100644 index 37df0a4baa..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->list( - databaseId: '', - queries: [], // optional - search: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md deleted file mode 100644 index 8ad80506d8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateBooleanColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: false, - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md deleted file mode 100644 index 5185357f17..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md deleted file mode 100644 index 7acbb811eb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateEmailColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'email@example.com', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md deleted file mode 100644 index 478905af67..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md deleted file mode 100644 index 1d9c5fd997..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateFloatColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: null, - min: null, // optional - max: null, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md deleted file mode 100644 index f6998db0a2..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateIntegerColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: null, - min: null, // optional - max: null, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md deleted file mode 100644 index e7906fbd0f..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateIpColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md deleted file mode 100644 index d6505c77f1..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateRelationshipColumn( - databaseId: '', - tableId: '', - key: '', - onDelete: RelationMutate::CASCADE(), // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-row.md b/docs/examples/1.8.x/server-php/examples/tables/update-row.md deleted file mode 100644 index 921c43d935..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-row.md +++ /dev/null @@ -1,19 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: [], // optional - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-rows.md b/docs/examples/1.8.x/server-php/examples/tables/update-rows.md deleted file mode 100644 index f61fa2b17d..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-rows.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateRows( - databaseId: '', - tableId: '', - data: [], // optional - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md deleted file mode 100644 index 8856ec19c1..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateStringColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - size: 1, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md deleted file mode 100644 index faa46d1806..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateUrlColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'https://example.com', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update.md b/docs/examples/1.8.x/server-php/examples/tables/update.md deleted file mode 100644 index 39f076b8f8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->update( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md deleted file mode 100644 index 2bddd9b5b3..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token - -$tables = new Tables($client); - -$result = $tables->upsertRow( - databaseId: '', - tableId: '', - rowId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md deleted file mode 100644 index 5ed5f028a9..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->upsertRows( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md deleted file mode 100644 index cfbaa3b0ee..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_boolean_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = False, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md deleted file mode 100644 index a9f76b5e5f..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_datetime_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md deleted file mode 100644 index 73ac0faad6..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_email_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'email@example.com', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md deleted file mode 100644 index 2013c39fa0..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_enum_column( - database_id = '', - table_id = '', - key = '', - elements = [], - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md deleted file mode 100644 index a56a196093..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_float_column( - database_id = '', - table_id = '', - key = '', - required = False, - min = None, # optional - max = None, # optional - default = None, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-index.md b/docs/examples/1.8.x/server-python/examples/tables/create-index.md deleted file mode 100644 index 69086af0b0..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-index.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables -from appwrite.enums import IndexType - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_index( - database_id = '', - table_id = '', - key = '', - type = IndexType.KEY, - columns = [], - orders = [], # optional - lengths = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md deleted file mode 100644 index d52b14bc5c..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_integer_column( - database_id = '', - table_id = '', - key = '', - required = False, - min = None, # optional - max = None, # optional - default = None, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md deleted file mode 100644 index b5c7ef56db..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_ip_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md deleted file mode 100644 index 187271f887..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,21 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables -from appwrite.enums import RelationshipType - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_relationship_column( - database_id = '', - table_id = '', - related_table_id = '', - type = RelationshipType.ONETOONE, - two_way = False, # optional - key = '', # optional - two_way_key = '', # optional - on_delete = RelationMutate.CASCADE # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-row.md b/docs/examples/1.8.x/server-python/examples/tables/create-row.md deleted file mode 100644 index 8850a974b8..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_session('') # The user session to authenticate with -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token - -tables = Tables(client) - -result = tables.create_row( - database_id = '', - table_id = '', - row_id = '', - data = {}, - permissions = ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-rows.md b/docs/examples/1.8.x/server-python/examples/tables/create-rows.md deleted file mode 100644 index 3fae165081..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_rows( - database_id = '', - table_id = '', - rows = [] -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md deleted file mode 100644 index 1308fea2ad..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_string_column( - database_id = '', - table_id = '', - key = '', - size = 1, - required = False, - default = '', # optional - array = False, # optional - encrypt = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md deleted file mode 100644 index f15c3e0574..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_url_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'https://example.com', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create.md b/docs/examples/1.8.x/server-python/examples/tables/create.md deleted file mode 100644 index 3a02843c4d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create( - database_id = '', - table_id = '', - name = '', - permissions = ["read("any")"], # optional - row_security = False, # optional - enabled = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md deleted file mode 100644 index bf027d6e76..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.decrement_row_column( - database_id = '', - table_id = '', - row_id = '', - column = '', - value = None, # optional - min = None # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-column.md b/docs/examples/1.8.x/server-python/examples/tables/delete-column.md deleted file mode 100644 index cf2dd6d5e5..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_column( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-index.md b/docs/examples/1.8.x/server-python/examples/tables/delete-index.md deleted file mode 100644 index 5f78d1ce1d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_index( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-row.md b/docs/examples/1.8.x/server-python/examples/tables/delete-row.md deleted file mode 100644 index 40a8b09fcf..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -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 - -tables = Tables(client) - -result = tables.delete_row( - database_id = '', - table_id = '', - row_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md deleted file mode 100644 index 236aea1c9b..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_rows( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete.md b/docs/examples/1.8.x/server-python/examples/tables/delete.md deleted file mode 100644 index de48bfc2b5..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-column.md b/docs/examples/1.8.x/server-python/examples/tables/get-column.md deleted file mode 100644 index 4bd4617142..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get_column( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-index.md b/docs/examples/1.8.x/server-python/examples/tables/get-index.md deleted file mode 100644 index cf88017fbe..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get_index( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-row.md b/docs/examples/1.8.x/server-python/examples/tables/get-row.md deleted file mode 100644 index 25fefb23fd..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -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 - -tables = Tables(client) - -result = tables.get_row( - database_id = '', - table_id = '', - row_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get.md b/docs/examples/1.8.x/server-python/examples/tables/get.md deleted file mode 100644 index 789410cfb7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md deleted file mode 100644 index cfb923029e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.increment_row_column( - database_id = '', - table_id = '', - row_id = '', - column = '', - value = None, # optional - max = None # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-columns.md b/docs/examples/1.8.x/server-python/examples/tables/list-columns.md deleted file mode 100644 index d9c5b16468..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list_columns( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md deleted file mode 100644 index 0b0bb585e7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list_indexes( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-rows.md b/docs/examples/1.8.x/server-python/examples/tables/list-rows.md deleted file mode 100644 index 2ece6f6cf7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -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 - -tables = Tables(client) - -result = tables.list_rows( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list.md b/docs/examples/1.8.x/server-python/examples/tables/list.md deleted file mode 100644 index 55a99e996d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list( - database_id = '', - queries = [], # optional - search = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md deleted file mode 100644 index 1bc7a4afac..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_boolean_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = False, - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md deleted file mode 100644 index 157ff44a7b..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_datetime_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md deleted file mode 100644 index 8b9e4cad36..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_email_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'email@example.com', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md deleted file mode 100644 index b46971beac..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_enum_column( - database_id = '', - table_id = '', - key = '', - elements = [], - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md deleted file mode 100644 index 243a26f0aa..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_float_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = None, - min = None, # optional - max = None, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md deleted file mode 100644 index 99b55c17a7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_integer_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = None, - min = None, # optional - max = None, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md deleted file mode 100644 index 2fb470ae6e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_ip_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md deleted file mode 100644 index 35a307c7e2..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,17 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_relationship_column( - database_id = '', - table_id = '', - key = '', - on_delete = RelationMutate.CASCADE, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-row.md b/docs/examples/1.8.x/server-python/examples/tables/update-row.md deleted file mode 100644 index 4a71fc97f2..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -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 - -tables = Tables(client) - -result = tables.update_row( - database_id = '', - table_id = '', - row_id = '', - data = {}, # optional - permissions = ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-rows.md b/docs/examples/1.8.x/server-python/examples/tables/update-rows.md deleted file mode 100644 index a834346678..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_rows( - database_id = '', - table_id = '', - data = {}, # optional - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md deleted file mode 100644 index 252c26433e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_string_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - size = 1, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md deleted file mode 100644 index 235e2f3bc4..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_url_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'https://example.com', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update.md b/docs/examples/1.8.x/server-python/examples/tables/update.md deleted file mode 100644 index c567bd5500..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update( - database_id = '', - table_id = '', - name = '', - permissions = ["read("any")"], # optional - row_security = False, # optional - enabled = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md deleted file mode 100644 index e418708bc3..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_session('') # The user session to authenticate with -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token - -tables = Tables(client) - -result = tables.upsert_row( - database_id = '', - table_id = '', - row_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md deleted file mode 100644 index 85c2e94d69..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.upsert_rows( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md deleted file mode 100644 index 4152d8538f..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/boolean HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": false, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md deleted file mode 100644 index d5318d96db..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/datetime HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": , - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md deleted file mode 100644 index b213fa6ceb..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/email HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": "email@example.com", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md deleted file mode 100644 index 125f617f1f..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/enum HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "elements": [], - "required": false, - "default": "", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md deleted file mode 100644 index 2e010318ff..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/float HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "min": 0, - "max": 0, - "default": 0, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-index.md b/docs/examples/1.8.x/server-rest/examples/tables/create-index.md deleted file mode 100644 index eaddec973a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-index.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/indexes HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "type": "key", - "columns": [], - "orders": [], - "lengths": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md deleted file mode 100644 index f284dc03ef..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/integer HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "min": 0, - "max": 0, - "default": 0, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md deleted file mode 100644 index 8def17fc27..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/ip HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": , - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md deleted file mode 100644 index d8feb21916..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/relationship HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "relatedTableId": "", - "type": "oneToOne", - "twoWay": false, - "key": , - "twoWayKey": , - "onDelete": "cascade" -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-row.md b/docs/examples/1.8.x/server-rest/examples/tables/create-row.md deleted file mode 100644 index 075be16fa4..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-row.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "rowId": "", - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md deleted file mode 100644 index ad3d6983cc..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md +++ /dev/null @@ -1,12 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "rows": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md deleted file mode 100644 index e654a05e3a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/string HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "size": 1, - "required": false, - "default": "", - "array": false, - "encrypt": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md deleted file mode 100644 index d98d77c68d..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/url HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": "https://example.com", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create.md b/docs/examples/1.8.x/server-rest/examples/tables/create.md deleted file mode 100644 index 14e1f6ec05..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "tableId": "", - "name": "", - "permissions": ["read(\"any\")"], - "rowSecurity": false, - "enabled": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md deleted file mode 100644 index a76efb3a69..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId}/{column}/decrement HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "value": 0, - "min": 0 -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md deleted file mode 100644 index 2bda57366c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/columns/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md deleted file mode 100644 index ffffc38c64..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md deleted file mode 100644 index f10adef821..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md deleted file mode 100644 index fcaf8fb472..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md +++ /dev/null @@ -1,10 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "queries": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete.md b/docs/examples/1.8.x/server-rest/examples/tables/delete.md deleted file mode 100644 index 379bead1ad..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-column.md b/docs/examples/1.8.x/server-rest/examples/tables/get-column.md deleted file mode 100644 index 31d1856539..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-column.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/columns/{key} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-index.md b/docs/examples/1.8.x/server-rest/examples/tables/get-index.md deleted file mode 100644 index 076058d7f3..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-index.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-row.md b/docs/examples/1.8.x/server-rest/examples/tables/get-row.md deleted file mode 100644 index 0b827f18a8..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-row.md +++ /dev/null @@ -1,7 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get.md b/docs/examples/1.8.x/server-rest/examples/tables/get.md deleted file mode 100644 index 74877ec0c0..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md deleted file mode 100644 index 480645c39c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId}/{column}/increment HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "value": 0, - "max": 0 -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md b/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md deleted file mode 100644 index 152b36ca26..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/columns HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md deleted file mode 100644 index ee10a85d5e..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/indexes HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md deleted file mode 100644 index 46e69ab609..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md +++ /dev/null @@ -1,7 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list.md b/docs/examples/1.8.x/server-rest/examples/tables/list.md deleted file mode 100644 index e856ef7241..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md deleted file mode 100644 index e4a1c4602a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/boolean/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": false, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md deleted file mode 100644 index 6b531dc604..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/datetime/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": , - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md deleted file mode 100644 index 531aa7a31a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/email/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "email@example.com", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md deleted file mode 100644 index b02936fc5a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/enum/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "elements": [], - "required": false, - "default": "", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md deleted file mode 100644 index 313acb6c20..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md +++ /dev/null @@ -1,14 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/float/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "min": 0, - "max": 0, - "default": 0, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md deleted file mode 100644 index a2552e93ff..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md +++ /dev/null @@ -1,14 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/integer/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "min": 0, - "max": 0, - "default": 0, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md deleted file mode 100644 index b3cef978e2..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/ip/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": , - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md deleted file mode 100644 index 19fed27fdf..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/{key}/relationship HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "onDelete": "cascade", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-row.md b/docs/examples/1.8.x/server-rest/examples/tables/update-row.md deleted file mode 100644 index 20c92d746b..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-row.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md deleted file mode 100644 index 249653070c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "data": {}, - "queries": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md deleted file mode 100644 index 7a25ee52e8..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/string/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "", - "size": 1, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md deleted file mode 100644 index 2097e91d85..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/url/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "https://example.com", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update.md b/docs/examples/1.8.x/server-rest/examples/tables/update.md deleted file mode 100644 index 786a36cf3c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update.md +++ /dev/null @@ -1,13 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "name": "", - "permissions": ["read(\"any\")"], - "rowSecurity": false, - "enabled": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md deleted file mode 100644 index 7edca8018c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md +++ /dev/null @@ -1,9 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md deleted file mode 100644 index cfcb914866..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md +++ /dev/null @@ -1,7 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md deleted file mode 100644 index 7df3908513..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_boolean_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: false, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md deleted file mode 100644 index 2d65509184..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_datetime_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md deleted file mode 100644 index 01f7ad43b5..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_email_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'email@example.com', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md deleted file mode 100644 index 97fcb589e4..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_enum_column( - database_id: '', - table_id: '', - key: '', - elements: [], - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md deleted file mode 100644 index 9df32a3f5b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_float_column( - database_id: '', - table_id: '', - key: '', - required: false, - min: null, # optional - max: null, # optional - default: null, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md deleted file mode 100644 index 3c8dfdfb6b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite -include Appwrite::Enums - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_index( - database_id: '', - table_id: '', - key: '', - type: IndexType::KEY, - columns: [], - orders: [], # optional - lengths: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md deleted file mode 100644 index d0c5c78108..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_integer_column( - database_id: '', - table_id: '', - key: '', - required: false, - min: null, # optional - max: null, # optional - default: null, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md deleted file mode 100644 index 0c97840a27..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_ip_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md deleted file mode 100644 index 8f7fb841aa..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -require 'appwrite' - -include Appwrite -include Appwrite::Enums - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_relationship_column( - database_id: '', - table_id: '', - related_table_id: '', - type: RelationshipType::ONETOONE, - two_way: false, # optional - key: '', # optional - two_way_key: '', # optional - on_delete: RelationMutate::CASCADE # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md deleted file mode 100644 index a625249700..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_session('') # The user session to authenticate with - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token - -tables = Tables.new(client) - -result = tables.create_row( - database_id: '', - table_id: '', - row_id: '', - data: {}, - permissions: ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md deleted file mode 100644 index 2e78b96cbc..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_rows( - database_id: '', - table_id: '', - rows: [] -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md deleted file mode 100644 index d47cf49e0c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_string_column( - database_id: '', - table_id: '', - key: '', - size: 1, - required: false, - default: '', # optional - array: false, # optional - encrypt: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md deleted file mode 100644 index fcfebac7a8..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_url_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'https://example.com', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create.md b/docs/examples/1.8.x/server-ruby/examples/tables/create.md deleted file mode 100644 index 5a255fafac..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create( - database_id: '', - table_id: '', - name: '', - permissions: ["read("any")"], # optional - row_security: false, # optional - enabled: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md deleted file mode 100644 index e22afcb0ad..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.decrement_row_column( - database_id: '', - table_id: '', - row_id: '', - column: '', - value: null, # optional - min: null # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md deleted file mode 100644 index 245864053f..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_column( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md deleted file mode 100644 index 54bd5455aa..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_index( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md deleted file mode 100644 index 9841fc2d2f..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -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 - -tables = Tables.new(client) - -result = tables.delete_row( - database_id: '', - table_id: '', - row_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md deleted file mode 100644 index 7be1e4bc70..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_rows( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete.md deleted file mode 100644 index ca607f2b6b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md deleted file mode 100644 index 1a1469d005..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get_column( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md deleted file mode 100644 index 7d762ce8ae..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get_index( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md deleted file mode 100644 index 4526bb7316..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -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 - -tables = Tables.new(client) - -result = tables.get_row( - database_id: '', - table_id: '', - row_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get.md b/docs/examples/1.8.x/server-ruby/examples/tables/get.md deleted file mode 100644 index 22ba02aebc..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md deleted file mode 100644 index c0a91d4b62..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.increment_row_column( - database_id: '', - table_id: '', - row_id: '', - column: '', - value: null, # optional - max: null # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md deleted file mode 100644 index 7e851564c2..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list_columns( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md deleted file mode 100644 index 0789291071..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list_indexes( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md deleted file mode 100644 index bc9a0a49f6..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -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 - -tables = Tables.new(client) - -result = tables.list_rows( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list.md b/docs/examples/1.8.x/server-ruby/examples/tables/list.md deleted file mode 100644 index 7cf987ebb9..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list( - database_id: '', - queries: [], # optional - search: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md deleted file mode 100644 index a09b365cd1..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_boolean_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: false, - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md deleted file mode 100644 index 55e0484b4c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_datetime_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md deleted file mode 100644 index 285cd6655a..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_email_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'email@example.com', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md deleted file mode 100644 index 90773ed9e4..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_enum_column( - database_id: '', - table_id: '', - key: '', - elements: [], - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md deleted file mode 100644 index 0bb992bd3c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_float_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: null, - min: null, # optional - max: null, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md deleted file mode 100644 index 35f8c471a8..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_integer_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: null, - min: null, # optional - max: null, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md deleted file mode 100644 index 2ad1840a9d..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_ip_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md deleted file mode 100644 index de86fd53d7..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_relationship_column( - database_id: '', - table_id: '', - key: '', - on_delete: RelationMutate::CASCADE, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md deleted file mode 100644 index 500927dcf0..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -require 'appwrite' - -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 - -tables = Tables.new(client) - -result = tables.update_row( - database_id: '', - table_id: '', - row_id: '', - data: {}, # optional - permissions: ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md deleted file mode 100644 index 8cee1810be..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_rows( - database_id: '', - table_id: '', - data: {}, # optional - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md deleted file mode 100644 index 2240f49555..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_string_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - size: 1, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md deleted file mode 100644 index 0947a78a9e..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_url_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'https://example.com', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update.md b/docs/examples/1.8.x/server-ruby/examples/tables/update.md deleted file mode 100644 index 003d3d041c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update( - database_id: '', - table_id: '', - name: '', - permissions: ["read("any")"], # optional - row_security: false, # optional - enabled: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md deleted file mode 100644 index d96172e1ec..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_session('') # The user session to authenticate with - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token - -tables = Tables.new(client) - -result = tables.upsert_row( - database_id: '', - table_id: '', - row_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md deleted file mode 100644 index 8987b1ee0e..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.upsert_rows( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md deleted file mode 100644 index 1b9627afac..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnBoolean = try await tables.createBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md deleted file mode 100644 index e002fb8042..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnDatetime = try await tables.createDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md deleted file mode 100644 index 338493dbc5..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEmail = try await tables.createEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md deleted file mode 100644 index a6a9fff2c4..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEnum = try await tables.createEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md deleted file mode 100644 index 12e4062454..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnFloat = try await tables.createFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-index.md b/docs/examples/1.8.x/server-swift/examples/tables/create-index.md deleted file mode 100644 index 03dea1ac48..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-index.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndex = try await tables.createIndex( - databaseId: "", - tableId: "", - key: "", - type: .key, - columns: [], - orders: [], // optional - lengths: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md deleted file mode 100644 index 6c04294025..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnInteger = try await tables.createIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md deleted file mode 100644 index 2cd0b2795f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIp = try await tables.createIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md deleted file mode 100644 index 66b993cf9a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnRelationship = try await tables.createRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: .oneToOne, - twoWay: false, // optional - key: "", // optional - twoWayKey: "", // optional - onDelete: .cascade // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-row.md b/docs/examples/1.8.x/server-swift/examples/tables/create-row.md deleted file mode 100644 index a736355127..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.createRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md deleted file mode 100644 index ee2095f08f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.createRows( - databaseId: "", - tableId: "", - rows: [] -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md deleted file mode 100644 index e83ffdf367..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnString = try await tables.createStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", // optional - array: false, // optional - encrypt: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md deleted file mode 100644 index 150b51309d..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnUrl = try await tables.createUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create.md b/docs/examples/1.8.x/server-swift/examples/tables/create.md deleted file mode 100644 index 0843dfd242..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.create( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md deleted file mode 100644 index ef24324780..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let row = try await tables.decrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - min: 0 // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md deleted file mode 100644 index 07f825ddbe..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.deleteColumn( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md deleted file mode 100644 index b6d2e5bfea..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.deleteIndex( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md deleted file mode 100644 index 92bc38777e..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -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 tables = Tables(client) - -let result = try await tables.deleteRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md deleted file mode 100644 index d27fbce85f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.deleteRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete.md b/docs/examples/1.8.x/server-swift/examples/tables/delete.md deleted file mode 100644 index aefa1d8cda..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.delete( - databaseId: "", - tableId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-column.md b/docs/examples/1.8.x/server-swift/examples/tables/get-column.md deleted file mode 100644 index 653f79dce7..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.getColumn( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-index.md b/docs/examples/1.8.x/server-swift/examples/tables/get-index.md deleted file mode 100644 index 6835f56aa0..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndex = try await tables.getIndex( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-row.md b/docs/examples/1.8.x/server-swift/examples/tables/get-row.md deleted file mode 100644 index e2ff10f09a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -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 tables = Tables(client) - -let row = try await tables.getRow( - databaseId: "", - tableId: "", - rowId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get.md b/docs/examples/1.8.x/server-swift/examples/tables/get.md deleted file mode 100644 index 610bf42529..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.get( - databaseId: "", - tableId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md deleted file mode 100644 index 6ea883d612..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let row = try await tables.incrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - max: 0 // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md b/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md deleted file mode 100644 index 88c86137a4..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnList = try await tables.listColumns( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md deleted file mode 100644 index 2ea8e99eca..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndexList = try await tables.listIndexes( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md deleted file mode 100644 index ca2e5b0d4b..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -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 tables = Tables(client) - -let rowList = try await tables.listRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list.md b/docs/examples/1.8.x/server-swift/examples/tables/list.md deleted file mode 100644 index e135b50289..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let tableList = try await tables.list( - databaseId: "", - queries: [], // optional - search: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md deleted file mode 100644 index e0d1ea2f9f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnBoolean = try await tables.updateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md deleted file mode 100644 index f09e27920b..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnDatetime = try await tables.updateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md deleted file mode 100644 index f7b8cc4ede..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEmail = try await tables.updateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md deleted file mode 100644 index 776da72e59..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEnum = try await tables.updateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md deleted file mode 100644 index d6cd34c4b5..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnFloat = try await tables.updateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md deleted file mode 100644 index e1265cedbf..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnInteger = try await tables.updateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md deleted file mode 100644 index 4f3538bb7a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIp = try await tables.updateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md deleted file mode 100644 index 74bfd62750..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnRelationship = try await tables.updateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: .cascade, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-row.md b/docs/examples/1.8.x/server-swift/examples/tables/update-row.md deleted file mode 100644 index 7fa81f6b58..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -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 tables = Tables(client) - -let row = try await tables.updateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], // optional - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md deleted file mode 100644 index d7cd0697da..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.updateRows( - databaseId: "", - tableId: "", - data: [:], // optional - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md deleted file mode 100644 index ba14d9a96a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnString = try await tables.updateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md deleted file mode 100644 index 19015e4c88..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnUrl = try await tables.updateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update.md b/docs/examples/1.8.x/server-swift/examples/tables/update.md deleted file mode 100644 index c9840a0a51..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.update( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md deleted file mode 100644 index c5c5b73afc..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.upsertRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md deleted file mode 100644 index 037d927dc9..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.upsertRows( - databaseId: "", - tableId: "" -) - From cd5844b8e37733048713489b6db95171f4871ec9 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 30 Jul 2025 10:39:28 +0530 Subject: [PATCH 22/23] update: regen examples, references. --- .../java/databases/create-document.md | 4 +-- .../java/databases/upsert-document.md | 6 ++-- .../java/functions/create-execution.md | 2 +- .../client-android/java/grids/create-row.md | 26 +++++++++++++++ .../client-android/java/grids/delete-row.md | 24 ++++++++++++++ .../client-android/java/grids/get-row.md | 25 ++++++++++++++ .../client-android/java/grids/list-rows.md | 24 ++++++++++++++ .../client-android/java/grids/update-row.md | 26 +++++++++++++++ .../client-android/java/grids/upsert-row.md | 26 +++++++++++++++ .../kotlin/databases/create-document.md | 4 +-- .../kotlin/databases/upsert-document.md | 6 ++-- .../kotlin/functions/create-execution.md | 2 +- .../client-android/kotlin/grids/create-row.md | 17 ++++++++++ .../client-android/kotlin/grids/delete-row.md | 15 +++++++++ .../client-android/kotlin/grids/get-row.md | 16 +++++++++ .../client-android/kotlin/grids/list-rows.md | 15 +++++++++ .../client-android/kotlin/grids/update-row.md | 17 ++++++++++ .../client-android/kotlin/grids/upsert-row.md | 17 ++++++++++ .../examples/databases/create-document.md | 4 +-- .../examples/databases/upsert-document.md | 8 ++--- .../examples/functions/create-execution.md | 2 +- .../client-apple/examples/grids/create-row.md | 16 +++++++++ .../client-apple/examples/grids/delete-row.md | 14 ++++++++ .../client-apple/examples/grids/get-row.md | 15 +++++++++ .../client-apple/examples/grids/list-rows.md | 14 ++++++++ .../client-apple/examples/grids/update-row.md | 16 +++++++++ .../client-apple/examples/grids/upsert-row.md | 16 +++++++++ .../examples/databases/create-document.md | 4 +-- .../examples/databases/upsert-document.md | 6 ++-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-row.md | 15 +++++++++ .../examples/grids/delete-row.md | 13 ++++++++ .../client-flutter/examples/grids/get-row.md | 14 ++++++++ .../examples/grids/list-rows.md | 13 ++++++++ .../examples/grids/update-row.md | 15 +++++++++ .../examples/grids/upsert-row.md | 15 +++++++++ .../examples/databases/upsert-document.md | 4 ++- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-row.md | 18 ++++++++++ .../examples/grids/delete-row.md | 9 +++++ .../client-graphql/examples/grids/get-row.md | 0 .../examples/grids/list-rows.md | 0 .../examples/grids/update-row.md | 18 ++++++++++ .../examples/grids/upsert-row.md | 18 ++++++++++ .../examples/storage/create-file.md | 2 +- .../examples/databases/create-document.md | 4 +-- .../examples/databases/upsert-document.md | 8 ++--- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-row.md | 17 ++++++++++ .../examples/grids/delete-row.md | 15 +++++++++ .../examples/grids/get-row.md | 16 +++++++++ .../examples/grids/list-rows.md | 15 +++++++++ .../examples/grids/update-row.md | 17 ++++++++++ .../examples/grids/upsert-row.md | 17 ++++++++++ .../account/create-anonymous-session.md | 2 +- .../account/create-email-password-session.md | 2 +- .../examples/account/create-email-token.md | 2 +- .../examples/account/create-j-w-t.md | 2 +- .../account/create-magic-u-r-l-token.md | 2 +- .../account/create-mfa-authenticator.md | 2 +- .../examples/account/create-mfa-challenge.md | 2 +- .../account/create-mfa-recovery-codes.md | 2 +- .../examples/account/create-o-auth2session.md | 2 +- .../examples/account/create-o-auth2token.md | 2 +- .../examples/account/create-phone-token.md | 2 +- .../account/create-phone-verification.md | 2 +- .../examples/account/create-push-target.md | 2 +- .../examples/account/create-recovery.md | 2 +- .../examples/account/create-session.md | 2 +- .../examples/account/create-verification.md | 2 +- .../client-rest/examples/account/create.md | 2 +- .../examples/account/delete-identity.md | 2 +- .../account/delete-mfa-authenticator.md | 2 +- .../examples/account/delete-push-target.md | 2 +- .../examples/account/delete-session.md | 2 +- .../examples/account/delete-sessions.md | 2 +- .../account/get-mfa-recovery-codes.md | 2 +- .../client-rest/examples/account/get-prefs.md | 2 +- .../examples/account/get-session.md | 2 +- .../1.8.x/client-rest/examples/account/get.md | 2 +- .../examples/account/list-identities.md | 2 +- .../client-rest/examples/account/list-logs.md | 2 +- .../examples/account/list-mfa-factors.md | 2 +- .../examples/account/list-sessions.md | 2 +- .../examples/account/update-email.md | 2 +- .../examples/account/update-m-f-a.md | 2 +- .../account/update-magic-u-r-l-session.md | 2 +- .../account/update-mfa-authenticator.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- .../account/update-mfa-recovery-codes.md | 2 +- .../examples/account/update-name.md | 2 +- .../examples/account/update-password.md | 2 +- .../examples/account/update-phone-session.md | 2 +- .../account/update-phone-verification.md | 2 +- .../examples/account/update-phone.md | 2 +- .../examples/account/update-prefs.md | 2 +- .../examples/account/update-push-target.md | 2 +- .../examples/account/update-recovery.md | 2 +- .../examples/account/update-session.md | 2 +- .../examples/account/update-status.md | 2 +- .../examples/account/update-verification.md | 2 +- .../examples/avatars/get-browser.md | 2 +- .../examples/avatars/get-credit-card.md | 2 +- .../examples/avatars/get-favicon.md | 2 +- .../client-rest/examples/avatars/get-flag.md | 2 +- .../client-rest/examples/avatars/get-image.md | 2 +- .../examples/avatars/get-initials.md | 2 +- .../client-rest/examples/avatars/get-q-r.md | 2 +- .../examples/databases/create-document.md | 2 +- .../examples/databases/delete-document.md | 2 +- .../examples/databases/get-document.md | 2 +- .../examples/databases/list-documents.md | 2 +- .../examples/databases/update-document.md | 2 +- .../examples/databases/upsert-document.md | 6 +++- .../examples/functions/create-execution.md | 4 +-- .../examples/functions/get-execution.md | 2 +- .../examples/functions/list-executions.md | 2 +- .../client-rest/examples/graphql/mutation.md | 2 +- .../client-rest/examples/graphql/query.md | 2 +- .../client-rest/examples/grids/create-row.md | 13 ++++++++ .../client-rest/examples/grids/delete-row.md | 8 +++++ .../client-rest/examples/grids/get-row.md | 6 ++++ .../client-rest/examples/grids/list-rows.md | 6 ++++ .../client-rest/examples/grids/update-row.md | 12 +++++++ .../client-rest/examples/grids/upsert-row.md | 12 +++++++ .../1.8.x/client-rest/examples/locale/get.md | 2 +- .../client-rest/examples/locale/list-codes.md | 2 +- .../examples/locale/list-continents.md | 2 +- .../examples/locale/list-countries-e-u.md | 2 +- .../examples/locale/list-countries-phones.md | 2 +- .../examples/locale/list-countries.md | 2 +- .../examples/locale/list-currencies.md | 2 +- .../examples/locale/list-languages.md | 2 +- .../examples/messaging/create-subscriber.md | 2 +- .../examples/messaging/delete-subscriber.md | 2 +- .../examples/storage/create-file.md | 2 +- .../examples/storage/delete-file.md | 2 +- .../examples/storage/get-file-download.md | 2 +- .../examples/storage/get-file-preview.md | 2 +- .../examples/storage/get-file-view.md | 2 +- .../client-rest/examples/storage/get-file.md | 2 +- .../examples/storage/list-files.md | 2 +- .../examples/storage/update-file.md | 2 +- .../examples/teams/create-membership.md | 2 +- .../client-rest/examples/teams/create.md | 2 +- .../examples/teams/delete-membership.md | 2 +- .../client-rest/examples/teams/delete.md | 2 +- .../examples/teams/get-membership.md | 2 +- .../client-rest/examples/teams/get-prefs.md | 2 +- .../1.8.x/client-rest/examples/teams/get.md | 2 +- .../examples/teams/list-memberships.md | 2 +- .../1.8.x/client-rest/examples/teams/list.md | 2 +- .../teams/update-membership-status.md | 2 +- .../examples/teams/update-membership.md | 2 +- .../client-rest/examples/teams/update-name.md | 2 +- .../examples/teams/update-prefs.md | 2 +- .../examples/databases/create-document.md | 4 +-- .../examples/databases/upsert-document.md | 8 ++--- .../examples/functions/create-execution.md | 2 +- .../client-web/examples/grids/create-row.md | 17 ++++++++++ .../client-web/examples/grids/delete-row.md | 15 +++++++++ .../client-web/examples/grids/get-row.md | 16 +++++++++ .../client-web/examples/grids/list-rows.md | 15 +++++++++ .../client-web/examples/grids/update-row.md | 17 ++++++++++ .../client-web/examples/grids/upsert-row.md | 17 ++++++++++ .../examples/databases/upsert-document.md | 4 ++- .../examples/databases/upsert-documents.md | 3 +- .../examples/grids/create-boolean-column.md | 7 ++++ .../examples/grids/create-database.md | 4 +++ .../examples/grids/create-datetime-column.md | 7 ++++ .../examples/grids/create-email-column.md | 7 ++++ .../examples/grids/create-enum-column.md | 8 +++++ .../examples/grids/create-float-column.md | 9 +++++ .../examples/grids/create-index.md | 8 +++++ .../examples/grids/create-integer-column.md | 9 +++++ .../examples/grids/create-ip-column.md | 7 ++++ .../grids/create-relationship-column.md | 9 +++++ .../console-cli/examples/grids/create-row.md | 6 ++++ .../console-cli/examples/grids/create-rows.md | 4 +++ .../examples/grids/create-string-column.md | 9 +++++ .../examples/grids/create-table.md | 7 ++++ .../examples/grids/create-url-column.md | 7 ++++ .../examples/grids/decrement-row-column.md | 7 ++++ .../examples/grids/delete-column.md | 4 +++ .../examples/grids/delete-database.md | 2 ++ .../examples/grids/delete-index.md | 4 +++ .../console-cli/examples/grids/delete-row.md | 4 +++ .../console-cli/examples/grids/delete-rows.md | 4 +++ .../examples/grids/delete-table.md | 3 ++ .../console-cli/examples/grids/get-column.md | 4 +++ .../examples/grids/get-database-usage.md | 3 ++ .../examples/grids/get-database.md | 2 ++ .../console-cli/examples/grids/get-index.md | 4 +++ .../console-cli/examples/grids/get-row.md | 5 +++ .../examples/grids/get-table-usage.md | 4 +++ .../console-cli/examples/grids/get-table.md | 3 ++ .../examples/grids/increment-row-column.md | 7 ++++ .../examples/grids/list-columns.md | 4 +++ .../examples/grids/list-database-logs.md | 3 ++ .../examples/grids/list-database-usage.md | 2 ++ .../examples/grids/list-databases.md | 3 ++ .../examples/grids/list-indexes.md | 4 +++ .../examples/grids/list-row-logs.md | 5 +++ .../console-cli/examples/grids/list-rows.md | 4 +++ .../examples/grids/list-table-logs.md | 4 +++ .../console-cli/examples/grids/list-tables.md | 4 +++ .../examples/grids/update-boolean-column.md | 7 ++++ .../examples/grids/update-database.md | 4 +++ .../examples/grids/update-datetime-column.md | 7 ++++ .../examples/grids/update-email-column.md | 7 ++++ .../examples/grids/update-enum-column.md | 8 +++++ .../examples/grids/update-float-column.md | 9 +++++ .../examples/grids/update-integer-column.md | 9 +++++ .../examples/grids/update-ip-column.md | 7 ++++ .../grids/update-relationship-column.md | 6 ++++ .../console-cli/examples/grids/update-row.md | 6 ++++ .../console-cli/examples/grids/update-rows.md | 5 +++ .../examples/grids/update-string-column.md | 8 +++++ .../examples/grids/update-table.md | 7 ++++ .../examples/grids/update-url-column.md | 7 ++++ .../console-cli/examples/grids/upsert-row.md | 6 ++++ .../console-cli/examples/grids/upsert-rows.md | 4 +++ .../examples/databases/create-document.md | 4 +-- .../examples/databases/create-documents.md | 3 +- .../examples/databases/upsert-document.md | 8 ++--- .../examples/databases/upsert-documents.md | 6 ++-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 18 ++++++++++ .../examples/grids/create-database.md | 15 +++++++++ .../examples/grids/create-datetime-column.md | 18 ++++++++++ .../examples/grids/create-email-column.md | 18 ++++++++++ .../examples/grids/create-enum-column.md | 19 +++++++++++ .../examples/grids/create-float-column.md | 20 +++++++++++ .../examples/grids/create-index.md | 19 +++++++++++ .../examples/grids/create-integer-column.md | 20 +++++++++++ .../examples/grids/create-ip-column.md | 18 ++++++++++ .../grids/create-relationship-column.md | 20 +++++++++++ .../console-web/examples/grids/create-row.md | 17 ++++++++++ .../console-web/examples/grids/create-rows.md | 15 +++++++++ .../examples/grids/create-string-column.md | 20 +++++++++++ .../examples/grids/create-table.md | 18 ++++++++++ .../examples/grids/create-url-column.md | 18 ++++++++++ .../examples/grids/decrement-row-column.md | 18 ++++++++++ .../examples/grids/delete-column.md | 15 +++++++++ .../examples/grids/delete-database.md | 13 ++++++++ .../examples/grids/delete-index.md | 15 +++++++++ .../console-web/examples/grids/delete-row.md | 15 +++++++++ .../console-web/examples/grids/delete-rows.md | 15 +++++++++ .../examples/grids/delete-table.md | 14 ++++++++ .../console-web/examples/grids/get-column.md | 15 +++++++++ .../examples/grids/get-database-usage.md | 14 ++++++++ .../examples/grids/get-database.md | 13 ++++++++ .../console-web/examples/grids/get-index.md | 15 +++++++++ .../console-web/examples/grids/get-row.md | 16 +++++++++ .../examples/grids/get-table-usage.md | 15 +++++++++ .../console-web/examples/grids/get-table.md | 14 ++++++++ .../examples/grids/increment-row-column.md | 18 ++++++++++ .../examples/grids/list-columns.md | 15 +++++++++ .../examples/grids/list-database-logs.md | 14 ++++++++ .../examples/grids/list-database-usage.md | 13 ++++++++ .../examples/grids/list-databases.md | 14 ++++++++ .../examples/grids/list-indexes.md | 15 +++++++++ .../examples/grids/list-row-logs.md | 16 +++++++++ .../console-web/examples/grids/list-rows.md | 15 +++++++++ .../examples/grids/list-table-logs.md | 15 +++++++++ .../console-web/examples/grids/list-tables.md | 15 +++++++++ .../examples/grids/update-boolean-column.md | 18 ++++++++++ .../examples/grids/update-database.md | 15 +++++++++ .../examples/grids/update-datetime-column.md | 18 ++++++++++ .../examples/grids/update-email-column.md | 18 ++++++++++ .../examples/grids/update-enum-column.md | 19 +++++++++++ .../examples/grids/update-float-column.md | 20 +++++++++++ .../examples/grids/update-integer-column.md | 20 +++++++++++ .../examples/grids/update-ip-column.md | 18 ++++++++++ .../grids/update-relationship-column.md | 17 ++++++++++ .../console-web/examples/grids/update-row.md | 17 ++++++++++ .../console-web/examples/grids/update-rows.md | 16 +++++++++ .../examples/grids/update-string-column.md | 19 +++++++++++ .../examples/grids/update-table.md | 18 ++++++++++ .../examples/grids/update-url-column.md | 18 ++++++++++ .../console-web/examples/grids/upsert-row.md | 17 ++++++++++ .../console-web/examples/grids/upsert-rows.md | 15 +++++++++ .../examples/databases/create-document.md | 5 ++- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 7 ++-- .../examples/databases/upsert-documents.md | 3 +- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 17 ++++++++++ .../examples/grids/create-database.md | 14 ++++++++ .../examples/grids/create-datetime-column.md | 17 ++++++++++ .../examples/grids/create-email-column.md | 17 ++++++++++ .../examples/grids/create-enum-column.md | 18 ++++++++++ .../examples/grids/create-float-column.md | 19 +++++++++++ .../examples/grids/create-index.md | 18 ++++++++++ .../examples/grids/create-integer-column.md | 19 +++++++++++ .../examples/grids/create-ip-column.md | 17 ++++++++++ .../grids/create-relationship-column.md | 19 +++++++++++ .../server-dart/examples/grids/create-row.md | 16 +++++++++ .../server-dart/examples/grids/create-rows.md | 14 ++++++++ .../examples/grids/create-string-column.md | 19 +++++++++++ .../examples/grids/create-table.md | 17 ++++++++++ .../examples/grids/create-url-column.md | 17 ++++++++++ .../examples/grids/decrement-row-column.md | 17 ++++++++++ .../examples/grids/delete-column.md | 14 ++++++++ .../examples/grids/delete-database.md | 12 +++++++ .../examples/grids/delete-index.md | 14 ++++++++ .../server-dart/examples/grids/delete-row.md | 14 ++++++++ .../server-dart/examples/grids/delete-rows.md | 14 ++++++++ .../examples/grids/delete-table.md | 13 ++++++++ .../server-dart/examples/grids/get-column.md | 14 ++++++++ .../examples/grids/get-database.md | 12 +++++++ .../server-dart/examples/grids/get-index.md | 14 ++++++++ .../server-dart/examples/grids/get-row.md | 15 +++++++++ .../server-dart/examples/grids/get-table.md | 13 ++++++++ .../examples/grids/increment-row-column.md | 17 ++++++++++ .../examples/grids/list-columns.md | 14 ++++++++ .../examples/grids/list-databases.md | 13 ++++++++ .../examples/grids/list-indexes.md | 14 ++++++++ .../server-dart/examples/grids/list-rows.md | 14 ++++++++ .../server-dart/examples/grids/list-tables.md | 14 ++++++++ .../examples/grids/update-boolean-column.md | 17 ++++++++++ .../examples/grids/update-database.md | 14 ++++++++ .../examples/grids/update-datetime-column.md | 17 ++++++++++ .../examples/grids/update-email-column.md | 17 ++++++++++ .../examples/grids/update-enum-column.md | 18 ++++++++++ .../examples/grids/update-float-column.md | 19 +++++++++++ .../examples/grids/update-integer-column.md | 19 +++++++++++ .../examples/grids/update-ip-column.md | 17 ++++++++++ .../grids/update-relationship-column.md | 16 +++++++++ .../server-dart/examples/grids/update-row.md | 16 +++++++++ .../server-dart/examples/grids/update-rows.md | 15 +++++++++ .../examples/grids/update-string-column.md | 18 ++++++++++ .../examples/grids/update-table.md | 17 ++++++++++ .../examples/grids/update-url-column.md | 17 ++++++++++ .../server-dart/examples/grids/upsert-row.md | 16 +++++++++ .../server-dart/examples/grids/upsert-rows.md | 14 ++++++++ .../examples/databases/create-document.md | 5 ++- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 9 ++--- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 17 ++++++++++ .../examples/grids/create-database.md | 14 ++++++++ .../examples/grids/create-datetime-column.md | 17 ++++++++++ .../examples/grids/create-email-column.md | 17 ++++++++++ .../examples/grids/create-enum-column.md | 18 ++++++++++ .../examples/grids/create-float-column.md | 19 +++++++++++ .../examples/grids/create-index.md | 18 ++++++++++ .../examples/grids/create-integer-column.md | 19 +++++++++++ .../examples/grids/create-ip-column.md | 17 ++++++++++ .../grids/create-relationship-column.md | 19 +++++++++++ .../server-deno/examples/grids/create-row.md | 16 +++++++++ .../server-deno/examples/grids/create-rows.md | 14 ++++++++ .../examples/grids/create-string-column.md | 19 +++++++++++ .../examples/grids/create-table.md | 17 ++++++++++ .../examples/grids/create-url-column.md | 17 ++++++++++ .../examples/grids/decrement-row-column.md | 17 ++++++++++ .../examples/grids/delete-column.md | 14 ++++++++ .../examples/grids/delete-database.md | 12 +++++++ .../examples/grids/delete-index.md | 14 ++++++++ .../server-deno/examples/grids/delete-row.md | 14 ++++++++ .../server-deno/examples/grids/delete-rows.md | 14 ++++++++ .../examples/grids/delete-table.md | 13 ++++++++ .../server-deno/examples/grids/get-column.md | 14 ++++++++ .../examples/grids/get-database.md | 12 +++++++ .../server-deno/examples/grids/get-index.md | 14 ++++++++ .../server-deno/examples/grids/get-row.md | 15 +++++++++ .../server-deno/examples/grids/get-table.md | 13 ++++++++ .../examples/grids/increment-row-column.md | 17 ++++++++++ .../examples/grids/list-columns.md | 14 ++++++++ .../examples/grids/list-databases.md | 13 ++++++++ .../examples/grids/list-indexes.md | 14 ++++++++ .../server-deno/examples/grids/list-rows.md | 14 ++++++++ .../server-deno/examples/grids/list-tables.md | 14 ++++++++ .../examples/grids/update-boolean-column.md | 17 ++++++++++ .../examples/grids/update-database.md | 14 ++++++++ .../examples/grids/update-datetime-column.md | 17 ++++++++++ .../examples/grids/update-email-column.md | 17 ++++++++++ .../examples/grids/update-enum-column.md | 18 ++++++++++ .../examples/grids/update-float-column.md | 19 +++++++++++ .../examples/grids/update-integer-column.md | 19 +++++++++++ .../examples/grids/update-ip-column.md | 17 ++++++++++ .../grids/update-relationship-column.md | 16 +++++++++ .../server-deno/examples/grids/update-row.md | 16 +++++++++ .../server-deno/examples/grids/update-rows.md | 15 +++++++++ .../examples/grids/update-string-column.md | 18 ++++++++++ .../examples/grids/update-table.md | 17 ++++++++++ .../examples/grids/update-url-column.md | 17 ++++++++++ .../server-deno/examples/grids/upsert-row.md | 16 +++++++++ .../server-deno/examples/grids/upsert-rows.md | 14 ++++++++ .../examples/databases/create-document.md | 5 ++- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 9 ++--- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 19 +++++++++++ .../examples/grids/create-database.md | 16 +++++++++ .../examples/grids/create-datetime-column.md | 19 +++++++++++ .../examples/grids/create-email-column.md | 19 +++++++++++ .../examples/grids/create-enum-column.md | 20 +++++++++++ .../examples/grids/create-float-column.md | 21 ++++++++++++ .../examples/grids/create-index.md | 21 ++++++++++++ .../examples/grids/create-integer-column.md | 21 ++++++++++++ .../examples/grids/create-ip-column.md | 19 +++++++++++ .../grids/create-relationship-column.md | 22 +++++++++++++ .../examples/grids/create-row.md | 18 ++++++++++ .../examples/grids/create-rows.md | 16 +++++++++ .../examples/grids/create-string-column.md | 21 ++++++++++++ .../examples/grids/create-table.md | 19 +++++++++++ .../examples/grids/create-url-column.md | 19 +++++++++++ .../examples/grids/decrement-row-column.md | 19 +++++++++++ .../examples/grids/delete-column.md | 16 +++++++++ .../examples/grids/delete-database.md | 14 ++++++++ .../examples/grids/delete-index.md | 16 +++++++++ .../examples/grids/delete-row.md | 16 +++++++++ .../examples/grids/delete-rows.md | 16 +++++++++ .../examples/grids/delete-table.md | 15 +++++++++ .../examples/grids/get-column.md | 16 +++++++++ .../examples/grids/get-database.md | 14 ++++++++ .../server-dotnet/examples/grids/get-index.md | 16 +++++++++ .../server-dotnet/examples/grids/get-row.md | 17 ++++++++++ .../server-dotnet/examples/grids/get-table.md | 15 +++++++++ .../examples/grids/increment-row-column.md | 19 +++++++++++ .../examples/grids/list-columns.md | 16 +++++++++ .../examples/grids/list-databases.md | 15 +++++++++ .../examples/grids/list-indexes.md | 16 +++++++++ .../server-dotnet/examples/grids/list-rows.md | 16 +++++++++ .../examples/grids/list-tables.md | 16 +++++++++ .../examples/grids/update-boolean-column.md | 19 +++++++++++ .../examples/grids/update-database.md | 16 +++++++++ .../examples/grids/update-datetime-column.md | 19 +++++++++++ .../examples/grids/update-email-column.md | 19 +++++++++++ .../examples/grids/update-enum-column.md | 20 +++++++++++ .../examples/grids/update-float-column.md | 21 ++++++++++++ .../examples/grids/update-integer-column.md | 21 ++++++++++++ .../examples/grids/update-ip-column.md | 19 +++++++++++ .../grids/update-relationship-column.md | 19 +++++++++++ .../examples/grids/update-row.md | 18 ++++++++++ .../examples/grids/update-rows.md | 17 ++++++++++ .../examples/grids/update-string-column.md | 20 +++++++++++ .../examples/grids/update-table.md | 19 +++++++++++ .../examples/grids/update-url-column.md | 19 +++++++++++ .../examples/grids/upsert-row.md | 18 ++++++++++ .../examples/grids/upsert-rows.md | 16 +++++++++ .../examples/databases/create-document.md | 3 +- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 5 +-- .../examples/databases/upsert-documents.md | 3 +- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 31 +++++++++++++++++ .../examples/grids/create-database.md | 28 ++++++++++++++++ .../examples/grids/create-datetime-column.md | 31 +++++++++++++++++ .../examples/grids/create-email-column.md | 31 +++++++++++++++++ .../examples/grids/create-enum-column.md | 32 ++++++++++++++++++ .../examples/grids/create-float-column.md | 33 +++++++++++++++++++ .../server-go/examples/grids/create-index.md | 32 ++++++++++++++++++ .../examples/grids/create-integer-column.md | 33 +++++++++++++++++++ .../examples/grids/create-ip-column.md | 31 +++++++++++++++++ .../grids/create-relationship-column.md | 33 +++++++++++++++++++ .../server-go/examples/grids/create-row.md | 30 +++++++++++++++++ .../server-go/examples/grids/create-rows.md | 28 ++++++++++++++++ .../examples/grids/create-string-column.md | 33 +++++++++++++++++++ .../server-go/examples/grids/create-table.md | 31 +++++++++++++++++ .../examples/grids/create-url-column.md | 31 +++++++++++++++++ .../examples/grids/decrement-row-column.md | 31 +++++++++++++++++ .../server-go/examples/grids/delete-column.md | 28 ++++++++++++++++ .../examples/grids/delete-database.md | 26 +++++++++++++++ .../server-go/examples/grids/delete-index.md | 28 ++++++++++++++++ .../server-go/examples/grids/delete-row.md | 28 ++++++++++++++++ .../server-go/examples/grids/delete-rows.md | 28 ++++++++++++++++ .../server-go/examples/grids/delete-table.md | 27 +++++++++++++++ .../server-go/examples/grids/get-column.md | 28 ++++++++++++++++ .../server-go/examples/grids/get-database.md | 26 +++++++++++++++ .../server-go/examples/grids/get-index.md | 28 ++++++++++++++++ .../1.8.x/server-go/examples/grids/get-row.md | 29 ++++++++++++++++ .../server-go/examples/grids/get-table.md | 27 +++++++++++++++ .../examples/grids/increment-row-column.md | 31 +++++++++++++++++ .../server-go/examples/grids/list-columns.md | 28 ++++++++++++++++ .../examples/grids/list-databases.md | 27 +++++++++++++++ .../server-go/examples/grids/list-indexes.md | 28 ++++++++++++++++ .../server-go/examples/grids/list-rows.md | 28 ++++++++++++++++ .../server-go/examples/grids/list-tables.md | 28 ++++++++++++++++ .../examples/grids/update-boolean-column.md | 31 +++++++++++++++++ .../examples/grids/update-database.md | 28 ++++++++++++++++ .../examples/grids/update-datetime-column.md | 31 +++++++++++++++++ .../examples/grids/update-email-column.md | 31 +++++++++++++++++ .../examples/grids/update-enum-column.md | 32 ++++++++++++++++++ .../examples/grids/update-float-column.md | 33 +++++++++++++++++++ .../examples/grids/update-integer-column.md | 33 +++++++++++++++++++ .../examples/grids/update-ip-column.md | 31 +++++++++++++++++ .../grids/update-relationship-column.md | 30 +++++++++++++++++ .../server-go/examples/grids/update-row.md | 30 +++++++++++++++++ .../server-go/examples/grids/update-rows.md | 29 ++++++++++++++++ .../examples/grids/update-string-column.md | 32 ++++++++++++++++++ .../server-go/examples/grids/update-table.md | 31 +++++++++++++++++ .../examples/grids/update-url-column.md | 31 +++++++++++++++++ .../server-go/examples/grids/upsert-row.md | 30 +++++++++++++++++ .../server-go/examples/grids/upsert-rows.md | 28 ++++++++++++++++ .../examples/databases/create-collection.md | 5 +-- .../examples/databases/create-index.md | 5 +-- .../examples/databases/update-collection.md | 5 +-- .../examples/databases/upsert-document.md | 4 ++- .../examples/databases/upsert-documents.md | 3 +- .../examples/functions/create-deployment.md | 2 +- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 20 +++++++++++ .../examples/grids/create-database.md | 13 ++++++++ .../examples/grids/create-datetime-column.md | 21 ++++++++++++ .../examples/grids/create-email-column.md | 21 ++++++++++++ .../examples/grids/create-enum-column.md | 23 +++++++++++++ .../examples/grids/create-float-column.md | 24 ++++++++++++++ .../examples/grids/create-index.md | 22 +++++++++++++ .../examples/grids/create-integer-column.md | 24 ++++++++++++++ .../examples/grids/create-ip-column.md | 21 ++++++++++++ .../grids/create-relationship-column.md | 27 +++++++++++++++ .../examples/grids/create-row.md | 18 ++++++++++ .../examples/grids/create-rows.md | 19 +++++++++++ .../examples/grids/create-string-column.md | 24 ++++++++++++++ .../examples/grids/create-table.md | 32 ++++++++++++++++++ .../examples/grids/create-url-column.md | 21 ++++++++++++ .../examples/grids/decrement-row-column.md | 19 +++++++++++ .../examples/grids/delete-column.md | 9 +++++ .../examples/grids/delete-database.md | 7 ++++ .../examples/grids/delete-index.md | 9 +++++ .../examples/grids/delete-row.md | 9 +++++ .../examples/grids/delete-rows.md | 19 +++++++++++ .../examples/grids/delete-table.md | 8 +++++ .../examples/grids/get-column.md | 0 .../examples/grids/get-database.md | 0 .../examples/grids/get-index.md | 0 .../server-graphql/examples/grids/get-row.md | 0 .../examples/grids/get-table.md | 0 .../examples/grids/increment-row-column.md | 19 +++++++++++ .../examples/grids/list-columns.md | 0 .../examples/grids/list-databases.md | 0 .../examples/grids/list-indexes.md | 0 .../examples/grids/list-rows.md | 0 .../examples/grids/list-tables.md | 0 .../examples/grids/update-boolean-column.md | 20 +++++++++++ .../examples/grids/update-database.md | 13 ++++++++ .../examples/grids/update-datetime-column.md | 21 ++++++++++++ .../examples/grids/update-email-column.md | 21 ++++++++++++ .../examples/grids/update-enum-column.md | 23 +++++++++++++ .../examples/grids/update-float-column.md | 24 ++++++++++++++ .../examples/grids/update-integer-column.md | 24 ++++++++++++++ .../examples/grids/update-ip-column.md | 21 ++++++++++++ .../grids/update-relationship-column.md | 24 ++++++++++++++ .../examples/grids/update-row.md | 18 ++++++++++ .../examples/grids/update-rows.md | 20 +++++++++++ .../examples/grids/update-string-column.md | 23 +++++++++++++ .../examples/grids/update-table.md | 32 ++++++++++++++++++ .../examples/grids/update-url-column.md | 21 ++++++++++++ .../examples/grids/upsert-row.md | 18 ++++++++++ .../examples/grids/upsert-rows.md | 19 +++++++++++ .../examples/sites/create-deployment.md | 2 +- .../examples/storage/create-file.md | 2 +- .../java/databases/create-document.md | 5 ++- .../java/databases/create-documents.md | 2 +- .../java/databases/upsert-document.md | 7 ++-- .../java/databases/upsert-documents.md | 3 +- .../java/functions/create-execution.md | 2 +- .../java/grids/create-boolean-column.md | 28 ++++++++++++++++ .../java/grids/create-database.md | 25 ++++++++++++++ .../java/grids/create-datetime-column.md | 28 ++++++++++++++++ .../java/grids/create-email-column.md | 28 ++++++++++++++++ .../java/grids/create-enum-column.md | 29 ++++++++++++++++ .../java/grids/create-float-column.md | 30 +++++++++++++++++ .../server-kotlin/java/grids/create-index.md | 30 +++++++++++++++++ .../java/grids/create-integer-column.md | 30 +++++++++++++++++ .../java/grids/create-ip-column.md | 28 ++++++++++++++++ .../java/grids/create-relationship-column.md | 31 +++++++++++++++++ .../server-kotlin/java/grids/create-row.md | 27 +++++++++++++++ .../server-kotlin/java/grids/create-rows.md | 25 ++++++++++++++ .../java/grids/create-string-column.md | 30 +++++++++++++++++ .../server-kotlin/java/grids/create-table.md | 28 ++++++++++++++++ .../java/grids/create-url-column.md | 28 ++++++++++++++++ .../java/grids/decrement-row-column.md | 28 ++++++++++++++++ .../server-kotlin/java/grids/delete-column.md | 25 ++++++++++++++ .../java/grids/delete-database.md | 23 +++++++++++++ .../server-kotlin/java/grids/delete-index.md | 25 ++++++++++++++ .../server-kotlin/java/grids/delete-row.md | 25 ++++++++++++++ .../server-kotlin/java/grids/delete-rows.md | 25 ++++++++++++++ .../server-kotlin/java/grids/delete-table.md | 24 ++++++++++++++ .../server-kotlin/java/grids/get-column.md | 25 ++++++++++++++ .../server-kotlin/java/grids/get-database.md | 23 +++++++++++++ .../server-kotlin/java/grids/get-index.md | 25 ++++++++++++++ .../1.8.x/server-kotlin/java/grids/get-row.md | 26 +++++++++++++++ .../server-kotlin/java/grids/get-table.md | 24 ++++++++++++++ .../java/grids/increment-row-column.md | 28 ++++++++++++++++ .../server-kotlin/java/grids/list-columns.md | 25 ++++++++++++++ .../java/grids/list-databases.md | 24 ++++++++++++++ .../server-kotlin/java/grids/list-indexes.md | 25 ++++++++++++++ .../server-kotlin/java/grids/list-rows.md | 25 ++++++++++++++ .../server-kotlin/java/grids/list-tables.md | 25 ++++++++++++++ .../java/grids/update-boolean-column.md | 28 ++++++++++++++++ .../java/grids/update-database.md | 25 ++++++++++++++ .../java/grids/update-datetime-column.md | 28 ++++++++++++++++ .../java/grids/update-email-column.md | 28 ++++++++++++++++ .../java/grids/update-enum-column.md | 29 ++++++++++++++++ .../java/grids/update-float-column.md | 30 +++++++++++++++++ .../java/grids/update-integer-column.md | 30 +++++++++++++++++ .../java/grids/update-ip-column.md | 28 ++++++++++++++++ .../java/grids/update-relationship-column.md | 27 +++++++++++++++ .../server-kotlin/java/grids/update-row.md | 27 +++++++++++++++ .../server-kotlin/java/grids/update-rows.md | 26 +++++++++++++++ .../java/grids/update-string-column.md | 29 ++++++++++++++++ .../server-kotlin/java/grids/update-table.md | 28 ++++++++++++++++ .../java/grids/update-url-column.md | 28 ++++++++++++++++ .../server-kotlin/java/grids/upsert-row.md | 27 +++++++++++++++ .../server-kotlin/java/grids/upsert-rows.md | 25 ++++++++++++++ .../kotlin/databases/create-document.md | 3 +- .../kotlin/databases/create-documents.md | 2 +- .../kotlin/databases/upsert-document.md | 7 ++-- .../kotlin/databases/upsert-documents.md | 5 +-- .../kotlin/functions/create-execution.md | 2 +- .../kotlin/grids/create-boolean-column.md | 19 +++++++++++ .../kotlin/grids/create-database.md | 16 +++++++++ .../kotlin/grids/create-datetime-column.md | 19 +++++++++++ .../kotlin/grids/create-email-column.md | 19 +++++++++++ .../kotlin/grids/create-enum-column.md | 20 +++++++++++ .../kotlin/grids/create-float-column.md | 21 ++++++++++++ .../kotlin/grids/create-index.md | 21 ++++++++++++ .../kotlin/grids/create-integer-column.md | 21 ++++++++++++ .../kotlin/grids/create-ip-column.md | 19 +++++++++++ .../grids/create-relationship-column.md | 22 +++++++++++++ .../server-kotlin/kotlin/grids/create-row.md | 18 ++++++++++ .../server-kotlin/kotlin/grids/create-rows.md | 16 +++++++++ .../kotlin/grids/create-string-column.md | 21 ++++++++++++ .../kotlin/grids/create-table.md | 19 +++++++++++ .../kotlin/grids/create-url-column.md | 19 +++++++++++ .../kotlin/grids/decrement-row-column.md | 19 +++++++++++ .../kotlin/grids/delete-column.md | 16 +++++++++ .../kotlin/grids/delete-database.md | 14 ++++++++ .../kotlin/grids/delete-index.md | 16 +++++++++ .../server-kotlin/kotlin/grids/delete-row.md | 16 +++++++++ .../server-kotlin/kotlin/grids/delete-rows.md | 16 +++++++++ .../kotlin/grids/delete-table.md | 15 +++++++++ .../server-kotlin/kotlin/grids/get-column.md | 16 +++++++++ .../kotlin/grids/get-database.md | 14 ++++++++ .../server-kotlin/kotlin/grids/get-index.md | 16 +++++++++ .../server-kotlin/kotlin/grids/get-row.md | 17 ++++++++++ .../server-kotlin/kotlin/grids/get-table.md | 15 +++++++++ .../kotlin/grids/increment-row-column.md | 19 +++++++++++ .../kotlin/grids/list-columns.md | 16 +++++++++ .../kotlin/grids/list-databases.md | 15 +++++++++ .../kotlin/grids/list-indexes.md | 16 +++++++++ .../server-kotlin/kotlin/grids/list-rows.md | 16 +++++++++ .../server-kotlin/kotlin/grids/list-tables.md | 16 +++++++++ .../kotlin/grids/update-boolean-column.md | 19 +++++++++++ .../kotlin/grids/update-database.md | 16 +++++++++ .../kotlin/grids/update-datetime-column.md | 19 +++++++++++ .../kotlin/grids/update-email-column.md | 19 +++++++++++ .../kotlin/grids/update-enum-column.md | 20 +++++++++++ .../kotlin/grids/update-float-column.md | 21 ++++++++++++ .../kotlin/grids/update-integer-column.md | 21 ++++++++++++ .../kotlin/grids/update-ip-column.md | 19 +++++++++++ .../grids/update-relationship-column.md | 18 ++++++++++ .../server-kotlin/kotlin/grids/update-row.md | 18 ++++++++++ .../server-kotlin/kotlin/grids/update-rows.md | 17 ++++++++++ .../kotlin/grids/update-string-column.md | 20 +++++++++++ .../kotlin/grids/update-table.md | 19 +++++++++++ .../kotlin/grids/update-url-column.md | 19 +++++++++++ .../server-kotlin/kotlin/grids/upsert-row.md | 18 ++++++++++ .../server-kotlin/kotlin/grids/upsert-rows.md | 16 +++++++++ .../examples/databases/create-document.md | 5 ++- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 9 ++--- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 17 ++++++++++ .../examples/grids/create-database.md | 14 ++++++++ .../examples/grids/create-datetime-column.md | 17 ++++++++++ .../examples/grids/create-email-column.md | 17 ++++++++++ .../examples/grids/create-enum-column.md | 18 ++++++++++ .../examples/grids/create-float-column.md | 19 +++++++++++ .../examples/grids/create-index.md | 18 ++++++++++ .../examples/grids/create-integer-column.md | 19 +++++++++++ .../examples/grids/create-ip-column.md | 17 ++++++++++ .../grids/create-relationship-column.md | 19 +++++++++++ .../examples/grids/create-row.md | 16 +++++++++ .../examples/grids/create-rows.md | 14 ++++++++ .../examples/grids/create-string-column.md | 19 +++++++++++ .../examples/grids/create-table.md | 17 ++++++++++ .../examples/grids/create-url-column.md | 17 ++++++++++ .../examples/grids/decrement-row-column.md | 17 ++++++++++ .../examples/grids/delete-column.md | 14 ++++++++ .../examples/grids/delete-database.md | 12 +++++++ .../examples/grids/delete-index.md | 14 ++++++++ .../examples/grids/delete-row.md | 14 ++++++++ .../examples/grids/delete-rows.md | 14 ++++++++ .../examples/grids/delete-table.md | 13 ++++++++ .../examples/grids/get-column.md | 14 ++++++++ .../examples/grids/get-database.md | 12 +++++++ .../server-nodejs/examples/grids/get-index.md | 14 ++++++++ .../server-nodejs/examples/grids/get-row.md | 15 +++++++++ .../server-nodejs/examples/grids/get-table.md | 13 ++++++++ .../examples/grids/increment-row-column.md | 17 ++++++++++ .../examples/grids/list-columns.md | 14 ++++++++ .../examples/grids/list-databases.md | 13 ++++++++ .../examples/grids/list-indexes.md | 14 ++++++++ .../server-nodejs/examples/grids/list-rows.md | 14 ++++++++ .../examples/grids/list-tables.md | 14 ++++++++ .../examples/grids/update-boolean-column.md | 17 ++++++++++ .../examples/grids/update-database.md | 14 ++++++++ .../examples/grids/update-datetime-column.md | 17 ++++++++++ .../examples/grids/update-email-column.md | 17 ++++++++++ .../examples/grids/update-enum-column.md | 18 ++++++++++ .../examples/grids/update-float-column.md | 19 +++++++++++ .../examples/grids/update-integer-column.md | 19 +++++++++++ .../examples/grids/update-ip-column.md | 17 ++++++++++ .../grids/update-relationship-column.md | 16 +++++++++ .../examples/grids/update-row.md | 16 +++++++++ .../examples/grids/update-rows.md | 15 +++++++++ .../examples/grids/update-string-column.md | 18 ++++++++++ .../examples/grids/update-table.md | 17 ++++++++++ .../examples/grids/update-url-column.md | 17 ++++++++++ .../examples/grids/upsert-row.md | 16 +++++++++ .../examples/grids/upsert-rows.md | 14 ++++++++ .../examples/databases/create-document.md | 5 ++- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 9 ++--- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 20 +++++++++++ .../examples/grids/create-database.md | 17 ++++++++++ .../examples/grids/create-datetime-column.md | 20 +++++++++++ .../examples/grids/create-email-column.md | 20 +++++++++++ .../examples/grids/create-enum-column.md | 21 ++++++++++++ .../examples/grids/create-float-column.md | 22 +++++++++++++ .../server-php/examples/grids/create-index.md | 22 +++++++++++++ .../examples/grids/create-integer-column.md | 22 +++++++++++++ .../examples/grids/create-ip-column.md | 20 +++++++++++ .../grids/create-relationship-column.md | 23 +++++++++++++ .../server-php/examples/grids/create-row.md | 19 +++++++++++ .../server-php/examples/grids/create-rows.md | 17 ++++++++++ .../examples/grids/create-string-column.md | 22 +++++++++++++ .../server-php/examples/grids/create-table.md | 20 +++++++++++ .../examples/grids/create-url-column.md | 20 +++++++++++ .../examples/grids/decrement-row-column.md | 20 +++++++++++ .../examples/grids/delete-column.md | 17 ++++++++++ .../examples/grids/delete-database.md | 15 +++++++++ .../server-php/examples/grids/delete-index.md | 17 ++++++++++ .../server-php/examples/grids/delete-row.md | 17 ++++++++++ .../server-php/examples/grids/delete-rows.md | 17 ++++++++++ .../server-php/examples/grids/delete-table.md | 16 +++++++++ .../server-php/examples/grids/get-column.md | 17 ++++++++++ .../server-php/examples/grids/get-database.md | 15 +++++++++ .../server-php/examples/grids/get-index.md | 17 ++++++++++ .../server-php/examples/grids/get-row.md | 18 ++++++++++ .../server-php/examples/grids/get-table.md | 16 +++++++++ .../examples/grids/increment-row-column.md | 20 +++++++++++ .../server-php/examples/grids/list-columns.md | 17 ++++++++++ .../examples/grids/list-databases.md | 16 +++++++++ .../server-php/examples/grids/list-indexes.md | 17 ++++++++++ .../server-php/examples/grids/list-rows.md | 17 ++++++++++ .../server-php/examples/grids/list-tables.md | 17 ++++++++++ .../examples/grids/update-boolean-column.md | 20 +++++++++++ .../examples/grids/update-database.md | 17 ++++++++++ .../examples/grids/update-datetime-column.md | 20 +++++++++++ .../examples/grids/update-email-column.md | 20 +++++++++++ .../examples/grids/update-enum-column.md | 21 ++++++++++++ .../examples/grids/update-float-column.md | 22 +++++++++++++ .../examples/grids/update-integer-column.md | 22 +++++++++++++ .../examples/grids/update-ip-column.md | 20 +++++++++++ .../grids/update-relationship-column.md | 19 +++++++++++ .../server-php/examples/grids/update-row.md | 19 +++++++++++ .../server-php/examples/grids/update-rows.md | 18 ++++++++++ .../examples/grids/update-string-column.md | 21 ++++++++++++ .../server-php/examples/grids/update-table.md | 20 +++++++++++ .../examples/grids/update-url-column.md | 20 +++++++++++ .../server-php/examples/grids/upsert-row.md | 19 +++++++++++ .../server-php/examples/grids/upsert-rows.md | 17 ++++++++++ .../examples/databases/create-document.md | 3 +- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 7 ++-- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 18 ++++++++++ .../examples/grids/create-database.md | 15 +++++++++ .../examples/grids/create-datetime-column.md | 18 ++++++++++ .../examples/grids/create-email-column.md | 18 ++++++++++ .../examples/grids/create-enum-column.md | 19 +++++++++++ .../examples/grids/create-float-column.md | 20 +++++++++++ .../examples/grids/create-index.md | 20 +++++++++++ .../examples/grids/create-integer-column.md | 20 +++++++++++ .../examples/grids/create-ip-column.md | 18 ++++++++++ .../grids/create-relationship-column.md | 21 ++++++++++++ .../examples/grids/create-row.md | 17 ++++++++++ .../examples/grids/create-rows.md | 15 +++++++++ .../examples/grids/create-string-column.md | 20 +++++++++++ .../examples/grids/create-table.md | 18 ++++++++++ .../examples/grids/create-url-column.md | 18 ++++++++++ .../examples/grids/decrement-row-column.md | 18 ++++++++++ .../examples/grids/delete-column.md | 15 +++++++++ .../examples/grids/delete-database.md | 13 ++++++++ .../examples/grids/delete-index.md | 15 +++++++++ .../examples/grids/delete-row.md | 15 +++++++++ .../examples/grids/delete-rows.md | 15 +++++++++ .../examples/grids/delete-table.md | 14 ++++++++ .../examples/grids/get-column.md | 15 +++++++++ .../examples/grids/get-database.md | 13 ++++++++ .../server-python/examples/grids/get-index.md | 15 +++++++++ .../server-python/examples/grids/get-row.md | 16 +++++++++ .../server-python/examples/grids/get-table.md | 14 ++++++++ .../examples/grids/increment-row-column.md | 18 ++++++++++ .../examples/grids/list-columns.md | 15 +++++++++ .../examples/grids/list-databases.md | 14 ++++++++ .../examples/grids/list-indexes.md | 15 +++++++++ .../server-python/examples/grids/list-rows.md | 15 +++++++++ .../examples/grids/list-tables.md | 15 +++++++++ .../examples/grids/update-boolean-column.md | 18 ++++++++++ .../examples/grids/update-database.md | 15 +++++++++ .../examples/grids/update-datetime-column.md | 18 ++++++++++ .../examples/grids/update-email-column.md | 18 ++++++++++ .../examples/grids/update-enum-column.md | 19 +++++++++++ .../examples/grids/update-float-column.md | 20 +++++++++++ .../examples/grids/update-integer-column.md | 20 +++++++++++ .../examples/grids/update-ip-column.md | 18 ++++++++++ .../grids/update-relationship-column.md | 17 ++++++++++ .../examples/grids/update-row.md | 17 ++++++++++ .../examples/grids/update-rows.md | 16 +++++++++ .../examples/grids/update-string-column.md | 19 +++++++++++ .../examples/grids/update-table.md | 18 ++++++++++ .../examples/grids/update-url-column.md | 18 ++++++++++ .../examples/grids/upsert-row.md | 17 ++++++++++ .../examples/grids/upsert-rows.md | 15 +++++++++ .../account/create-anonymous-session.md | 2 +- .../account/create-email-password-session.md | 2 +- .../examples/account/create-email-token.md | 2 +- .../examples/account/create-j-w-t.md | 2 +- .../account/create-magic-u-r-l-token.md | 2 +- .../account/create-mfa-authenticator.md | 2 +- .../examples/account/create-mfa-challenge.md | 2 +- .../account/create-mfa-recovery-codes.md | 2 +- .../examples/account/create-o-auth2token.md | 2 +- .../examples/account/create-phone-token.md | 2 +- .../account/create-phone-verification.md | 2 +- .../examples/account/create-recovery.md | 2 +- .../examples/account/create-session.md | 2 +- .../examples/account/create-verification.md | 2 +- .../server-rest/examples/account/create.md | 2 +- .../examples/account/delete-identity.md | 2 +- .../account/delete-mfa-authenticator.md | 2 +- .../examples/account/delete-session.md | 2 +- .../examples/account/delete-sessions.md | 2 +- .../account/get-mfa-recovery-codes.md | 2 +- .../server-rest/examples/account/get-prefs.md | 2 +- .../examples/account/get-session.md | 2 +- .../1.8.x/server-rest/examples/account/get.md | 2 +- .../examples/account/list-identities.md | 2 +- .../server-rest/examples/account/list-logs.md | 2 +- .../examples/account/list-mfa-factors.md | 2 +- .../examples/account/list-sessions.md | 2 +- .../examples/account/update-email.md | 2 +- .../examples/account/update-m-f-a.md | 2 +- .../account/update-magic-u-r-l-session.md | 2 +- .../account/update-mfa-authenticator.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- .../account/update-mfa-recovery-codes.md | 2 +- .../examples/account/update-name.md | 2 +- .../examples/account/update-password.md | 2 +- .../examples/account/update-phone-session.md | 2 +- .../account/update-phone-verification.md | 2 +- .../examples/account/update-phone.md | 2 +- .../examples/account/update-prefs.md | 2 +- .../examples/account/update-recovery.md | 2 +- .../examples/account/update-session.md | 2 +- .../examples/account/update-status.md | 2 +- .../examples/account/update-verification.md | 2 +- .../examples/avatars/get-browser.md | 2 +- .../examples/avatars/get-credit-card.md | 2 +- .../examples/avatars/get-favicon.md | 2 +- .../server-rest/examples/avatars/get-flag.md | 2 +- .../server-rest/examples/avatars/get-image.md | 2 +- .../examples/avatars/get-initials.md | 2 +- .../server-rest/examples/avatars/get-q-r.md | 2 +- .../databases/create-boolean-attribute.md | 2 +- .../examples/databases/create-collection.md | 2 +- .../databases/create-datetime-attribute.md | 2 +- .../examples/databases/create-document.md | 2 +- .../examples/databases/create-documents.md | 2 +- .../databases/create-email-attribute.md | 2 +- .../databases/create-enum-attribute.md | 2 +- .../databases/create-float-attribute.md | 2 +- .../examples/databases/create-index.md | 2 +- .../databases/create-integer-attribute.md | 2 +- .../examples/databases/create-ip-attribute.md | 2 +- .../create-relationship-attribute.md | 2 +- .../databases/create-string-attribute.md | 2 +- .../databases/create-url-attribute.md | 2 +- .../server-rest/examples/databases/create.md | 2 +- .../databases/decrement-document-attribute.md | 2 +- .../examples/databases/delete-attribute.md | 2 +- .../examples/databases/delete-collection.md | 2 +- .../examples/databases/delete-document.md | 2 +- .../examples/databases/delete-documents.md | 2 +- .../examples/databases/delete-index.md | 2 +- .../server-rest/examples/databases/delete.md | 2 +- .../examples/databases/get-attribute.md | 2 +- .../examples/databases/get-collection.md | 2 +- .../examples/databases/get-document.md | 2 +- .../examples/databases/get-index.md | 2 +- .../server-rest/examples/databases/get.md | 2 +- .../databases/increment-document-attribute.md | 2 +- .../examples/databases/list-attributes.md | 2 +- .../examples/databases/list-collections.md | 2 +- .../examples/databases/list-documents.md | 2 +- .../examples/databases/list-indexes.md | 2 +- .../server-rest/examples/databases/list.md | 2 +- .../databases/update-boolean-attribute.md | 2 +- .../examples/databases/update-collection.md | 2 +- .../databases/update-datetime-attribute.md | 2 +- .../examples/databases/update-document.md | 2 +- .../examples/databases/update-documents.md | 2 +- .../databases/update-email-attribute.md | 2 +- .../databases/update-enum-attribute.md | 2 +- .../databases/update-float-attribute.md | 2 +- .../databases/update-integer-attribute.md | 2 +- .../examples/databases/update-ip-attribute.md | 2 +- .../update-relationship-attribute.md | 2 +- .../databases/update-string-attribute.md | 2 +- .../databases/update-url-attribute.md | 2 +- .../server-rest/examples/databases/update.md | 2 +- .../examples/databases/upsert-document.md | 6 +++- .../examples/databases/upsert-documents.md | 5 ++- .../examples/functions/create-deployment.md | 2 +- .../functions/create-duplicate-deployment.md | 2 +- .../examples/functions/create-execution.md | 4 +-- .../functions/create-template-deployment.md | 2 +- .../examples/functions/create-variable.md | 2 +- .../functions/create-vcs-deployment.md | 2 +- .../server-rest/examples/functions/create.md | 2 +- .../examples/functions/delete-deployment.md | 2 +- .../examples/functions/delete-execution.md | 2 +- .../examples/functions/delete-variable.md | 2 +- .../server-rest/examples/functions/delete.md | 2 +- .../functions/get-deployment-download.md | 2 +- .../examples/functions/get-deployment.md | 2 +- .../examples/functions/get-execution.md | 2 +- .../examples/functions/get-variable.md | 2 +- .../server-rest/examples/functions/get.md | 2 +- .../examples/functions/list-deployments.md | 2 +- .../examples/functions/list-executions.md | 2 +- .../examples/functions/list-runtimes.md | 2 +- .../examples/functions/list-specifications.md | 2 +- .../examples/functions/list-variables.md | 2 +- .../server-rest/examples/functions/list.md | 2 +- .../functions/update-deployment-status.md | 2 +- .../functions/update-function-deployment.md | 2 +- .../examples/functions/update-variable.md | 2 +- .../server-rest/examples/functions/update.md | 2 +- .../server-rest/examples/graphql/mutation.md | 2 +- .../server-rest/examples/graphql/query.md | 2 +- .../examples/grids/create-boolean-column.md | 13 ++++++++ .../examples/grids/create-database.md | 12 +++++++ .../examples/grids/create-datetime-column.md | 13 ++++++++ .../examples/grids/create-email-column.md | 13 ++++++++ .../examples/grids/create-enum-column.md | 14 ++++++++ .../examples/grids/create-float-column.md | 15 +++++++++ .../examples/grids/create-index.md | 14 ++++++++ .../examples/grids/create-integer-column.md | 15 +++++++++ .../examples/grids/create-ip-column.md | 13 ++++++++ .../grids/create-relationship-column.md | 15 +++++++++ .../server-rest/examples/grids/create-row.md | 14 ++++++++ .../server-rest/examples/grids/create-rows.md | 12 +++++++ .../examples/grids/create-string-column.md | 15 +++++++++ .../examples/grids/create-table.md | 14 ++++++++ .../examples/grids/create-url-column.md | 13 ++++++++ .../examples/grids/decrement-row-column.md | 11 +++++++ .../examples/grids/delete-column.md | 7 ++++ .../examples/grids/delete-database.md | 7 ++++ .../examples/grids/delete-index.md | 7 ++++ .../server-rest/examples/grids/delete-row.md | 9 +++++ .../server-rest/examples/grids/delete-rows.md | 10 ++++++ .../examples/grids/delete-table.md | 7 ++++ .../server-rest/examples/grids/get-column.md | 5 +++ .../examples/grids/get-database.md | 5 +++ .../server-rest/examples/grids/get-index.md | 5 +++ .../server-rest/examples/grids/get-row.md | 7 ++++ .../server-rest/examples/grids/get-table.md | 5 +++ .../examples/grids/increment-row-column.md | 11 +++++++ .../examples/grids/list-columns.md | 5 +++ .../examples/grids/list-databases.md | 5 +++ .../examples/grids/list-indexes.md | 5 +++ .../server-rest/examples/grids/list-rows.md | 7 ++++ .../server-rest/examples/grids/list-tables.md | 5 +++ .../examples/grids/update-boolean-column.md | 12 +++++++ .../examples/grids/update-database.md | 11 +++++++ .../examples/grids/update-datetime-column.md | 12 +++++++ .../examples/grids/update-email-column.md | 12 +++++++ .../examples/grids/update-enum-column.md | 13 ++++++++ .../examples/grids/update-float-column.md | 14 ++++++++ .../examples/grids/update-integer-column.md | 14 ++++++++ .../examples/grids/update-ip-column.md | 12 +++++++ .../grids/update-relationship-column.md | 11 +++++++ .../server-rest/examples/grids/update-row.md | 13 ++++++++ .../server-rest/examples/grids/update-rows.md | 11 +++++++ .../examples/grids/update-string-column.md | 13 ++++++++ .../examples/grids/update-table.md | 13 ++++++++ .../examples/grids/update-url-column.md | 12 +++++++ .../server-rest/examples/grids/upsert-row.md | 13 ++++++++ .../server-rest/examples/grids/upsert-rows.md | 10 ++++++ .../examples/health/get-antivirus.md | 2 +- .../server-rest/examples/health/get-cache.md | 2 +- .../examples/health/get-certificate.md | 2 +- .../server-rest/examples/health/get-d-b.md | 2 +- .../examples/health/get-failed-jobs.md | 2 +- .../examples/health/get-pub-sub.md | 2 +- .../examples/health/get-queue-builds.md | 2 +- .../examples/health/get-queue-certificates.md | 2 +- .../examples/health/get-queue-databases.md | 2 +- .../examples/health/get-queue-deletes.md | 2 +- .../examples/health/get-queue-functions.md | 2 +- .../examples/health/get-queue-logs.md | 2 +- .../examples/health/get-queue-mails.md | 2 +- .../examples/health/get-queue-messaging.md | 2 +- .../examples/health/get-queue-migrations.md | 2 +- .../health/get-queue-stats-resources.md | 2 +- .../examples/health/get-queue-usage.md | 2 +- .../examples/health/get-queue-webhooks.md | 2 +- .../examples/health/get-storage-local.md | 2 +- .../examples/health/get-storage.md | 2 +- .../server-rest/examples/health/get-time.md | 2 +- .../1.8.x/server-rest/examples/health/get.md | 2 +- .../1.8.x/server-rest/examples/locale/get.md | 2 +- .../server-rest/examples/locale/list-codes.md | 2 +- .../examples/locale/list-continents.md | 2 +- .../examples/locale/list-countries-e-u.md | 2 +- .../examples/locale/list-countries-phones.md | 2 +- .../examples/locale/list-countries.md | 2 +- .../examples/locale/list-currencies.md | 2 +- .../examples/locale/list-languages.md | 2 +- .../messaging/create-apns-provider.md | 2 +- .../examples/messaging/create-email.md | 2 +- .../examples/messaging/create-fcm-provider.md | 2 +- .../messaging/create-mailgun-provider.md | 2 +- .../messaging/create-msg91provider.md | 2 +- .../examples/messaging/create-push.md | 2 +- .../messaging/create-sendgrid-provider.md | 2 +- .../examples/messaging/create-sms.md | 2 +- .../messaging/create-smtp-provider.md | 2 +- .../examples/messaging/create-subscriber.md | 2 +- .../messaging/create-telesign-provider.md | 2 +- .../messaging/create-textmagic-provider.md | 2 +- .../examples/messaging/create-topic.md | 2 +- .../messaging/create-twilio-provider.md | 2 +- .../messaging/create-vonage-provider.md | 2 +- .../examples/messaging/delete-provider.md | 2 +- .../examples/messaging/delete-subscriber.md | 2 +- .../examples/messaging/delete-topic.md | 2 +- .../server-rest/examples/messaging/delete.md | 2 +- .../examples/messaging/get-message.md | 2 +- .../examples/messaging/get-provider.md | 2 +- .../examples/messaging/get-subscriber.md | 2 +- .../examples/messaging/get-topic.md | 2 +- .../examples/messaging/list-message-logs.md | 2 +- .../examples/messaging/list-messages.md | 2 +- .../examples/messaging/list-provider-logs.md | 2 +- .../examples/messaging/list-providers.md | 2 +- .../messaging/list-subscriber-logs.md | 2 +- .../examples/messaging/list-subscribers.md | 2 +- .../examples/messaging/list-targets.md | 2 +- .../examples/messaging/list-topic-logs.md | 2 +- .../examples/messaging/list-topics.md | 2 +- .../messaging/update-apns-provider.md | 2 +- .../examples/messaging/update-email.md | 2 +- .../examples/messaging/update-fcm-provider.md | 2 +- .../messaging/update-mailgun-provider.md | 2 +- .../messaging/update-msg91provider.md | 2 +- .../examples/messaging/update-push.md | 2 +- .../messaging/update-sendgrid-provider.md | 2 +- .../examples/messaging/update-sms.md | 2 +- .../messaging/update-smtp-provider.md | 2 +- .../messaging/update-telesign-provider.md | 2 +- .../messaging/update-textmagic-provider.md | 2 +- .../examples/messaging/update-topic.md | 2 +- .../messaging/update-twilio-provider.md | 2 +- .../messaging/update-vonage-provider.md | 2 +- .../examples/sites/create-deployment.md | 2 +- .../sites/create-duplicate-deployment.md | 2 +- .../sites/create-template-deployment.md | 2 +- .../examples/sites/create-variable.md | 2 +- .../examples/sites/create-vcs-deployment.md | 2 +- .../server-rest/examples/sites/create.md | 2 +- .../examples/sites/delete-deployment.md | 2 +- .../server-rest/examples/sites/delete-log.md | 2 +- .../examples/sites/delete-variable.md | 2 +- .../server-rest/examples/sites/delete.md | 2 +- .../examples/sites/get-deployment-download.md | 2 +- .../examples/sites/get-deployment.md | 2 +- .../server-rest/examples/sites/get-log.md | 2 +- .../examples/sites/get-variable.md | 2 +- .../1.8.x/server-rest/examples/sites/get.md | 2 +- .../examples/sites/list-deployments.md | 2 +- .../examples/sites/list-frameworks.md | 2 +- .../server-rest/examples/sites/list-logs.md | 2 +- .../examples/sites/list-specifications.md | 2 +- .../examples/sites/list-variables.md | 2 +- .../1.8.x/server-rest/examples/sites/list.md | 2 +- .../sites/update-deployment-status.md | 2 +- .../examples/sites/update-site-deployment.md | 2 +- .../examples/sites/update-variable.md | 2 +- .../server-rest/examples/sites/update.md | 2 +- .../examples/storage/create-bucket.md | 2 +- .../examples/storage/create-file.md | 2 +- .../examples/storage/delete-bucket.md | 2 +- .../examples/storage/delete-file.md | 2 +- .../examples/storage/get-bucket.md | 2 +- .../examples/storage/get-file-download.md | 2 +- .../examples/storage/get-file-preview.md | 2 +- .../examples/storage/get-file-view.md | 2 +- .../server-rest/examples/storage/get-file.md | 2 +- .../examples/storage/list-buckets.md | 2 +- .../examples/storage/list-files.md | 2 +- .../examples/storage/update-bucket.md | 2 +- .../examples/storage/update-file.md | 2 +- .../examples/teams/create-membership.md | 2 +- .../server-rest/examples/teams/create.md | 2 +- .../examples/teams/delete-membership.md | 2 +- .../server-rest/examples/teams/delete.md | 2 +- .../examples/teams/get-membership.md | 2 +- .../server-rest/examples/teams/get-prefs.md | 2 +- .../1.8.x/server-rest/examples/teams/get.md | 2 +- .../examples/teams/list-memberships.md | 2 +- .../1.8.x/server-rest/examples/teams/list.md | 2 +- .../teams/update-membership-status.md | 2 +- .../examples/teams/update-membership.md | 2 +- .../server-rest/examples/teams/update-name.md | 2 +- .../examples/teams/update-prefs.md | 2 +- .../examples/tokens/create-file-token.md | 2 +- .../server-rest/examples/tokens/delete.md | 2 +- .../1.8.x/server-rest/examples/tokens/get.md | 2 +- .../1.8.x/server-rest/examples/tokens/list.md | 2 +- .../server-rest/examples/tokens/update.md | 2 +- .../examples/users/create-argon2user.md | 2 +- .../examples/users/create-bcrypt-user.md | 2 +- .../examples/users/create-j-w-t.md | 2 +- .../examples/users/create-m-d5user.md | 2 +- .../users/create-mfa-recovery-codes.md | 2 +- .../examples/users/create-p-h-pass-user.md | 2 +- .../examples/users/create-s-h-a-user.md | 2 +- .../users/create-scrypt-modified-user.md | 2 +- .../examples/users/create-scrypt-user.md | 2 +- .../examples/users/create-session.md | 2 +- .../examples/users/create-target.md | 2 +- .../examples/users/create-token.md | 2 +- .../server-rest/examples/users/create.md | 2 +- .../examples/users/delete-identity.md | 2 +- .../users/delete-mfa-authenticator.md | 2 +- .../examples/users/delete-session.md | 2 +- .../examples/users/delete-sessions.md | 2 +- .../examples/users/delete-target.md | 2 +- .../server-rest/examples/users/delete.md | 2 +- .../examples/users/get-mfa-recovery-codes.md | 2 +- .../server-rest/examples/users/get-prefs.md | 2 +- .../server-rest/examples/users/get-target.md | 2 +- .../1.8.x/server-rest/examples/users/get.md | 2 +- .../examples/users/list-identities.md | 2 +- .../server-rest/examples/users/list-logs.md | 2 +- .../examples/users/list-memberships.md | 2 +- .../examples/users/list-mfa-factors.md | 2 +- .../examples/users/list-sessions.md | 2 +- .../examples/users/list-targets.md | 2 +- .../1.8.x/server-rest/examples/users/list.md | 2 +- .../users/update-email-verification.md | 2 +- .../examples/users/update-email.md | 2 +- .../examples/users/update-labels.md | 2 +- .../users/update-mfa-recovery-codes.md | 2 +- .../server-rest/examples/users/update-mfa.md | 2 +- .../server-rest/examples/users/update-name.md | 2 +- .../examples/users/update-password.md | 2 +- .../users/update-phone-verification.md | 2 +- .../examples/users/update-phone.md | 2 +- .../examples/users/update-prefs.md | 2 +- .../examples/users/update-status.md | 2 +- .../examples/users/update-target.md | 2 +- .../examples/databases/create-document.md | 3 +- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 7 ++-- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 19 +++++++++++ .../examples/grids/create-database.md | 16 +++++++++ .../examples/grids/create-datetime-column.md | 19 +++++++++++ .../examples/grids/create-email-column.md | 19 +++++++++++ .../examples/grids/create-enum-column.md | 20 +++++++++++ .../examples/grids/create-float-column.md | 21 ++++++++++++ .../examples/grids/create-index.md | 21 ++++++++++++ .../examples/grids/create-integer-column.md | 21 ++++++++++++ .../examples/grids/create-ip-column.md | 19 +++++++++++ .../grids/create-relationship-column.md | 22 +++++++++++++ .../server-ruby/examples/grids/create-row.md | 18 ++++++++++ .../server-ruby/examples/grids/create-rows.md | 16 +++++++++ .../examples/grids/create-string-column.md | 21 ++++++++++++ .../examples/grids/create-table.md | 19 +++++++++++ .../examples/grids/create-url-column.md | 19 +++++++++++ .../examples/grids/decrement-row-column.md | 19 +++++++++++ .../examples/grids/delete-column.md | 16 +++++++++ .../examples/grids/delete-database.md | 14 ++++++++ .../examples/grids/delete-index.md | 16 +++++++++ .../server-ruby/examples/grids/delete-row.md | 16 +++++++++ .../server-ruby/examples/grids/delete-rows.md | 16 +++++++++ .../examples/grids/delete-table.md | 15 +++++++++ .../server-ruby/examples/grids/get-column.md | 16 +++++++++ .../examples/grids/get-database.md | 14 ++++++++ .../server-ruby/examples/grids/get-index.md | 16 +++++++++ .../server-ruby/examples/grids/get-row.md | 17 ++++++++++ .../server-ruby/examples/grids/get-table.md | 15 +++++++++ .../examples/grids/increment-row-column.md | 19 +++++++++++ .../examples/grids/list-columns.md | 16 +++++++++ .../examples/grids/list-databases.md | 15 +++++++++ .../examples/grids/list-indexes.md | 16 +++++++++ .../server-ruby/examples/grids/list-rows.md | 16 +++++++++ .../server-ruby/examples/grids/list-tables.md | 16 +++++++++ .../examples/grids/update-boolean-column.md | 19 +++++++++++ .../examples/grids/update-database.md | 16 +++++++++ .../examples/grids/update-datetime-column.md | 19 +++++++++++ .../examples/grids/update-email-column.md | 19 +++++++++++ .../examples/grids/update-enum-column.md | 20 +++++++++++ .../examples/grids/update-float-column.md | 21 ++++++++++++ .../examples/grids/update-integer-column.md | 21 ++++++++++++ .../examples/grids/update-ip-column.md | 19 +++++++++++ .../grids/update-relationship-column.md | 18 ++++++++++ .../server-ruby/examples/grids/update-row.md | 18 ++++++++++ .../server-ruby/examples/grids/update-rows.md | 17 ++++++++++ .../examples/grids/update-string-column.md | 20 +++++++++++ .../examples/grids/update-table.md | 19 +++++++++++ .../examples/grids/update-url-column.md | 19 +++++++++++ .../server-ruby/examples/grids/upsert-row.md | 18 ++++++++++ .../server-ruby/examples/grids/upsert-rows.md | 16 +++++++++ .../examples/databases/create-document.md | 3 +- .../examples/databases/create-documents.md | 2 +- .../examples/databases/upsert-document.md | 7 ++-- .../examples/databases/upsert-documents.md | 5 +-- .../examples/functions/create-execution.md | 2 +- .../examples/grids/create-boolean-column.md | 18 ++++++++++ .../examples/grids/create-database.md | 15 +++++++++ .../examples/grids/create-datetime-column.md | 18 ++++++++++ .../examples/grids/create-email-column.md | 18 ++++++++++ .../examples/grids/create-enum-column.md | 19 +++++++++++ .../examples/grids/create-float-column.md | 20 +++++++++++ .../examples/grids/create-index.md | 20 +++++++++++ .../examples/grids/create-integer-column.md | 20 +++++++++++ .../examples/grids/create-ip-column.md | 18 ++++++++++ .../grids/create-relationship-column.md | 21 ++++++++++++ .../server-swift/examples/grids/create-row.md | 17 ++++++++++ .../examples/grids/create-rows.md | 15 +++++++++ .../examples/grids/create-string-column.md | 20 +++++++++++ .../examples/grids/create-table.md | 18 ++++++++++ .../examples/grids/create-url-column.md | 18 ++++++++++ .../examples/grids/decrement-row-column.md | 18 ++++++++++ .../examples/grids/delete-column.md | 15 +++++++++ .../examples/grids/delete-database.md | 13 ++++++++ .../examples/grids/delete-index.md | 15 +++++++++ .../server-swift/examples/grids/delete-row.md | 15 +++++++++ .../examples/grids/delete-rows.md | 15 +++++++++ .../examples/grids/delete-table.md | 14 ++++++++ .../server-swift/examples/grids/get-column.md | 15 +++++++++ .../examples/grids/get-database.md | 13 ++++++++ .../server-swift/examples/grids/get-index.md | 15 +++++++++ .../server-swift/examples/grids/get-row.md | 16 +++++++++ .../server-swift/examples/grids/get-table.md | 14 ++++++++ .../examples/grids/increment-row-column.md | 18 ++++++++++ .../examples/grids/list-columns.md | 15 +++++++++ .../examples/grids/list-databases.md | 14 ++++++++ .../examples/grids/list-indexes.md | 15 +++++++++ .../server-swift/examples/grids/list-rows.md | 15 +++++++++ .../examples/grids/list-tables.md | 15 +++++++++ .../examples/grids/update-boolean-column.md | 18 ++++++++++ .../examples/grids/update-database.md | 15 +++++++++ .../examples/grids/update-datetime-column.md | 18 ++++++++++ .../examples/grids/update-email-column.md | 18 ++++++++++ .../examples/grids/update-enum-column.md | 19 +++++++++++ .../examples/grids/update-float-column.md | 20 +++++++++++ .../examples/grids/update-integer-column.md | 20 +++++++++++ .../examples/grids/update-ip-column.md | 18 ++++++++++ .../grids/update-relationship-column.md | 18 ++++++++++ .../server-swift/examples/grids/update-row.md | 17 ++++++++++ .../examples/grids/update-rows.md | 16 +++++++++ .../examples/grids/update-string-column.md | 19 +++++++++++ .../examples/grids/update-table.md | 18 ++++++++++ .../examples/grids/update-url-column.md | 18 ++++++++++ .../server-swift/examples/grids/upsert-row.md | 17 ++++++++++ .../examples/grids/upsert-rows.md | 15 +++++++++ .../references/grids/create-boolean-column.md | 1 + docs/references/grids/create-database.md | 1 + .../grids/create-datetime-column.md | 1 + docs/references/grids/create-email-column.md | 1 + docs/references/grids/create-enum-column.md | 1 + docs/references/grids/create-float-column.md | 1 + docs/references/grids/create-index.md | 2 ++ .../references/grids/create-integer-column.md | 1 + docs/references/grids/create-ip-column.md | 1 + .../grids/create-relationship-column.md | 1 + docs/references/grids/create-row.md | 1 + docs/references/grids/create-rows.md | 1 + docs/references/grids/create-string-column.md | 1 + docs/references/grids/create-table.md | 1 + docs/references/grids/create-url-column.md | 1 + docs/references/grids/decrement-row-column.md | 1 + docs/references/grids/delete-column.md | 1 + docs/references/grids/delete-database.md | 1 + docs/references/grids/delete-index.md | 1 + docs/references/grids/delete-row.md | 1 + docs/references/grids/delete-rows.md | 1 + docs/references/grids/delete-table.md | 1 + docs/references/grids/get-column.md | 1 + docs/references/grids/get-database-usage.md | 1 + docs/references/grids/get-database.md | 1 + docs/references/grids/get-index.md | 1 + docs/references/grids/get-logs.md | 1 + docs/references/grids/get-row-logs.md | 1 + docs/references/grids/get-row.md | 1 + docs/references/grids/get-table-logs.md | 1 + docs/references/grids/get-table-usage.md | 1 + docs/references/grids/get-table.md | 1 + docs/references/grids/increment-row-column.md | 1 + docs/references/grids/list-columns.md | 1 + docs/references/grids/list-database-usage.md | 1 + docs/references/grids/list-databases.md | 1 + docs/references/grids/list-indexes.md | 1 + docs/references/grids/list-rows.md | 1 + docs/references/grids/list-tables.md | 1 + .../references/grids/update-boolean-column.md | 1 + docs/references/grids/update-database.md | 1 + .../grids/update-datetime-column.md | 1 + docs/references/grids/update-email-column.md | 1 + docs/references/grids/update-enum-column.md | 1 + docs/references/grids/update-float-column.md | 1 + .../references/grids/update-integer-column.md | 1 + docs/references/grids/update-ip-column.md | 1 + .../grids/update-relationship-column.md | 1 + docs/references/grids/update-row.md | 1 + docs/references/grids/update-rows.md | 1 + docs/references/grids/update-string-column.md | 1 + docs/references/grids/update-table.md | 1 + docs/references/grids/update-url-column.md | 1 + docs/references/grids/upsert-row.md | 1 + docs/references/grids/upsert-rows.md | 1 + 1339 files changed, 14234 insertions(+), 579 deletions(-) create mode 100644 docs/examples/1.8.x/client-android/java/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-android/java/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-android/java/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-android/java/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-android/java/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-android/java/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-apple/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-rest/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/client-web/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-database-usage.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-table-usage.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-database-logs.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-database-usage.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-row-logs.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-table-logs.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/console-cli/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-database-usage.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-table-usage.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-database-logs.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-database-usage.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-row-logs.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-table-logs.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/console-web/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-dart/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-deno/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-go/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-php/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-python/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-rest/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/grids/upsert-rows.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-boolean-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-database.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-datetime-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-email-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-enum-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-float-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-index.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-integer-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-ip-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-relationship-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-row.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-rows.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-string-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-table.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/create-url-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/decrement-row-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-database.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-index.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-row.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-rows.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/delete-table.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/get-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/get-database.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/get-index.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/get-row.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/get-table.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/increment-row-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/list-columns.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/list-databases.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/list-indexes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/list-rows.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/list-tables.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-boolean-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-database.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-datetime-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-email-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-enum-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-float-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-integer-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-ip-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-relationship-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-row.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-rows.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-string-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-table.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/update-url-column.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/upsert-row.md create mode 100644 docs/examples/1.8.x/server-swift/examples/grids/upsert-rows.md create mode 100644 docs/references/grids/create-boolean-column.md create mode 100644 docs/references/grids/create-database.md create mode 100644 docs/references/grids/create-datetime-column.md create mode 100644 docs/references/grids/create-email-column.md create mode 100644 docs/references/grids/create-enum-column.md create mode 100644 docs/references/grids/create-float-column.md create mode 100644 docs/references/grids/create-index.md create mode 100644 docs/references/grids/create-integer-column.md create mode 100644 docs/references/grids/create-ip-column.md create mode 100644 docs/references/grids/create-relationship-column.md create mode 100644 docs/references/grids/create-row.md create mode 100644 docs/references/grids/create-rows.md create mode 100644 docs/references/grids/create-string-column.md create mode 100644 docs/references/grids/create-table.md create mode 100644 docs/references/grids/create-url-column.md create mode 100644 docs/references/grids/decrement-row-column.md create mode 100644 docs/references/grids/delete-column.md create mode 100644 docs/references/grids/delete-database.md create mode 100644 docs/references/grids/delete-index.md create mode 100644 docs/references/grids/delete-row.md create mode 100644 docs/references/grids/delete-rows.md create mode 100644 docs/references/grids/delete-table.md create mode 100644 docs/references/grids/get-column.md create mode 100644 docs/references/grids/get-database-usage.md create mode 100644 docs/references/grids/get-database.md create mode 100644 docs/references/grids/get-index.md create mode 100644 docs/references/grids/get-logs.md create mode 100644 docs/references/grids/get-row-logs.md create mode 100644 docs/references/grids/get-row.md create mode 100644 docs/references/grids/get-table-logs.md create mode 100644 docs/references/grids/get-table-usage.md create mode 100644 docs/references/grids/get-table.md create mode 100644 docs/references/grids/increment-row-column.md create mode 100644 docs/references/grids/list-columns.md create mode 100644 docs/references/grids/list-database-usage.md create mode 100644 docs/references/grids/list-databases.md create mode 100644 docs/references/grids/list-indexes.md create mode 100644 docs/references/grids/list-rows.md create mode 100644 docs/references/grids/list-tables.md create mode 100644 docs/references/grids/update-boolean-column.md create mode 100644 docs/references/grids/update-database.md create mode 100644 docs/references/grids/update-datetime-column.md create mode 100644 docs/references/grids/update-email-column.md create mode 100644 docs/references/grids/update-enum-column.md create mode 100644 docs/references/grids/update-float-column.md create mode 100644 docs/references/grids/update-integer-column.md create mode 100644 docs/references/grids/update-ip-column.md create mode 100644 docs/references/grids/update-relationship-column.md create mode 100644 docs/references/grids/update-row.md create mode 100644 docs/references/grids/update-rows.md create mode 100644 docs/references/grids/update-string-column.md create mode 100644 docs/references/grids/update-table.md create mode 100644 docs/references/grids/update-url-column.md create mode 100644 docs/references/grids/upsert-row.md create mode 100644 docs/references/grids/upsert-rows.md diff --git a/docs/examples/1.8.x/client-android/java/databases/create-document.md b/docs/examples/1.8.x/client-android/java/databases/create-document.md index 7fb129bb0b..4804d751e3 100644 --- a/docs/examples/1.8.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.8.x/client-android/java/databases/create-document.md @@ -4,9 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token + .setProject(""); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.8.x/client-android/java/databases/upsert-document.md b/docs/examples/1.8.x/client-android/java/databases/upsert-document.md index ba7336f3f9..868576b982 100644 --- a/docs/examples/1.8.x/client-android/java/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-android/java/databases/upsert-document.md @@ -4,9 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token + .setProject(""); // Your project ID Databases databases = new Databases(client); @@ -14,6 +12,8 @@ databases.upsertDocument( "", // databaseId "", // collectionId "", // documentId + mapOf( "a" to "b" ), // data + listOf("read("any")"), // permissions (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/functions/create-execution.md b/docs/examples/1.8.x/client-android/java/functions/create-execution.md index c138b0ef86..06c50278a5 100644 --- a/docs/examples/1.8.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.8.x/client-android/java/functions/create-execution.md @@ -15,7 +15,7 @@ functions.createExecution( "", // path (optional) ExecutionMethod.GET, // method (optional) mapOf( "a" to "b" ), // headers (optional) - "", // scheduledAt (optional) + "", // scheduledAt (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/grids/create-row.md b/docs/examples/1.8.x/client-android/java/grids/create-row.md new file mode 100644 index 0000000000..93cea1f09c --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/create-row.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.createRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/grids/delete-row.md b/docs/examples/1.8.x/client-android/java/grids/delete-row.md new file mode 100644 index 0000000000..a73c03a06e --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/delete-row.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.deleteRow( + "", // databaseId + "", // tableId + "", // rowId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/grids/get-row.md b/docs/examples/1.8.x/client-android/java/grids/get-row.md new file mode 100644 index 0000000000..4968759d6b --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/get-row.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.getRow( + "", // databaseId + "", // tableId + "", // rowId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/grids/list-rows.md b/docs/examples/1.8.x/client-android/java/grids/list-rows.md new file mode 100644 index 0000000000..55336dc452 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/list-rows.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.listRows( + "", // databaseId + "", // tableId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/grids/update-row.md b/docs/examples/1.8.x/client-android/java/grids/update-row.md new file mode 100644 index 0000000000..23dc0907eb --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/update-row.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.updateRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data (optional) + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/grids/upsert-row.md b/docs/examples/1.8.x/client-android/java/grids/upsert-row.md new file mode 100644 index 0000000000..3938fde103 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/grids/upsert-row.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Grids grids = new Grids(client); + +grids.upsertRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data (optional) + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.8.x/client-android/kotlin/databases/create-document.md index 0bafb315e7..849a636afb 100644 --- a/docs/examples/1.8.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.8.x/client-android/kotlin/databases/create-document.md @@ -4,9 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token + .setProject("") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md b/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md index 7939fde2be..a31dfc8797 100644 --- a/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-android/kotlin/databases/upsert-document.md @@ -4,9 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token + .setProject("") // Your project ID val databases = Databases(client) @@ -14,4 +12,6 @@ val result = databases.upsertDocument( databaseId = "", collectionId = "", documentId = "", + data = mapOf( "a" to "b" ), + permissions = listOf("read("any")"), // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.8.x/client-android/kotlin/functions/create-execution.md index cb7c60bac1..5e1950b8d9 100644 --- a/docs/examples/1.8.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.8.x/client-android/kotlin/functions/create-execution.md @@ -15,5 +15,5 @@ val result = functions.createExecution( path = "", // (optional) method = ExecutionMethod.GET, // (optional) headers = mapOf( "a" to "b" ), // (optional) - scheduledAt = "", // (optional) + scheduledAt = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/create-row.md b/docs/examples/1.8.x/client-android/kotlin/grids/create-row.md new file mode 100644 index 0000000000..5b29ac0db0 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/create-row.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.createRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), + permissions = listOf("read("any")"), // (optional) +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/delete-row.md b/docs/examples/1.8.x/client-android/kotlin/grids/delete-row.md new file mode 100644 index 0000000000..e85ff6c4ad --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/delete-row.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.deleteRow( + databaseId = "", + tableId = "", + rowId = "", +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/get-row.md b/docs/examples/1.8.x/client-android/kotlin/grids/get-row.md new file mode 100644 index 0000000000..0b6c313645 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/get-row.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.getRow( + databaseId = "", + tableId = "", + rowId = "", + queries = listOf(), // (optional) +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/list-rows.md b/docs/examples/1.8.x/client-android/kotlin/grids/list-rows.md new file mode 100644 index 0000000000..153e62787f --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/list-rows.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.listRows( + databaseId = "", + tableId = "", + queries = listOf(), // (optional) +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/update-row.md b/docs/examples/1.8.x/client-android/kotlin/grids/update-row.md new file mode 100644 index 0000000000..8dff0b157c --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/update-row.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.updateRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), // (optional) + permissions = listOf("read("any")"), // (optional) +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/grids/upsert-row.md b/docs/examples/1.8.x/client-android/kotlin/grids/upsert-row.md new file mode 100644 index 0000000000..a6f5bb846e --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/grids/upsert-row.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val grids = Grids(client) + +val result = grids.upsertRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), // (optional) + permissions = listOf("read("any")"), // (optional) +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/databases/create-document.md b/docs/examples/1.8.x/client-apple/examples/databases/create-document.md index 6c2baee728..51adb64bb3 100644 --- a/docs/examples/1.8.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.8.x/client-apple/examples/databases/create-document.md @@ -2,9 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token + .setProject("") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md index bb713146ec..3e1bf83a66 100644 --- a/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-apple/examples/databases/upsert-document.md @@ -2,15 +2,15 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token + .setProject("") // Your project ID let databases = Databases(client) let document = try await databases.upsertDocument( databaseId: "", collectionId: "", - documentId: "" + documentId: "", + data: [:], + permissions: ["read("any")"] // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.8.x/client-apple/examples/functions/create-execution.md index 7470e9ebf6..b7311df846 100644 --- a/docs/examples/1.8.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-apple/examples/functions/create-execution.md @@ -14,6 +14,6 @@ let execution = try await functions.createExecution( path: "", // optional method: .gET, // optional headers: [:], // optional - scheduledAt: "" // optional + scheduledAt: "" // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/grids/create-row.md b/docs/examples/1.8.x/client-apple/examples/grids/create-row.md new file mode 100644 index 0000000000..0739b27949 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/create-row.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let row = try await grids.createRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/client-apple/examples/grids/delete-row.md b/docs/examples/1.8.x/client-apple/examples/grids/delete-row.md new file mode 100644 index 0000000000..58ae835ec5 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/delete-row.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let result = try await grids.deleteRow( + databaseId: "", + tableId: "", + rowId: "" +) + diff --git a/docs/examples/1.8.x/client-apple/examples/grids/get-row.md b/docs/examples/1.8.x/client-apple/examples/grids/get-row.md new file mode 100644 index 0000000000..fccdad1f34 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/get-row.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let row = try await grids.getRow( + databaseId: "", + tableId: "", + rowId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/client-apple/examples/grids/list-rows.md b/docs/examples/1.8.x/client-apple/examples/grids/list-rows.md new file mode 100644 index 0000000000..1b4d885a64 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/list-rows.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let rowList = try await grids.listRows( + databaseId: "", + tableId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/client-apple/examples/grids/update-row.md b/docs/examples/1.8.x/client-apple/examples/grids/update-row.md new file mode 100644 index 0000000000..95a3611a92 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/update-row.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let row = try await grids.updateRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], // optional + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/client-apple/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-apple/examples/grids/upsert-row.md new file mode 100644 index 0000000000..c5638a4881 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/grids/upsert-row.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let grids = Grids(client) + +let row = try await grids.upsertRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], // optional + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.8.x/client-flutter/examples/databases/create-document.md index 4f286fff95..27efc34580 100644 --- a/docs/examples/1.8.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.8.x/client-flutter/examples/databases/create-document.md @@ -2,9 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md index ec3af47c3a..398a99cb1d 100644 --- a/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-flutter/examples/databases/upsert-document.md @@ -2,9 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID Databases databases = Databases(client); @@ -12,4 +10,6 @@ Document result = await databases.upsertDocument( databaseId: '', collectionId: '', documentId: '', + data: {}, + permissions: ["read("any")"], // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.8.x/client-flutter/examples/functions/create-execution.md index d2a3d9e00a..bbd7cd37a6 100644 --- a/docs/examples/1.8.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-flutter/examples/functions/create-execution.md @@ -13,5 +13,5 @@ Execution result = await functions.createExecution( path: '', // optional method: ExecutionMethod.gET, // optional headers: {}, // optional - scheduledAt: '', // optional + scheduledAt: '', // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/create-row.md b/docs/examples/1.8.x/client-flutter/examples/grids/create-row.md new file mode 100644 index 0000000000..2f80a01806 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/create-row.md @@ -0,0 +1,15 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +Row result = await grids.createRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, + permissions: ["read("any")"], // optional +); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/delete-row.md b/docs/examples/1.8.x/client-flutter/examples/grids/delete-row.md new file mode 100644 index 0000000000..04f5aec544 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/delete-row.md @@ -0,0 +1,13 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +await grids.deleteRow( + databaseId: '', + tableId: '', + rowId: '', +); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/get-row.md b/docs/examples/1.8.x/client-flutter/examples/grids/get-row.md new file mode 100644 index 0000000000..a8a380ee7c --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/get-row.md @@ -0,0 +1,14 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +Row result = await grids.getRow( + databaseId: '', + tableId: '', + rowId: '', + queries: [], // optional +); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/list-rows.md b/docs/examples/1.8.x/client-flutter/examples/grids/list-rows.md new file mode 100644 index 0000000000..6654c57aaa --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/list-rows.md @@ -0,0 +1,13 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +RowList result = await grids.listRows( + databaseId: '', + tableId: '', + queries: [], // optional +); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/update-row.md b/docs/examples/1.8.x/client-flutter/examples/grids/update-row.md new file mode 100644 index 0000000000..293f38877a --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/update-row.md @@ -0,0 +1,15 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +Row result = await grids.updateRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, // optional + permissions: ["read("any")"], // optional +); diff --git a/docs/examples/1.8.x/client-flutter/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-flutter/examples/grids/upsert-row.md new file mode 100644 index 0000000000..2cec5621b7 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/grids/upsert-row.md @@ -0,0 +1,15 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Grids grids = Grids(client); + +Row result = await grids.upsertRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, // optional + permissions: ["read("any")"], // optional +); diff --git a/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md index c381fe35a3..9d1e753081 100644 --- a/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-graphql/examples/databases/upsert-document.md @@ -2,7 +2,9 @@ mutation { databasesUpsertDocument( databaseId: "", collectionId: "", - documentId: "" + documentId: "", + data: "{}", + permissions: ["read("any")"] ) { _id _sequence diff --git a/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md b/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md index 1479aa3bb6..8979880723 100644 --- a/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md @@ -6,7 +6,7 @@ mutation { path: "", method: "GET", headers: "{}", - scheduledAt: "" + scheduledAt: "" ) { _id _createdAt diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/create-row.md b/docs/examples/1.8.x/client-graphql/examples/grids/create-row.md new file mode 100644 index 0000000000..cffb7361f2 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/grids/create-row.md @@ -0,0 +1,18 @@ +mutation { + gridsCreateRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/delete-row.md b/docs/examples/1.8.x/client-graphql/examples/grids/delete-row.md new file mode 100644 index 0000000000..40dcbdc219 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/grids/delete-row.md @@ -0,0 +1,9 @@ +mutation { + gridsDeleteRow( + databaseId: "", + tableId: "", + rowId: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/get-row.md b/docs/examples/1.8.x/client-graphql/examples/grids/get-row.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/list-rows.md b/docs/examples/1.8.x/client-graphql/examples/grids/list-rows.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/update-row.md b/docs/examples/1.8.x/client-graphql/examples/grids/update-row.md new file mode 100644 index 0000000000..2bb105e8c0 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/grids/update-row.md @@ -0,0 +1,18 @@ +mutation { + gridsUpdateRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-graphql/examples/grids/upsert-row.md new file mode 100644 index 0000000000..f8e0606109 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/grids/upsert-row.md @@ -0,0 +1,18 @@ +mutation { + gridsUpsertRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/storage/create-file.md b/docs/examples/1.8.x/client-graphql/examples/storage/create-file.md index 97e2150c39..50161e433f 100644 --- a/docs/examples/1.8.x/client-graphql/examples/storage/create-file.md +++ b/docs/examples/1.8.x/client-graphql/examples/storage/create-file.md @@ -1,7 +1,7 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-react-native/examples/databases/create-document.md b/docs/examples/1.8.x/client-react-native/examples/databases/create-document.md index ec768fcfaf..1b28231ed3 100644 --- a/docs/examples/1.8.x/client-react-native/examples/databases/create-document.md +++ b/docs/examples/1.8.x/client-react-native/examples/databases/create-document.md @@ -2,9 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md index 56d3af23ae..ae423d12a7 100644 --- a/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-react-native/examples/databases/upsert-document.md @@ -2,16 +2,16 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); const result = await databases.upsertDocument( '', // databaseId '', // collectionId - '' // documentId + '', // documentId + {}, // data + ["read("any")"] // permissions (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/functions/create-execution.md b/docs/examples/1.8.x/client-react-native/examples/functions/create-execution.md index 72c71f7767..7d850c8103 100644 --- a/docs/examples/1.8.x/client-react-native/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-react-native/examples/functions/create-execution.md @@ -13,7 +13,7 @@ const result = await functions.createExecution( '', // path (optional) ExecutionMethod.GET, // method (optional) {}, // headers (optional) - '' // scheduledAt (optional) + '' // scheduledAt (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/create-row.md b/docs/examples/1.8.x/client-react-native/examples/grids/create-row.md new file mode 100644 index 0000000000..9fdbce2dd9 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/create-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/delete-row.md b/docs/examples/1.8.x/client-react-native/examples/grids/delete-row.md new file mode 100644 index 0000000000..33a5a50a69 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/delete-row.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteRow( + '', // databaseId + '', // tableId + '' // rowId +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/get-row.md b/docs/examples/1.8.x/client-react-native/examples/grids/get-row.md new file mode 100644 index 0000000000..7df0636b2e --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/get-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getRow( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/list-rows.md b/docs/examples/1.8.x/client-react-native/examples/grids/list-rows.md new file mode 100644 index 0000000000..3fd58773ef --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/list-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/update-row.md b/docs/examples/1.8.x/client-react-native/examples/grids/update-row.md new file mode 100644 index 0000000000..39b147758f --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/update-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-react-native/examples/grids/upsert-row.md new file mode 100644 index 0000000000..54443a6a4d --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/grids/upsert-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.upsertRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md index 2079b045d1..b62c82a6a8 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-anonymous-session.md @@ -1,6 +1,6 @@ POST /v1/account/sessions/anonymous HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md index 8aee0e5b15..1103d2ebfb 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ POST /v1/account/sessions/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md index 98c5c9b454..552b724b9c 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-email-token.md @@ -1,7 +1,7 @@ POST /v1/account/tokens/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-j-w-t.md b/docs/examples/1.8.x/client-rest/examples/account/create-j-w-t.md index a8da4695c3..62a7dee7e9 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-j-w-t.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-j-w-t.md @@ -1,6 +1,6 @@ POST /v1/account/jwts HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-magic-u-r-l-token.md index a3db43516a..29d68bd0fa 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ POST /v1/account/tokens/magic-url HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-authenticator.md index 8d6b52b877..62a068b6cf 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ POST /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md index 9a84c0ef69..dd5ef4c731 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ POST /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-recovery-codes.md index 797824d5d7..f09323df0b 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ POST /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2session.md b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2session.md index 293170b490..d136722ec8 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2session.md @@ -1,4 +1,4 @@ GET /v1/account/sessions/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2token.md b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2token.md index dd1dd3ec5e..8a0cab614f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-o-auth2token.md @@ -1,4 +1,4 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md b/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md index eef1021d9e..5127c8377a 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ POST /v1/account/tokens/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-phone-verification.md b/docs/examples/1.8.x/client-rest/examples/account/create-phone-verification.md index d161e580ff..57b3b7d160 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-phone-verification.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ POST /v1/account/verification/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-push-target.md b/docs/examples/1.8.x/client-rest/examples/account/create-push-target.md index 5844ccc19e..459a2a2ecc 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-push-target.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-push-target.md @@ -1,7 +1,7 @@ POST /v1/account/targets/push HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-recovery.md b/docs/examples/1.8.x/client-rest/examples/account/create-recovery.md index c195b96a5e..ea0146228b 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-recovery.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-recovery.md @@ -1,7 +1,7 @@ POST /v1/account/recovery HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-session.md b/docs/examples/1.8.x/client-rest/examples/account/create-session.md index 18e3b1acdd..0acc50cda6 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-session.md @@ -1,7 +1,7 @@ POST /v1/account/sessions/token HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-verification.md b/docs/examples/1.8.x/client-rest/examples/account/create-verification.md index 1185d3a875..ed5479dbe5 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-verification.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-verification.md @@ -1,7 +1,7 @@ POST /v1/account/verification HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/create.md b/docs/examples/1.8.x/client-rest/examples/account/create.md index f546c07de5..15bb386f41 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create.md @@ -1,7 +1,7 @@ POST /v1/account HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-identity.md b/docs/examples/1.8.x/client-rest/examples/account/delete-identity.md index edb036a593..bacca18870 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/delete-identity.md +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-identity.md @@ -1,7 +1,7 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-mfa-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/delete-mfa-authenticator.md index de58948195..a0eb5a0869 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-push-target.md b/docs/examples/1.8.x/client-rest/examples/account/delete-push-target.md index fdfc75a41b..9ec6e20d27 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/delete-push-target.md +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ DELETE /v1/account/targets/{targetId}/push HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-session.md b/docs/examples/1.8.x/client-rest/examples/account/delete-session.md index 9454a84913..c9b0f48d6f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/delete-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-session.md @@ -1,7 +1,7 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-sessions.md b/docs/examples/1.8.x/client-rest/examples/account/delete-sessions.md index 97931c12e5..0b3fcd1c45 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/delete-sessions.md +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ DELETE /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/get-mfa-recovery-codes.md index 81edee5234..2ab10a2475 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/client-rest/examples/account/get-mfa-recovery-codes.md @@ -1,6 +1,6 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/get-prefs.md b/docs/examples/1.8.x/client-rest/examples/account/get-prefs.md index 13a0b74d8f..a038dacbfd 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/get-prefs.md +++ b/docs/examples/1.8.x/client-rest/examples/account/get-prefs.md @@ -1,6 +1,6 @@ GET /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/get-session.md b/docs/examples/1.8.x/client-rest/examples/account/get-session.md index 9417755b04..3e372a05ef 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/get-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/get-session.md @@ -1,6 +1,6 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/get.md b/docs/examples/1.8.x/client-rest/examples/account/get.md index 023a6d116f..104b643074 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/get.md +++ b/docs/examples/1.8.x/client-rest/examples/account/get.md @@ -1,6 +1,6 @@ GET /v1/account HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/list-identities.md b/docs/examples/1.8.x/client-rest/examples/account/list-identities.md index 65edceb8d6..5acb221584 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/list-identities.md +++ b/docs/examples/1.8.x/client-rest/examples/account/list-identities.md @@ -1,6 +1,6 @@ GET /v1/account/identities HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/list-logs.md b/docs/examples/1.8.x/client-rest/examples/account/list-logs.md index 71e2e138ef..8314123c9e 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/list-logs.md +++ b/docs/examples/1.8.x/client-rest/examples/account/list-logs.md @@ -1,6 +1,6 @@ GET /v1/account/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/list-mfa-factors.md b/docs/examples/1.8.x/client-rest/examples/account/list-mfa-factors.md index 217ec6cb30..c591143d4e 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.8.x/client-rest/examples/account/list-mfa-factors.md @@ -1,6 +1,6 @@ GET /v1/account/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/list-sessions.md b/docs/examples/1.8.x/client-rest/examples/account/list-sessions.md index 7bff23f25b..89ef6962c9 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/list-sessions.md +++ b/docs/examples/1.8.x/client-rest/examples/account/list-sessions.md @@ -1,6 +1,6 @@ GET /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-email.md b/docs/examples/1.8.x/client-rest/examples/account/update-email.md index fc3baaf4a4..382327e31b 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-email.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-email.md @@ -1,7 +1,7 @@ PATCH /v1/account/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a.md b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a.md index 803c47a857..a22b169751 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ PATCH /v1/account/mfa HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.8.x/client-rest/examples/account/update-magic-u-r-l-session.md index 3238322e0f..1a82afbfcc 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ PUT /v1/account/sessions/magic-url HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-authenticator.md index 9d3e5dceea..780472291c 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md index ddc27ae334..b6a7e92b28 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ PUT /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-recovery-codes.md index e4ab8abb3b..74e9225f3e 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PATCH /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-name.md b/docs/examples/1.8.x/client-rest/examples/account/update-name.md index f2f7caa204..4c9c0e302c 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-name.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-name.md @@ -1,7 +1,7 @@ PATCH /v1/account/name HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-password.md b/docs/examples/1.8.x/client-rest/examples/account/update-password.md index 4f69b9ab3f..e05a1c2b7f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-password.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-password.md @@ -1,7 +1,7 @@ PATCH /v1/account/password HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md b/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md index f1bc27d201..54872eecd2 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ PUT /v1/account/sessions/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-phone-verification.md b/docs/examples/1.8.x/client-rest/examples/account/update-phone-verification.md index ee6f5a68ff..1d4dc22520 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-phone-verification.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ PUT /v1/account/verification/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-phone.md b/docs/examples/1.8.x/client-rest/examples/account/update-phone.md index bbe602a181..791caadb0d 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-phone.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-phone.md @@ -1,7 +1,7 @@ PATCH /v1/account/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-prefs.md b/docs/examples/1.8.x/client-rest/examples/account/update-prefs.md index aeabc2b68f..24f2d3bcb6 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-prefs.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-prefs.md @@ -1,7 +1,7 @@ PATCH /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-push-target.md b/docs/examples/1.8.x/client-rest/examples/account/update-push-target.md index 2e42a2d67f..95210b5a1c 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-push-target.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-push-target.md @@ -1,7 +1,7 @@ PUT /v1/account/targets/{targetId}/push HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-recovery.md b/docs/examples/1.8.x/client-rest/examples/account/update-recovery.md index 054aacc8ed..7d40ee79fe 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-recovery.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-recovery.md @@ -1,7 +1,7 @@ PUT /v1/account/recovery HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-session.md b/docs/examples/1.8.x/client-rest/examples/account/update-session.md index 9b2ba0e4a7..8e2257aeed 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-session.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-session.md @@ -1,7 +1,7 @@ PATCH /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-status.md b/docs/examples/1.8.x/client-rest/examples/account/update-status.md index 8a3e01db0b..557697fe5f 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-status.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-status.md @@ -1,7 +1,7 @@ PATCH /v1/account/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-verification.md b/docs/examples/1.8.x/client-rest/examples/account/update-verification.md index 0c5ed8b55d..a4dcbf76a3 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-verification.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-verification.md @@ -1,7 +1,7 @@ PUT /v1/account/verification HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-browser.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-browser.md index e5f6f22ab5..9de9d99173 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-browser.md @@ -1,6 +1,6 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-credit-card.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-credit-card.md index ab513115f8..ed30226d3b 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-credit-card.md @@ -1,6 +1,6 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-favicon.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-favicon.md index 837dba633c..8eaca9452e 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-favicon.md @@ -1,6 +1,6 @@ GET /v1/avatars/favicon HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-flag.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-flag.md index d0c92d7c02..07172e89d8 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-flag.md @@ -1,6 +1,6 @@ GET /v1/avatars/flags/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-image.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-image.md index 2f80018f20..98d4898e6f 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-image.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-image.md @@ -1,6 +1,6 @@ GET /v1/avatars/image HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-initials.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-initials.md index f3879b5d52..93a70a80ab 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-initials.md @@ -1,6 +1,6 @@ GET /v1/avatars/initials HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/avatars/get-q-r.md b/docs/examples/1.8.x/client-rest/examples/avatars/get-q-r.md index 263c54742c..39e513c810 100644 --- a/docs/examples/1.8.x/client-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.8.x/client-rest/examples/avatars/get-q-r.md @@ -1,6 +1,6 @@ GET /v1/avatars/qr HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/create-document.md b/docs/examples/1.8.x/client-rest/examples/databases/create-document.md index 3126197555..e9b165e2ac 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/create-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/create-document.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/delete-document.md b/docs/examples/1.8.x/client-rest/examples/databases/delete-document.md index 6b86aba853..2ee4f92ec4 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/delete-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/delete-document.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/get-document.md b/docs/examples/1.8.x/client-rest/examples/databases/get-document.md index a32db40087..dac5e48131 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/get-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/get-document.md @@ -1,6 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/list-documents.md b/docs/examples/1.8.x/client-rest/examples/databases/list-documents.md index 22ca529e89..e5c4936d6f 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/list-documents.md @@ -1,6 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/update-document.md b/docs/examples/1.8.x/client-rest/examples/databases/update-document.md index 945b957c6e..ffc5d36011 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/update-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/update-document.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md index 7cfa380a40..d2baeac6a8 100644 --- a/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-rest/examples/databases/upsert-document.md @@ -1,8 +1,12 @@ PUT /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/client-rest/examples/functions/create-execution.md b/docs/examples/1.8.x/client-rest/examples/functions/create-execution.md index fec92ddab0..4ae83f3096 100644 --- a/docs/examples/1.8.x/client-rest/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-rest/examples/functions/create-execution.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: @@ -12,5 +12,5 @@ X-Appwrite-JWT: "path": "", "method": "GET", "headers": {}, - "scheduledAt": + "scheduledAt": "" } diff --git a/docs/examples/1.8.x/client-rest/examples/functions/get-execution.md b/docs/examples/1.8.x/client-rest/examples/functions/get-execution.md index 7df2f3acbe..e2f3e97d10 100644 --- a/docs/examples/1.8.x/client-rest/examples/functions/get-execution.md +++ b/docs/examples/1.8.x/client-rest/examples/functions/get-execution.md @@ -1,6 +1,6 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/functions/list-executions.md b/docs/examples/1.8.x/client-rest/examples/functions/list-executions.md index b2ab0e05d1..445ed1fa83 100644 --- a/docs/examples/1.8.x/client-rest/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/client-rest/examples/functions/list-executions.md @@ -1,6 +1,6 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/graphql/mutation.md b/docs/examples/1.8.x/client-rest/examples/graphql/mutation.md index db3b1c0c78..4080765d58 100644 --- a/docs/examples/1.8.x/client-rest/examples/graphql/mutation.md +++ b/docs/examples/1.8.x/client-rest/examples/graphql/mutation.md @@ -2,7 +2,7 @@ POST /v1/graphql/mutation HTTP/1.1 Host: cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/graphql/query.md b/docs/examples/1.8.x/client-rest/examples/graphql/query.md index 8fc41efcfe..b05ce724c8 100644 --- a/docs/examples/1.8.x/client-rest/examples/graphql/query.md +++ b/docs/examples/1.8.x/client-rest/examples/graphql/query.md @@ -2,7 +2,7 @@ POST /v1/graphql HTTP/1.1 Host: cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/grids/create-row.md b/docs/examples/1.8.x/client-rest/examples/grids/create-row.md new file mode 100644 index 0000000000..98b261ecba --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/create-row.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "rowId": "", + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/client-rest/examples/grids/delete-row.md b/docs/examples/1.8.x/client-rest/examples/grids/delete-row.md new file mode 100644 index 0000000000..6f702a8526 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/delete-row.md @@ -0,0 +1,8 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/client-rest/examples/grids/get-row.md b/docs/examples/1.8.x/client-rest/examples/grids/get-row.md new file mode 100644 index 0000000000..876fe0f796 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/get-row.md @@ -0,0 +1,6 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/grids/list-rows.md b/docs/examples/1.8.x/client-rest/examples/grids/list-rows.md new file mode 100644 index 0000000000..86751cfcaf --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/list-rows.md @@ -0,0 +1,6 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/grids/update-row.md b/docs/examples/1.8.x/client-rest/examples/grids/update-row.md new file mode 100644 index 0000000000..bacfb5389a --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/update-row.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/client-rest/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-rest/examples/grids/upsert-row.md new file mode 100644 index 0000000000..7368fc436d --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/grids/upsert-row.md @@ -0,0 +1,12 @@ +PUT /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/client-rest/examples/locale/get.md b/docs/examples/1.8.x/client-rest/examples/locale/get.md index 0d67644583..8f8a1741e6 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/get.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/get.md @@ -1,6 +1,6 @@ GET /v1/locale HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-codes.md b/docs/examples/1.8.x/client-rest/examples/locale/list-codes.md index f362c5987e..61110f6527 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-codes.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-codes.md @@ -1,6 +1,6 @@ GET /v1/locale/codes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-continents.md b/docs/examples/1.8.x/client-rest/examples/locale/list-continents.md index 93db4fb302..cb96cc4e16 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-continents.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-continents.md @@ -1,6 +1,6 @@ GET /v1/locale/continents HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.8.x/client-rest/examples/locale/list-countries-e-u.md index 09eba6168f..d4de74a879 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-countries-e-u.md @@ -1,6 +1,6 @@ GET /v1/locale/countries/eu HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-countries-phones.md b/docs/examples/1.8.x/client-rest/examples/locale/list-countries-phones.md index 94ef0bb943..0e1ed67a7d 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-countries-phones.md @@ -1,6 +1,6 @@ GET /v1/locale/countries/phones HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-countries.md b/docs/examples/1.8.x/client-rest/examples/locale/list-countries.md index dc8289980a..58e487a875 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-countries.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-countries.md @@ -1,6 +1,6 @@ GET /v1/locale/countries HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-currencies.md b/docs/examples/1.8.x/client-rest/examples/locale/list-currencies.md index 9a3af20c94..a3a9b96c48 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-currencies.md @@ -1,6 +1,6 @@ GET /v1/locale/currencies HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/locale/list-languages.md b/docs/examples/1.8.x/client-rest/examples/locale/list-languages.md index 7d90c8b40a..8c7cbabddf 100644 --- a/docs/examples/1.8.x/client-rest/examples/locale/list-languages.md +++ b/docs/examples/1.8.x/client-rest/examples/locale/list-languages.md @@ -1,6 +1,6 @@ GET /v1/locale/languages HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/messaging/create-subscriber.md b/docs/examples/1.8.x/client-rest/examples/messaging/create-subscriber.md index 94e98c4438..708ec0782a 100644 --- a/docs/examples/1.8.x/client-rest/examples/messaging/create-subscriber.md +++ b/docs/examples/1.8.x/client-rest/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ POST /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-JWT: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/client-rest/examples/messaging/delete-subscriber.md b/docs/examples/1.8.x/client-rest/examples/messaging/delete-subscriber.md index e5ac0830a3..1cb9c3e516 100644 --- a/docs/examples/1.8.x/client-rest/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.8.x/client-rest/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-JWT: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/create-file.md b/docs/examples/1.8.x/client-rest/examples/storage/create-file.md index f044b577b2..0f83797b70 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/create-file.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/create-file.md @@ -1,7 +1,7 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/delete-file.md b/docs/examples/1.8.x/client-rest/examples/storage/delete-file.md index 8d074341fe..e00392a525 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/delete-file.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/delete-file.md @@ -1,7 +1,7 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/get-file-download.md b/docs/examples/1.8.x/client-rest/examples/storage/get-file-download.md index 58c9c6d276..92991d0727 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/get-file-download.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/get-file-preview.md b/docs/examples/1.8.x/client-rest/examples/storage/get-file-preview.md index ff24de4ec4..e84dd4dd85 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/get-file-preview.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/get-file-view.md b/docs/examples/1.8.x/client-rest/examples/storage/get-file-view.md index 9c95a2b48f..f482706f6f 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/get-file-view.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/get-file.md b/docs/examples/1.8.x/client-rest/examples/storage/get-file.md index ffb3703fe1..4f929caadf 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/get-file.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/get-file.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/list-files.md b/docs/examples/1.8.x/client-rest/examples/storage/list-files.md index d1258b97de..977bb9e713 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/list-files.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/list-files.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/storage/update-file.md b/docs/examples/1.8.x/client-rest/examples/storage/update-file.md index 210433622b..fed35bb860 100644 --- a/docs/examples/1.8.x/client-rest/examples/storage/update-file.md +++ b/docs/examples/1.8.x/client-rest/examples/storage/update-file.md @@ -1,7 +1,7 @@ PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/create-membership.md b/docs/examples/1.8.x/client-rest/examples/teams/create-membership.md index 83e4803502..f96f20c2b8 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/create-membership.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/create-membership.md @@ -1,7 +1,7 @@ POST /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/create.md b/docs/examples/1.8.x/client-rest/examples/teams/create.md index c80b2bda8e..33cf95ba01 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/create.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/create.md @@ -1,7 +1,7 @@ POST /v1/teams HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/delete-membership.md b/docs/examples/1.8.x/client-rest/examples/teams/delete-membership.md index 0fc17e11ee..8da481d5cf 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/delete-membership.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/delete.md b/docs/examples/1.8.x/client-rest/examples/teams/delete.md index ad614b17d1..d1dc59c23a 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/delete.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/delete.md @@ -1,7 +1,7 @@ DELETE /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/get-membership.md b/docs/examples/1.8.x/client-rest/examples/teams/get-membership.md index dbe034f34b..6e7379b0d7 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/get-membership.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/get-membership.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/get-prefs.md b/docs/examples/1.8.x/client-rest/examples/teams/get-prefs.md index ddb863181d..e541fd3fd8 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/get-prefs.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/get.md b/docs/examples/1.8.x/client-rest/examples/teams/get.md index 730d23a03b..32d9156267 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/get.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/get.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/list-memberships.md b/docs/examples/1.8.x/client-rest/examples/teams/list-memberships.md index 82a9f82c33..4e364053b3 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/list-memberships.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/list.md b/docs/examples/1.8.x/client-rest/examples/teams/list.md index 00a419269a..e5f0439a13 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/list.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/list.md @@ -1,6 +1,6 @@ GET /v1/teams HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/update-membership-status.md b/docs/examples/1.8.x/client-rest/examples/teams/update-membership-status.md index 9d828118f0..da2c9189cd 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/update-membership-status.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId}/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/update-membership.md b/docs/examples/1.8.x/client-rest/examples/teams/update-membership.md index 3768499d16..b1010ea460 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/update-membership.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/update-membership.md @@ -1,7 +1,7 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/update-name.md b/docs/examples/1.8.x/client-rest/examples/teams/update-name.md index ec381348e8..cd92d686ce 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/update-name.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/update-name.md @@ -1,7 +1,7 @@ PUT /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/teams/update-prefs.md b/docs/examples/1.8.x/client-rest/examples/teams/update-prefs.md index 1db6300350..e17dcdb260 100644 --- a/docs/examples/1.8.x/client-rest/examples/teams/update-prefs.md +++ b/docs/examples/1.8.x/client-rest/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ PUT /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-web/examples/databases/create-document.md b/docs/examples/1.8.x/client-web/examples/databases/create-document.md index 401a67488c..916cc92689 100644 --- a/docs/examples/1.8.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.8.x/client-web/examples/databases/create-document.md @@ -2,9 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md b/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md index a581396da8..cfefe06242 100644 --- a/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/client-web/examples/databases/upsert-document.md @@ -2,16 +2,16 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); const result = await databases.upsertDocument( '', // databaseId '', // collectionId - '' // documentId + '', // documentId + {}, // data + ["read("any")"] // permissions (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/functions/create-execution.md b/docs/examples/1.8.x/client-web/examples/functions/create-execution.md index 8f07523b2b..be9bb508c0 100644 --- a/docs/examples/1.8.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-web/examples/functions/create-execution.md @@ -13,7 +13,7 @@ const result = await functions.createExecution( '', // path (optional) ExecutionMethod.GET, // method (optional) {}, // headers (optional) - '' // scheduledAt (optional) + '' // scheduledAt (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/create-row.md b/docs/examples/1.8.x/client-web/examples/grids/create-row.md new file mode 100644 index 0000000000..9dc6de2769 --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/create-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/delete-row.md b/docs/examples/1.8.x/client-web/examples/grids/delete-row.md new file mode 100644 index 0000000000..7d3fb7df7e --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/delete-row.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteRow( + '', // databaseId + '', // tableId + '' // rowId +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/get-row.md b/docs/examples/1.8.x/client-web/examples/grids/get-row.md new file mode 100644 index 0000000000..778377b61b --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/get-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getRow( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/list-rows.md b/docs/examples/1.8.x/client-web/examples/grids/list-rows.md new file mode 100644 index 0000000000..07de125329 --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/list-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/update-row.md b/docs/examples/1.8.x/client-web/examples/grids/update-row.md new file mode 100644 index 0000000000..f37659e3ca --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/update-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/grids/upsert-row.md b/docs/examples/1.8.x/client-web/examples/grids/upsert-row.md new file mode 100644 index 0000000000..8850c27ebd --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/grids/upsert-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.upsertRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md b/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md index 151e466d02..40932014ba 100644 --- a/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/console-cli/examples/databases/upsert-document.md @@ -1,4 +1,6 @@ appwrite databases upsertDocument \ --databaseId \ --collectionId \ - --documentId + --documentId \ + --data '{ "key": "value" }' \ + diff --git a/docs/examples/1.8.x/console-cli/examples/databases/upsert-documents.md b/docs/examples/1.8.x/console-cli/examples/databases/upsert-documents.md index 30c7dc5b4b..cb1677b14c 100644 --- a/docs/examples/1.8.x/console-cli/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/console-cli/examples/databases/upsert-documents.md @@ -1,3 +1,4 @@ appwrite databases upsertDocuments \ --databaseId \ - --collectionId + --collectionId \ + --documents one two three diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..3a26ed2935 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-boolean-column.md @@ -0,0 +1,7 @@ +appwrite grids createBooleanColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-database.md b/docs/examples/1.8.x/console-cli/examples/grids/create-database.md new file mode 100644 index 0000000000..741d5f83ee --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-database.md @@ -0,0 +1,4 @@ +appwrite grids createDatabase \ + --databaseId \ + --name \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..1efced687d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-datetime-column.md @@ -0,0 +1,7 @@ +appwrite grids createDatetimeColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-email-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-email-column.md new file mode 100644 index 0000000000..f0758d2753 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-email-column.md @@ -0,0 +1,7 @@ +appwrite grids createEmailColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-enum-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..e6ca5fdbd6 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-enum-column.md @@ -0,0 +1,8 @@ +appwrite grids createEnumColumn \ + --databaseId \ + --tableId \ + --key '' \ + --elements one two three \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-float-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-float-column.md new file mode 100644 index 0000000000..a17535614d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-float-column.md @@ -0,0 +1,9 @@ +appwrite grids createFloatColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-index.md b/docs/examples/1.8.x/console-cli/examples/grids/create-index.md new file mode 100644 index 0000000000..9b92ecc614 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-index.md @@ -0,0 +1,8 @@ +appwrite grids createIndex \ + --databaseId \ + --tableId \ + --key '' \ + --type key \ + --columns one two three \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-integer-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..0e7d408fea --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-integer-column.md @@ -0,0 +1,9 @@ +appwrite grids createIntegerColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-ip-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..bc16e6b9a7 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-ip-column.md @@ -0,0 +1,7 @@ +appwrite grids createIpColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..d60fd4516a --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-relationship-column.md @@ -0,0 +1,9 @@ +appwrite grids createRelationshipColumn \ + --databaseId \ + --tableId \ + --relatedTableId \ + --type oneToOne \ + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-row.md b/docs/examples/1.8.x/console-cli/examples/grids/create-row.md new file mode 100644 index 0000000000..f59ac8253c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-row.md @@ -0,0 +1,6 @@ +appwrite grids createRow \ + --databaseId \ + --tableId \ + --rowId \ + --data '{ "key": "value" }' \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-rows.md b/docs/examples/1.8.x/console-cli/examples/grids/create-rows.md new file mode 100644 index 0000000000..8d89674dc6 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-rows.md @@ -0,0 +1,4 @@ +appwrite grids createRows \ + --databaseId \ + --tableId \ + --rows one two three diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-string-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-string-column.md new file mode 100644 index 0000000000..658bedec06 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-string-column.md @@ -0,0 +1,9 @@ +appwrite grids createStringColumn \ + --databaseId \ + --tableId \ + --key '' \ + --size 1 \ + --required false \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-table.md b/docs/examples/1.8.x/console-cli/examples/grids/create-table.md new file mode 100644 index 0000000000..9e707fde1c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-table.md @@ -0,0 +1,7 @@ +appwrite grids createTable \ + --databaseId \ + --tableId \ + --name \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/create-url-column.md b/docs/examples/1.8.x/console-cli/examples/grids/create-url-column.md new file mode 100644 index 0000000000..88adbdbb5d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/create-url-column.md @@ -0,0 +1,7 @@ +appwrite grids createUrlColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/console-cli/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..f3c1a50c2d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/decrement-row-column.md @@ -0,0 +1,7 @@ +appwrite grids decrementRowColumn \ + --databaseId \ + --tableId \ + --rowId \ + --column '' \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-column.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-column.md new file mode 100644 index 0000000000..0b60af67cc --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-column.md @@ -0,0 +1,4 @@ +appwrite grids deleteColumn \ + --databaseId \ + --tableId \ + --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-database.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-database.md new file mode 100644 index 0000000000..c5e0ad3c63 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-database.md @@ -0,0 +1,2 @@ +appwrite grids deleteDatabase \ + --databaseId diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-index.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-index.md new file mode 100644 index 0000000000..0a1f6dc404 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-index.md @@ -0,0 +1,4 @@ +appwrite grids deleteIndex \ + --databaseId \ + --tableId \ + --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-row.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-row.md new file mode 100644 index 0000000000..b360f6919a --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-row.md @@ -0,0 +1,4 @@ +appwrite grids deleteRow \ + --databaseId \ + --tableId \ + --rowId diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-rows.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-rows.md new file mode 100644 index 0000000000..46b768f28d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-rows.md @@ -0,0 +1,4 @@ +appwrite grids deleteRows \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/delete-table.md b/docs/examples/1.8.x/console-cli/examples/grids/delete-table.md new file mode 100644 index 0000000000..416a07052d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/delete-table.md @@ -0,0 +1,3 @@ +appwrite grids deleteTable \ + --databaseId \ + --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-column.md b/docs/examples/1.8.x/console-cli/examples/grids/get-column.md new file mode 100644 index 0000000000..f875d56d33 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-column.md @@ -0,0 +1,4 @@ +appwrite grids getColumn \ + --databaseId \ + --tableId \ + --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-database-usage.md b/docs/examples/1.8.x/console-cli/examples/grids/get-database-usage.md new file mode 100644 index 0000000000..0c35ea978d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-database-usage.md @@ -0,0 +1,3 @@ +appwrite grids getDatabaseUsage \ + --databaseId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-database.md b/docs/examples/1.8.x/console-cli/examples/grids/get-database.md new file mode 100644 index 0000000000..f2232bb5c0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-database.md @@ -0,0 +1,2 @@ +appwrite grids getDatabase \ + --databaseId diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-index.md b/docs/examples/1.8.x/console-cli/examples/grids/get-index.md new file mode 100644 index 0000000000..6f88f74c23 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-index.md @@ -0,0 +1,4 @@ +appwrite grids getIndex \ + --databaseId \ + --tableId \ + --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-row.md b/docs/examples/1.8.x/console-cli/examples/grids/get-row.md new file mode 100644 index 0000000000..73cc207eec --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-row.md @@ -0,0 +1,5 @@ +appwrite grids getRow \ + --databaseId \ + --tableId \ + --rowId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-table-usage.md b/docs/examples/1.8.x/console-cli/examples/grids/get-table-usage.md new file mode 100644 index 0000000000..e4002ec61e --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-table-usage.md @@ -0,0 +1,4 @@ +appwrite grids getTableUsage \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/get-table.md b/docs/examples/1.8.x/console-cli/examples/grids/get-table.md new file mode 100644 index 0000000000..e44c98ad83 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/get-table.md @@ -0,0 +1,3 @@ +appwrite grids getTable \ + --databaseId \ + --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/grids/increment-row-column.md b/docs/examples/1.8.x/console-cli/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..b4b84b6392 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/increment-row-column.md @@ -0,0 +1,7 @@ +appwrite grids incrementRowColumn \ + --databaseId \ + --tableId \ + --rowId \ + --column '' \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-columns.md b/docs/examples/1.8.x/console-cli/examples/grids/list-columns.md new file mode 100644 index 0000000000..968643bb6c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-columns.md @@ -0,0 +1,4 @@ +appwrite grids listColumns \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-database-logs.md b/docs/examples/1.8.x/console-cli/examples/grids/list-database-logs.md new file mode 100644 index 0000000000..c135a2b358 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-database-logs.md @@ -0,0 +1,3 @@ +appwrite grids listDatabaseLogs \ + --databaseId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-database-usage.md b/docs/examples/1.8.x/console-cli/examples/grids/list-database-usage.md new file mode 100644 index 0000000000..f13c4e4e0a --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-database-usage.md @@ -0,0 +1,2 @@ +appwrite grids listDatabaseUsage \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-databases.md b/docs/examples/1.8.x/console-cli/examples/grids/list-databases.md new file mode 100644 index 0000000000..11d448043a --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-databases.md @@ -0,0 +1,3 @@ +appwrite grids listDatabases \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-indexes.md b/docs/examples/1.8.x/console-cli/examples/grids/list-indexes.md new file mode 100644 index 0000000000..85df307deb --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-indexes.md @@ -0,0 +1,4 @@ +appwrite grids listIndexes \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-row-logs.md b/docs/examples/1.8.x/console-cli/examples/grids/list-row-logs.md new file mode 100644 index 0000000000..3a073e4708 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-row-logs.md @@ -0,0 +1,5 @@ +appwrite grids listRowLogs \ + --databaseId \ + --tableId \ + --rowId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-rows.md b/docs/examples/1.8.x/console-cli/examples/grids/list-rows.md new file mode 100644 index 0000000000..99bf470bfb --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-rows.md @@ -0,0 +1,4 @@ +appwrite grids listRows \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-table-logs.md b/docs/examples/1.8.x/console-cli/examples/grids/list-table-logs.md new file mode 100644 index 0000000000..e38af040a6 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-table-logs.md @@ -0,0 +1,4 @@ +appwrite grids listTableLogs \ + --databaseId \ + --tableId \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/list-tables.md b/docs/examples/1.8.x/console-cli/examples/grids/list-tables.md new file mode 100644 index 0000000000..69f464ba86 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/list-tables.md @@ -0,0 +1,4 @@ +appwrite grids listTables \ + --databaseId \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..a980b12aa0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-boolean-column.md @@ -0,0 +1,7 @@ +appwrite grids updateBooleanColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default false \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-database.md b/docs/examples/1.8.x/console-cli/examples/grids/update-database.md new file mode 100644 index 0000000000..079e88dfd0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-database.md @@ -0,0 +1,4 @@ +appwrite grids updateDatabase \ + --databaseId \ + --name \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..97ee021e80 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-datetime-column.md @@ -0,0 +1,7 @@ +appwrite grids updateDatetimeColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default '' \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-email-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-email-column.md new file mode 100644 index 0000000000..d8b0827d62 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-email-column.md @@ -0,0 +1,7 @@ +appwrite grids updateEmailColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default email@example.com \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-enum-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..82eb62f996 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-enum-column.md @@ -0,0 +1,8 @@ +appwrite grids updateEnumColumn \ + --databaseId \ + --tableId \ + --key '' \ + --elements one two three \ + --required false \ + --default \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-float-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-float-column.md new file mode 100644 index 0000000000..ef3a4ad36f --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-float-column.md @@ -0,0 +1,9 @@ +appwrite grids updateFloatColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default null \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-integer-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..5b83ca938b --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-integer-column.md @@ -0,0 +1,9 @@ +appwrite grids updateIntegerColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default null \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-ip-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..b0e6b8cf3a --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-ip-column.md @@ -0,0 +1,7 @@ +appwrite grids updateIpColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default '' \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..00ddda788c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-relationship-column.md @@ -0,0 +1,6 @@ +appwrite grids updateRelationshipColumn \ + --databaseId \ + --tableId \ + --key '' \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-row.md b/docs/examples/1.8.x/console-cli/examples/grids/update-row.md new file mode 100644 index 0000000000..b89566b570 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-row.md @@ -0,0 +1,6 @@ +appwrite grids updateRow \ + --databaseId \ + --tableId \ + --rowId \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-rows.md b/docs/examples/1.8.x/console-cli/examples/grids/update-rows.md new file mode 100644 index 0000000000..72c63ddb41 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-rows.md @@ -0,0 +1,5 @@ +appwrite grids updateRows \ + --databaseId \ + --tableId \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-string-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-string-column.md new file mode 100644 index 0000000000..a6b6280560 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-string-column.md @@ -0,0 +1,8 @@ +appwrite grids updateStringColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-table.md b/docs/examples/1.8.x/console-cli/examples/grids/update-table.md new file mode 100644 index 0000000000..66e26b1752 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-table.md @@ -0,0 +1,7 @@ +appwrite grids updateTable \ + --databaseId \ + --tableId \ + --name \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/update-url-column.md b/docs/examples/1.8.x/console-cli/examples/grids/update-url-column.md new file mode 100644 index 0000000000..ad41af9fa1 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/update-url-column.md @@ -0,0 +1,7 @@ +appwrite grids updateUrlColumn \ + --databaseId \ + --tableId \ + --key '' \ + --required false \ + --default https://example.com \ + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/upsert-row.md b/docs/examples/1.8.x/console-cli/examples/grids/upsert-row.md new file mode 100644 index 0000000000..8a356e7a1e --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/upsert-row.md @@ -0,0 +1,6 @@ +appwrite grids upsertRow \ + --databaseId \ + --tableId \ + --rowId \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/grids/upsert-rows.md b/docs/examples/1.8.x/console-cli/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..e4e31c1e83 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/grids/upsert-rows.md @@ -0,0 +1,4 @@ +appwrite grids upsertRows \ + --databaseId \ + --tableId \ + --rows one two three diff --git a/docs/examples/1.8.x/console-web/examples/databases/create-document.md b/docs/examples/1.8.x/console-web/examples/databases/create-document.md index 4524017dd5..1b96d07899 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.8.x/console-web/examples/databases/create-document.md @@ -2,9 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.8.x/console-web/examples/databases/create-documents.md b/docs/examples/1.8.x/console-web/examples/databases/create-documents.md index f7ffbe809c..09f3007208 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/console-web/examples/databases/create-documents.md @@ -2,8 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key + .setProject(''); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md b/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md index 6d92656543..3b89ed3aef 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/console-web/examples/databases/upsert-document.md @@ -2,16 +2,16 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject(''); // Your project ID const databases = new Databases(client); const result = await databases.upsertDocument( '', // databaseId '', // collectionId - '' // documentId + '', // documentId + {}, // data + ["read("any")"] // permissions (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/upsert-documents.md b/docs/examples/1.8.x/console-web/examples/databases/upsert-documents.md index 519b0ec160..2d12f7caec 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/console-web/examples/databases/upsert-documents.md @@ -2,14 +2,14 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key + .setProject(''); // Your project ID const databases = new Databases(client); const result = await databases.upsertDocuments( '', // databaseId - '' // collectionId + '', // collectionId + [] // documents ); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/functions/create-execution.md b/docs/examples/1.8.x/console-web/examples/functions/create-execution.md index 813e1fd0a7..1886a831f2 100644 --- a/docs/examples/1.8.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/console-web/examples/functions/create-execution.md @@ -13,7 +13,7 @@ const result = await functions.createExecution( '', // path (optional) ExecutionMethod.GET, // method (optional) {}, // headers (optional) - '' // scheduledAt (optional) + '' // scheduledAt (optional) ); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..5a61510aa7 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-boolean-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-database.md b/docs/examples/1.8.x/console-web/examples/grids/create-database.md new file mode 100644 index 0000000000..b7eeb33253 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-database.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..7580178d62 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-datetime-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-email-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-email-column.md new file mode 100644 index 0000000000..9e44cbbd66 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-email-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-enum-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..c596b1408a --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-enum-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-float-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-float-column.md new file mode 100644 index 0000000000..d1b4c21898 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-float-column.md @@ -0,0 +1,20 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-index.md b/docs/examples/1.8.x/console-web/examples/grids/create-index.md new file mode 100644 index 0000000000..2c22cafde8 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-index.md @@ -0,0 +1,19 @@ +import { Client, Grids, IndexType } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createIndex( + '', // databaseId + '', // tableId + '', // key + IndexType.Key, // type + [], // columns + [], // orders (optional) + [] // lengths (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-integer-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..709694e358 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-integer-column.md @@ -0,0 +1,20 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-ip-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..1691d3fc81 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-ip-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..5536e26488 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-relationship-column.md @@ -0,0 +1,20 @@ +import { Client, Grids, RelationshipType, RelationMutate } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createRelationshipColumn( + '', // databaseId + '', // tableId + '', // relatedTableId + RelationshipType.OneToOne, // type + false, // twoWay (optional) + '', // key (optional) + '', // twoWayKey (optional) + RelationMutate.Cascade // onDelete (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-row.md b/docs/examples/1.8.x/console-web/examples/grids/create-row.md new file mode 100644 index 0000000000..f5259cff2d --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-rows.md b/docs/examples/1.8.x/console-web/examples/grids/create-rows.md new file mode 100644 index 0000000000..ff84c045cb --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createRows( + '', // databaseId + '', // tableId + [] // rows +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-string-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-string-column.md new file mode 100644 index 0000000000..4032caede0 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-string-column.md @@ -0,0 +1,20 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createStringColumn( + '', // databaseId + '', // tableId + '', // key + 1, // size + false, // required + '', // default (optional) + false, // array (optional) + false // encrypt (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-table.md b/docs/examples/1.8.x/console-web/examples/grids/create-table.md new file mode 100644 index 0000000000..74227efe98 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-table.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/create-url-column.md b/docs/examples/1.8.x/console-web/examples/grids/create-url-column.md new file mode 100644 index 0000000000..4991da6cd6 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/create-url-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.createUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default (optional) + false // array (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/console-web/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..6e0abb0ac8 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/decrement-row-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.decrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // min (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-column.md b/docs/examples/1.8.x/console-web/examples/grids/delete-column.md new file mode 100644 index 0000000000..8e46121f01 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-column.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteColumn( + '', // databaseId + '', // tableId + '' // key +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-database.md b/docs/examples/1.8.x/console-web/examples/grids/delete-database.md new file mode 100644 index 0000000000..b34b4adfdb --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-database.md @@ -0,0 +1,13 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteDatabase( + '' // databaseId +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-index.md b/docs/examples/1.8.x/console-web/examples/grids/delete-index.md new file mode 100644 index 0000000000..9e405de80f --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-index.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteIndex( + '', // databaseId + '', // tableId + '' // key +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-row.md b/docs/examples/1.8.x/console-web/examples/grids/delete-row.md new file mode 100644 index 0000000000..cc49130d4f --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-row.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteRow( + '', // databaseId + '', // tableId + '' // rowId +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-rows.md b/docs/examples/1.8.x/console-web/examples/grids/delete-rows.md new file mode 100644 index 0000000000..fdaa4278fa --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/delete-table.md b/docs/examples/1.8.x/console-web/examples/grids/delete-table.md new file mode 100644 index 0000000000..1817122ec3 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/delete-table.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.deleteTable( + '', // databaseId + '' // tableId +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-column.md b/docs/examples/1.8.x/console-web/examples/grids/get-column.md new file mode 100644 index 0000000000..116cee2f24 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-column.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getColumn( + '', // databaseId + '', // tableId + '' // key +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-database-usage.md b/docs/examples/1.8.x/console-web/examples/grids/get-database-usage.md new file mode 100644 index 0000000000..f961dc4fdf --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-database-usage.md @@ -0,0 +1,14 @@ +import { Client, Grids, DatabaseUsageRange } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getDatabaseUsage( + '', // databaseId + DatabaseUsageRange.TwentyFourHours // range (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-database.md b/docs/examples/1.8.x/console-web/examples/grids/get-database.md new file mode 100644 index 0000000000..d41e9c2d45 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-database.md @@ -0,0 +1,13 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getDatabase( + '' // databaseId +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-index.md b/docs/examples/1.8.x/console-web/examples/grids/get-index.md new file mode 100644 index 0000000000..34880a8c0e --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-index.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getIndex( + '', // databaseId + '', // tableId + '' // key +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-row.md b/docs/examples/1.8.x/console-web/examples/grids/get-row.md new file mode 100644 index 0000000000..29b51f2225 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getRow( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-table-usage.md b/docs/examples/1.8.x/console-web/examples/grids/get-table-usage.md new file mode 100644 index 0000000000..5684786fb7 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-table-usage.md @@ -0,0 +1,15 @@ +import { Client, Grids, GridUsageRange } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getTableUsage( + '', // databaseId + '', // tableId + GridUsageRange.TwentyFourHours // range (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/get-table.md b/docs/examples/1.8.x/console-web/examples/grids/get-table.md new file mode 100644 index 0000000000..b98d321f28 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/get-table.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.getTable( + '', // databaseId + '' // tableId +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/increment-row-column.md b/docs/examples/1.8.x/console-web/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..5177cd6c08 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/increment-row-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.incrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // max (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-columns.md b/docs/examples/1.8.x/console-web/examples/grids/list-columns.md new file mode 100644 index 0000000000..cd72e91daf --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-columns.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listColumns( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-database-logs.md b/docs/examples/1.8.x/console-web/examples/grids/list-database-logs.md new file mode 100644 index 0000000000..cf20dc6b49 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-database-logs.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listDatabaseLogs( + '', // databaseId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-database-usage.md b/docs/examples/1.8.x/console-web/examples/grids/list-database-usage.md new file mode 100644 index 0000000000..09faf5f2f5 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-database-usage.md @@ -0,0 +1,13 @@ +import { Client, Grids, DatabaseUsageRange } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listDatabaseUsage( + DatabaseUsageRange.TwentyFourHours // range (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-databases.md b/docs/examples/1.8.x/console-web/examples/grids/list-databases.md new file mode 100644 index 0000000000..871d29ebe8 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-databases.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listDatabases( + [], // queries (optional) + '' // search (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-indexes.md b/docs/examples/1.8.x/console-web/examples/grids/list-indexes.md new file mode 100644 index 0000000000..b8755d0b82 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-indexes.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listIndexes( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-row-logs.md b/docs/examples/1.8.x/console-web/examples/grids/list-row-logs.md new file mode 100644 index 0000000000..0fcde33520 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-row-logs.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listRowLogs( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-rows.md b/docs/examples/1.8.x/console-web/examples/grids/list-rows.md new file mode 100644 index 0000000000..4eb3b71407 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-table-logs.md b/docs/examples/1.8.x/console-web/examples/grids/list-table-logs.md new file mode 100644 index 0000000000..e7f756886d --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-table-logs.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listTableLogs( + '', // databaseId + '', // tableId + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/list-tables.md b/docs/examples/1.8.x/console-web/examples/grids/list-tables.md new file mode 100644 index 0000000000..9288788dfe --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/list-tables.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.listTables( + '', // databaseId + [], // queries (optional) + '' // search (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..84dd95cd41 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-boolean-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-database.md b/docs/examples/1.8.x/console-web/examples/grids/update-database.md new file mode 100644 index 0000000000..abd6b285fd --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-database.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..81fa471471 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-datetime-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-email-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-email-column.md new file mode 100644 index 0000000000..3a63b0d4d3 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-email-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-enum-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..7c6d2e1b03 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-enum-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-float-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-float-column.md new file mode 100644 index 0000000000..6662f4b00f --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-float-column.md @@ -0,0 +1,20 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-integer-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..95c0510a1a --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-integer-column.md @@ -0,0 +1,20 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-ip-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..e92db67751 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-ip-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..bdfd71f71c --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-relationship-column.md @@ -0,0 +1,17 @@ +import { Client, Grids, RelationMutate } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateRelationshipColumn( + '', // databaseId + '', // tableId + '', // key + RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-row.md b/docs/examples/1.8.x/console-web/examples/grids/update-row.md new file mode 100644 index 0000000000..a86f5fd58b --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-rows.md b/docs/examples/1.8.x/console-web/examples/grids/update-rows.md new file mode 100644 index 0000000000..939615a5bd --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-rows.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateRows( + '', // databaseId + '', // tableId + {}, // data (optional) + [] // queries (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-string-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-string-column.md new file mode 100644 index 0000000000..b0b92f041e --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-string-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateStringColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + 1, // size (optional) + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-table.md b/docs/examples/1.8.x/console-web/examples/grids/update-table.md new file mode 100644 index 0000000000..8988133beb --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-table.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/update-url-column.md b/docs/examples/1.8.x/console-web/examples/grids/update-url-column.md new file mode 100644 index 0000000000..ecad0043a3 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/update-url-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.updateUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default + '' // newKey (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/upsert-row.md b/docs/examples/1.8.x/console-web/examples/grids/upsert-row.md new file mode 100644 index 0000000000..66764b001a --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/upsert-row.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.upsertRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/grids/upsert-rows.md b/docs/examples/1.8.x/console-web/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..b79a74d7e1 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/grids/upsert-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const grids = new Grids(client); + +const result = await grids.upsertRows( + '', // databaseId + '', // tableId + [] // rows +); + +console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/create-document.md b/docs/examples/1.8.x/server-dart/examples/databases/create-document.md index 1c9af5112c..1d58fc586c 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/create-document.md @@ -2,9 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/create-documents.md b/docs/examples/1.8.x/server-dart/examples/databases/create-documents.md index f66ef9f1a9..ba0e34950b 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/create-documents.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md index f17f6cbbbd..93e306ebce 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/upsert-document.md @@ -2,9 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with Databases databases = Databases(client); @@ -12,4 +11,6 @@ Document result = await databases.upsertDocument( databaseId: '', collectionId: '', documentId: '', + data: {}, + permissions: ["read("any")"], // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-dart/examples/databases/upsert-documents.md index f60a37935a..cd35014f63 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/upsert-documents.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key Databases databases = Databases(client); @@ -10,4 +10,5 @@ Databases databases = Databases(client); DocumentList result = await databases.upsertDocuments( databaseId: '', collectionId: '', + documents: [], ); diff --git a/docs/examples/1.8.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.8.x/server-dart/examples/functions/create-execution.md index 2ae64bce55..64b28d5f0c 100644 --- a/docs/examples/1.8.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-dart/examples/functions/create-execution.md @@ -14,5 +14,5 @@ Execution result = await functions.createExecution( path: '', // (optional) method: ExecutionMethod.gET, // (optional) headers: {}, // (optional) - scheduledAt: '', // (optional) + scheduledAt: '', // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..d462336207 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-boolean-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnBoolean result = await grids.createBooleanColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: false, // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-database.md b/docs/examples/1.8.x/server-dart/examples/grids/create-database.md new file mode 100644 index 0000000000..d77e3747c9 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-database.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Database result = await grids.createDatabase( + databaseId: '', + name: '', + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..88365e0d0f --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-datetime-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnDatetime result = await grids.createDatetimeColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: '', // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-email-column.md new file mode 100644 index 0000000000..69d6c03d8f --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-email-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnEmail result = await grids.createEmailColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 'email@example.com', // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..a3a1e3ff60 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-enum-column.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnEnum result = await grids.createEnumColumn( + databaseId: '', + tableId: '', + key: '', + elements: [], + xrequired: false, + xdefault: '', // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-float-column.md new file mode 100644 index 0000000000..eba5e98ccc --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-float-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnFloat result = await grids.createFloatColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + min: 0, // (optional) + max: 0, // (optional) + xdefault: 0, // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-index.md b/docs/examples/1.8.x/server-dart/examples/grids/create-index.md new file mode 100644 index 0000000000..4926b9ec83 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-index.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnIndex result = await grids.createIndex( + databaseId: '', + tableId: '', + key: '', + type: IndexType.key, + columns: [], + orders: [], // (optional) + lengths: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..d5bfdf3144 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-integer-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnInteger result = await grids.createIntegerColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + min: 0, // (optional) + max: 0, // (optional) + xdefault: 0, // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..91b83fde8c --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-ip-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnIp result = await grids.createIpColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: '', // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..99f0427a85 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-relationship-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnRelationship result = await grids.createRelationshipColumn( + databaseId: '', + tableId: '', + relatedTableId: '', + type: RelationshipType.oneToOne, + twoWay: false, // (optional) + key: '', // (optional) + twoWayKey: '', // (optional) + onDelete: RelationMutate.cascade, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-row.md b/docs/examples/1.8.x/server-dart/examples/grids/create-row.md new file mode 100644 index 0000000000..4db0893686 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-row.md @@ -0,0 +1,16 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +Row result = await grids.createRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, + permissions: ["read("any")"], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-rows.md b/docs/examples/1.8.x/server-dart/examples/grids/create-rows.md new file mode 100644 index 0000000000..111d061c3e --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-rows.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +RowList result = await grids.createRows( + databaseId: '', + tableId: '', + rows: [], +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-string-column.md new file mode 100644 index 0000000000..74b9cb7fa6 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-string-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnString result = await grids.createStringColumn( + databaseId: '', + tableId: '', + key: '', + size: 1, + xrequired: false, + xdefault: '', // (optional) + array: false, // (optional) + encrypt: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-table.md b/docs/examples/1.8.x/server-dart/examples/grids/create-table.md new file mode 100644 index 0000000000..1bb7afadd3 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-table.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Table result = await grids.createTable( + databaseId: '', + tableId: '', + name: '', + permissions: ["read("any")"], // (optional) + rowSecurity: false, // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-dart/examples/grids/create-url-column.md new file mode 100644 index 0000000000..cc129fce97 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/create-url-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnUrl result = await grids.createUrlColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 'https://example.com', // (optional) + array: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-dart/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..ad0744dbc6 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/decrement-row-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Row result = await grids.decrementRowColumn( + databaseId: '', + tableId: '', + rowId: '', + column: '', + value: 0, // (optional) + min: 0, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-column.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-column.md new file mode 100644 index 0000000000..e326064f4f --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-column.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +await grids.deleteColumn( + databaseId: '', + tableId: '', + key: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-database.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-database.md new file mode 100644 index 0000000000..0738454382 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-database.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +await grids.deleteDatabase( + databaseId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-index.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-index.md new file mode 100644 index 0000000000..14dbccb979 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-index.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +await grids.deleteIndex( + databaseId: '', + tableId: '', + key: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-row.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-row.md new file mode 100644 index 0000000000..8a37455490 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-row.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +await grids.deleteRow( + databaseId: '', + tableId: '', + rowId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-rows.md new file mode 100644 index 0000000000..dd2214fc68 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-rows.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +await grids.deleteRows( + databaseId: '', + tableId: '', + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/delete-table.md b/docs/examples/1.8.x/server-dart/examples/grids/delete-table.md new file mode 100644 index 0000000000..af29d31b87 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/delete-table.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +await grids.deleteTable( + databaseId: '', + tableId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/get-column.md b/docs/examples/1.8.x/server-dart/examples/grids/get-column.md new file mode 100644 index 0000000000..4040124454 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/get-column.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + + result = await grids.getColumn( + databaseId: '', + tableId: '', + key: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/get-database.md b/docs/examples/1.8.x/server-dart/examples/grids/get-database.md new file mode 100644 index 0000000000..e8a674b1ab --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/get-database.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Database result = await grids.getDatabase( + databaseId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/get-index.md b/docs/examples/1.8.x/server-dart/examples/grids/get-index.md new file mode 100644 index 0000000000..6e66a55b37 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/get-index.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnIndex result = await grids.getIndex( + databaseId: '', + tableId: '', + key: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/get-row.md b/docs/examples/1.8.x/server-dart/examples/grids/get-row.md new file mode 100644 index 0000000000..da2a609d32 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/get-row.md @@ -0,0 +1,15 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +Row result = await grids.getRow( + databaseId: '', + tableId: '', + rowId: '', + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/get-table.md b/docs/examples/1.8.x/server-dart/examples/grids/get-table.md new file mode 100644 index 0000000000..d38fca0455 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/get-table.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Table result = await grids.getTable( + databaseId: '', + tableId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-dart/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..14c041404c --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/increment-row-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Row result = await grids.incrementRowColumn( + databaseId: '', + tableId: '', + rowId: '', + column: '', + value: 0, // (optional) + max: 0, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/list-columns.md b/docs/examples/1.8.x/server-dart/examples/grids/list-columns.md new file mode 100644 index 0000000000..222b5ba172 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/list-columns.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnList result = await grids.listColumns( + databaseId: '', + tableId: '', + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/list-databases.md b/docs/examples/1.8.x/server-dart/examples/grids/list-databases.md new file mode 100644 index 0000000000..14e2c78b63 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/list-databases.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +DatabaseList result = await grids.listDatabases( + queries: [], // (optional) + search: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/grids/list-indexes.md new file mode 100644 index 0000000000..218c3e0ccc --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/list-indexes.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnIndexList result = await grids.listIndexes( + databaseId: '', + tableId: '', + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/list-rows.md b/docs/examples/1.8.x/server-dart/examples/grids/list-rows.md new file mode 100644 index 0000000000..49f2a7ef21 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/list-rows.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +RowList result = await grids.listRows( + databaseId: '', + tableId: '', + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/list-tables.md b/docs/examples/1.8.x/server-dart/examples/grids/list-tables.md new file mode 100644 index 0000000000..4f1e08b713 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/list-tables.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +TableList result = await grids.listTables( + databaseId: '', + queries: [], // (optional) + search: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..e9e5a1fe32 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-boolean-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnBoolean result = await grids.updateBooleanColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: false, + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-database.md b/docs/examples/1.8.x/server-dart/examples/grids/update-database.md new file mode 100644 index 0000000000..d65a80185f --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-database.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Database result = await grids.updateDatabase( + databaseId: '', + name: '', + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..6eb1bb6cbf --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-datetime-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnDatetime result = await grids.updateDatetimeColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: '', + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-email-column.md new file mode 100644 index 0000000000..0fabb3e6a3 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-email-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnEmail result = await grids.updateEmailColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 'email@example.com', + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..5aa1613b75 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-enum-column.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnEnum result = await grids.updateEnumColumn( + databaseId: '', + tableId: '', + key: '', + elements: [], + xrequired: false, + xdefault: '', + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-float-column.md new file mode 100644 index 0000000000..0326f3c6f8 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-float-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnFloat result = await grids.updateFloatColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..3572a064b3 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-integer-column.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnInteger result = await grids.updateIntegerColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..a75ff07569 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-ip-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnIp result = await grids.updateIpColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: '', + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..4ecb479124 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-relationship-column.md @@ -0,0 +1,16 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnRelationship result = await grids.updateRelationshipColumn( + databaseId: '', + tableId: '', + key: '', + onDelete: RelationMutate.cascade, // (optional) + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-row.md b/docs/examples/1.8.x/server-dart/examples/grids/update-row.md new file mode 100644 index 0000000000..f11cf400cb --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-row.md @@ -0,0 +1,16 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +Row result = await grids.updateRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, // (optional) + permissions: ["read("any")"], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-rows.md b/docs/examples/1.8.x/server-dart/examples/grids/update-rows.md new file mode 100644 index 0000000000..6dd4db1d3c --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-rows.md @@ -0,0 +1,15 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +RowList result = await grids.updateRows( + databaseId: '', + tableId: '', + data: {}, // (optional) + queries: [], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-string-column.md new file mode 100644 index 0000000000..2bc58912cb --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-string-column.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnString result = await grids.updateStringColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: '', + size: 1, // (optional) + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-table.md b/docs/examples/1.8.x/server-dart/examples/grids/update-table.md new file mode 100644 index 0000000000..c5c497eddf --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-table.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +Table result = await grids.updateTable( + databaseId: '', + tableId: '', + name: '', + permissions: ["read("any")"], // (optional) + rowSecurity: false, // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-dart/examples/grids/update-url-column.md new file mode 100644 index 0000000000..79359f5436 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/update-url-column.md @@ -0,0 +1,17 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +ColumnUrl result = await grids.updateUrlColumn( + databaseId: '', + tableId: '', + key: '', + xrequired: false, + xdefault: 'https://example.com', + newKey: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-dart/examples/grids/upsert-row.md new file mode 100644 index 0000000000..e8a697664e --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/upsert-row.md @@ -0,0 +1,16 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Grids grids = Grids(client); + +Row result = await grids.upsertRow( + databaseId: '', + tableId: '', + rowId: '', + data: {}, // (optional) + permissions: ["read("any")"], // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-dart/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..b12d6960f0 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/grids/upsert-rows.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Grids grids = Grids(client); + +RowList result = await grids.upsertRows( + databaseId: '', + tableId: '', + rows: [], +); diff --git a/docs/examples/1.8.x/server-deno/examples/databases/create-document.md b/docs/examples/1.8.x/server-deno/examples/databases/create-document.md index f18b4f30dc..be8a1bdac9 100644 --- a/docs/examples/1.8.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-deno/examples/databases/create-document.md @@ -2,9 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-deno/examples/databases/create-documents.md b/docs/examples/1.8.x/server-deno/examples/databases/create-documents.md index fa3fe84731..26c9796cf0 100644 --- a/docs/examples/1.8.x/server-deno/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-deno/examples/databases/create-documents.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-deno/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-deno/examples/databases/upsert-document.md index a8a61ca43c..f05100e3df 100644 --- a/docs/examples/1.8.x/server-deno/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-deno/examples/databases/upsert-document.md @@ -2,14 +2,15 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const databases = new Databases(client); const response = await databases.upsertDocument( '', // databaseId '', // collectionId - '' // documentId + '', // documentId + {}, // data + ["read("any")"] // permissions (optional) ); diff --git a/docs/examples/1.8.x/server-deno/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-deno/examples/databases/upsert-documents.md index bf9e7ded89..0cd804bfb6 100644 --- a/docs/examples/1.8.x/server-deno/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-deno/examples/databases/upsert-documents.md @@ -2,12 +2,13 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key const databases = new Databases(client); const response = await databases.upsertDocuments( '', // databaseId - '' // collectionId + '', // collectionId + [] // documents ); diff --git a/docs/examples/1.8.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.8.x/server-deno/examples/functions/create-execution.md index bec6a17db2..58c6c494b1 100644 --- a/docs/examples/1.8.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-deno/examples/functions/create-execution.md @@ -14,5 +14,5 @@ const response = await functions.createExecution( '', // path (optional) ExecutionMethod.GET, // method (optional) {}, // headers (optional) - '' // scheduledAt (optional) + '' // scheduledAt (optional) ); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..7097a84ebe --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-boolean-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-database.md b/docs/examples/1.8.x/server-deno/examples/grids/create-database.md new file mode 100644 index 0000000000..3b1a67d75a --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-database.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..f33479cd2e --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-datetime-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-email-column.md new file mode 100644 index 0000000000..eec09fb453 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-email-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..df68204c8b --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-enum-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-float-column.md new file mode 100644 index 0000000000..e7fdc524dc --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-float-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-index.md b/docs/examples/1.8.x/server-deno/examples/grids/create-index.md new file mode 100644 index 0000000000..d1442d57be --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-index.md @@ -0,0 +1,18 @@ +import { Client, Grids, IndexType } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createIndex( + '', // databaseId + '', // tableId + '', // key + IndexType.Key, // type + [], // columns + [], // orders (optional) + [] // lengths (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..0dc377dff2 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-integer-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..222e262042 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-ip-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..5cfc17ebbd --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-relationship-column.md @@ -0,0 +1,19 @@ +import { Client, Grids, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createRelationshipColumn( + '', // databaseId + '', // tableId + '', // relatedTableId + RelationshipType.OneToOne, // type + false, // twoWay (optional) + '', // key (optional) + '', // twoWayKey (optional) + RelationMutate.Cascade // onDelete (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-row.md b/docs/examples/1.8.x/server-deno/examples/grids/create-row.md new file mode 100644 index 0000000000..0bf0ec7f09 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.createRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-rows.md b/docs/examples/1.8.x/server-deno/examples/grids/create-rows.md new file mode 100644 index 0000000000..e5d81e6f68 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-rows.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createRows( + '', // databaseId + '', // tableId + [] // rows +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-string-column.md new file mode 100644 index 0000000000..fb73a25faa --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-string-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createStringColumn( + '', // databaseId + '', // tableId + '', // key + 1, // size + false, // required + '', // default (optional) + false, // array (optional) + false // encrypt (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-table.md b/docs/examples/1.8.x/server-deno/examples/grids/create-table.md new file mode 100644 index 0000000000..832b9c5218 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-table.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-deno/examples/grids/create-url-column.md new file mode 100644 index 0000000000..905d86c6cf --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/create-url-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.createUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-deno/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..cd86f6f8f3 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/decrement-row-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.decrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // min (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-column.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-column.md new file mode 100644 index 0000000000..d299323df6 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-column.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.deleteColumn( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-database.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-database.md new file mode 100644 index 0000000000..aad02459e4 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-database.md @@ -0,0 +1,12 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.deleteDatabase( + '' // databaseId +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-index.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-index.md new file mode 100644 index 0000000000..2354fc2485 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-index.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.deleteIndex( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-row.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-row.md new file mode 100644 index 0000000000..b62fd2145f --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-row.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.deleteRow( + '', // databaseId + '', // tableId + '' // rowId +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-rows.md new file mode 100644 index 0000000000..a1c75d7fd2 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-rows.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.deleteRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/delete-table.md b/docs/examples/1.8.x/server-deno/examples/grids/delete-table.md new file mode 100644 index 0000000000..b7b09bc1ed --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/delete-table.md @@ -0,0 +1,13 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.deleteTable( + '', // databaseId + '' // tableId +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/get-column.md b/docs/examples/1.8.x/server-deno/examples/grids/get-column.md new file mode 100644 index 0000000000..cd78228565 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/get-column.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.getColumn( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/get-database.md b/docs/examples/1.8.x/server-deno/examples/grids/get-database.md new file mode 100644 index 0000000000..c1fecfeff7 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/get-database.md @@ -0,0 +1,12 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.getDatabase( + '' // databaseId +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/get-index.md b/docs/examples/1.8.x/server-deno/examples/grids/get-index.md new file mode 100644 index 0000000000..8f3a48aec2 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/get-index.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.getIndex( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/get-row.md b/docs/examples/1.8.x/server-deno/examples/grids/get-row.md new file mode 100644 index 0000000000..257b24b67e --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/get-row.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.getRow( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/get-table.md b/docs/examples/1.8.x/server-deno/examples/grids/get-table.md new file mode 100644 index 0000000000..5b9c36ab44 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/get-table.md @@ -0,0 +1,13 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.getTable( + '', // databaseId + '' // tableId +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-deno/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..d01174e938 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/increment-row-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.incrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // max (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/list-columns.md b/docs/examples/1.8.x/server-deno/examples/grids/list-columns.md new file mode 100644 index 0000000000..3e249e2782 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/list-columns.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.listColumns( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/list-databases.md b/docs/examples/1.8.x/server-deno/examples/grids/list-databases.md new file mode 100644 index 0000000000..40ce554e50 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/list-databases.md @@ -0,0 +1,13 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.listDatabases( + [], // queries (optional) + '' // search (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-deno/examples/grids/list-indexes.md new file mode 100644 index 0000000000..e605c67cc6 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/list-indexes.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.listIndexes( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/list-rows.md b/docs/examples/1.8.x/server-deno/examples/grids/list-rows.md new file mode 100644 index 0000000000..2416578d70 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/list-rows.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.listRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/list-tables.md b/docs/examples/1.8.x/server-deno/examples/grids/list-tables.md new file mode 100644 index 0000000000..f68d5465b5 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/list-tables.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.listTables( + '', // databaseId + [], // queries (optional) + '' // search (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..22c0fe97f8 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-boolean-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-database.md b/docs/examples/1.8.x/server-deno/examples/grids/update-database.md new file mode 100644 index 0000000000..0fc883028e --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-database.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..00cee55b33 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-datetime-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-email-column.md new file mode 100644 index 0000000000..eb263b428f --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-email-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..974dcc99cb --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-enum-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-float-column.md new file mode 100644 index 0000000000..c1375b015f --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-float-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..c46dbb1994 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-integer-column.md @@ -0,0 +1,19 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..2013e16429 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-ip-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..5151a5c5bc --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-relationship-column.md @@ -0,0 +1,16 @@ +import { Client, Grids, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateRelationshipColumn( + '', // databaseId + '', // tableId + '', // key + RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-row.md b/docs/examples/1.8.x/server-deno/examples/grids/update-row.md new file mode 100644 index 0000000000..5e37a9cb90 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.updateRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-rows.md b/docs/examples/1.8.x/server-deno/examples/grids/update-rows.md new file mode 100644 index 0000000000..35dc58d22d --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-rows.md @@ -0,0 +1,15 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateRows( + '', // databaseId + '', // tableId + {}, // data (optional) + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-string-column.md new file mode 100644 index 0000000000..ff0113baeb --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-string-column.md @@ -0,0 +1,18 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateStringColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + 1, // size (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-table.md b/docs/examples/1.8.x/server-deno/examples/grids/update-table.md new file mode 100644 index 0000000000..ce01cd0fc7 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-table.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-deno/examples/grids/update-url-column.md new file mode 100644 index 0000000000..285f88fbfd --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/update-url-column.md @@ -0,0 +1,17 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.updateUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-deno/examples/grids/upsert-row.md new file mode 100644 index 0000000000..33534265d5 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/upsert-row.md @@ -0,0 +1,16 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new Grids(client); + +const response = await grids.upsertRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-deno/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-deno/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..8cd7218f17 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/grids/upsert-rows.md @@ -0,0 +1,14 @@ +import { Client, Grids } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new Grids(client); + +const response = await grids.upsertRows( + '', // databaseId + '', // tableId + [] // rows +); diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/create-document.md b/docs/examples/1.8.x/server-dotnet/examples/databases/create-document.md index cb4bc62ced..52254e0c25 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/create-document.md @@ -4,9 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/create-documents.md b/docs/examples/1.8.x/server-dotnet/examples/databases/create-documents.md index c46715b25d..dad710f0df 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/create-documents.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // + .SetProject("") // Your project ID .SetKey(""); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md index c809a497fe..c0876bfa73 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-document.md @@ -4,14 +4,15 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); Document result = await databases.UpsertDocument( databaseId: "", collectionId: "", - documentId: "" + documentId: "", + data: [object], + permissions: ["read("any")"] // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-documents.md index 48c0aa7044..6c124c16e5 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/upsert-documents.md @@ -4,12 +4,13 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // + .SetProject("") // Your project ID .SetKey(""); // Your secret API key Databases databases = new Databases(client); DocumentList result = await databases.UpsertDocuments( databaseId: "", - collectionId: "" + collectionId: "", + documents: new List() ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/functions/create-execution.md b/docs/examples/1.8.x/server-dotnet/examples/functions/create-execution.md index c8fd5595e9..98d1b2f3ff 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-dotnet/examples/functions/create-execution.md @@ -17,5 +17,5 @@ Execution result = await functions.CreateExecution( path: "", // optional method: ExecutionMethod.GET, // optional headers: [object], // optional - scheduledAt: "" // optional + scheduledAt: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..e173d1189b --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-boolean-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnBoolean result = await grids.CreateBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-database.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-database.md new file mode 100644 index 0000000000..7006f00d01 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-database.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Database result = await grids.CreateDatabase( + databaseId: "", + name: "", + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..b4e730fc6d --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-datetime-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnDatetime result = await grids.CreateDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-email-column.md new file mode 100644 index 0000000000..bb2cad7dbd --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-email-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnEmail result = await grids.CreateEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..4ce99366ad --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-enum-column.md @@ -0,0 +1,20 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnEnum result = await grids.CreateEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: new List(), + required: false, + default: "", // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-float-column.md new file mode 100644 index 0000000000..3ecd76c367 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-float-column.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnFloat result = await grids.CreateFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, // optional + max: 0, // optional + default: 0, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-index.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-index.md new file mode 100644 index 0000000000..854ed47e81 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-index.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnIndex result = await grids.CreateIndex( + databaseId: "", + tableId: "", + key: "", + type: IndexType.Key, + columns: new List(), + orders: new List(), // optional + lengths: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..ef13d5569c --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-integer-column.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnInteger result = await grids.CreateIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, // optional + max: 0, // optional + default: 0, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..bfaa594d49 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-ip-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnIp result = await grids.CreateIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..614f5d4fec --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-relationship-column.md @@ -0,0 +1,22 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnRelationship result = await grids.CreateRelationshipColumn( + databaseId: "", + tableId: "", + relatedTableId: "", + type: RelationshipType.OneToOne, + twoWay: false, // optional + key: "", // optional + twoWayKey: "", // optional + onDelete: RelationMutate.Cascade // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-row.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-row.md new file mode 100644 index 0000000000..235c9b5c4e --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-row.md @@ -0,0 +1,18 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +Row result = await grids.CreateRow( + databaseId: "", + tableId: "", + rowId: "", + data: [object], + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-rows.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-rows.md new file mode 100644 index 0000000000..42ee3ef6a2 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-rows.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +RowList result = await grids.CreateRows( + databaseId: "", + tableId: "", + rows: new List() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-string-column.md new file mode 100644 index 0000000000..ca00dcf32e --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-string-column.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnString result = await grids.CreateStringColumn( + databaseId: "", + tableId: "", + key: "", + size: 1, + required: false, + default: "", // optional + array: false, // optional + encrypt: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-table.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-table.md new file mode 100644 index 0000000000..50fdfa878e --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-table.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Table result = await grids.CreateTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/create-url-column.md new file mode 100644 index 0000000000..8a4f69bd26 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/create-url-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnUrl result = await grids.CreateUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..b17e902e45 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/decrement-row-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Row result = await grids.DecrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, // optional + min: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-column.md new file mode 100644 index 0000000000..24f23546ba --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-column.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +await grids.DeleteColumn( + databaseId: "", + tableId: "", + key: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-database.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-database.md new file mode 100644 index 0000000000..38f28a001a --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-database.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +await grids.DeleteDatabase( + databaseId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-index.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-index.md new file mode 100644 index 0000000000..5a037e2a96 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-index.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +await grids.DeleteIndex( + databaseId: "", + tableId: "", + key: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-row.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-row.md new file mode 100644 index 0000000000..13972747a8 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-row.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +await grids.DeleteRow( + databaseId: "", + tableId: "", + rowId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-rows.md new file mode 100644 index 0000000000..4ddd11b6d1 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-rows.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +await grids.DeleteRows( + databaseId: "", + tableId: "", + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/delete-table.md b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-table.md new file mode 100644 index 0000000000..9741ac2c2e --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/delete-table.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +await grids.DeleteTable( + databaseId: "", + tableId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/get-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/get-column.md new file mode 100644 index 0000000000..2c6d7a3944 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/get-column.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + + result = await grids.GetColumn( + databaseId: "", + tableId: "", + key: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/get-database.md b/docs/examples/1.8.x/server-dotnet/examples/grids/get-database.md new file mode 100644 index 0000000000..5aebe5104d --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/get-database.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Database result = await grids.GetDatabase( + databaseId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/get-index.md b/docs/examples/1.8.x/server-dotnet/examples/grids/get-index.md new file mode 100644 index 0000000000..ff99a21ed0 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/get-index.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnIndex result = await grids.GetIndex( + databaseId: "", + tableId: "", + key: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/get-row.md b/docs/examples/1.8.x/server-dotnet/examples/grids/get-row.md new file mode 100644 index 0000000000..c75e0e50d5 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/get-row.md @@ -0,0 +1,17 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +Row result = await grids.GetRow( + databaseId: "", + tableId: "", + rowId: "", + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/get-table.md b/docs/examples/1.8.x/server-dotnet/examples/grids/get-table.md new file mode 100644 index 0000000000..7fcecc6170 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/get-table.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Table result = await grids.GetTable( + databaseId: "", + tableId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..3e6d044905 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/increment-row-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Row result = await grids.IncrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, // optional + max: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/list-columns.md b/docs/examples/1.8.x/server-dotnet/examples/grids/list-columns.md new file mode 100644 index 0000000000..e8478c1d23 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/list-columns.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnList result = await grids.ListColumns( + databaseId: "", + tableId: "", + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/list-databases.md b/docs/examples/1.8.x/server-dotnet/examples/grids/list-databases.md new file mode 100644 index 0000000000..f37deb8ef2 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/list-databases.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +DatabaseList result = await grids.ListDatabases( + queries: new List(), // optional + search: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/grids/list-indexes.md new file mode 100644 index 0000000000..b6f3737b43 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/list-indexes.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnIndexList result = await grids.ListIndexes( + databaseId: "", + tableId: "", + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/list-rows.md b/docs/examples/1.8.x/server-dotnet/examples/grids/list-rows.md new file mode 100644 index 0000000000..a1a64fe256 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/list-rows.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +RowList result = await grids.ListRows( + databaseId: "", + tableId: "", + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/list-tables.md b/docs/examples/1.8.x/server-dotnet/examples/grids/list-tables.md new file mode 100644 index 0000000000..85f431b7ef --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/list-tables.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +TableList result = await grids.ListTables( + databaseId: "", + queries: new List(), // optional + search: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..ff2376e403 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-boolean-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnBoolean result = await grids.UpdateBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-database.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-database.md new file mode 100644 index 0000000000..cd3b0a236d --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-database.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Database result = await grids.UpdateDatabase( + databaseId: "", + name: "", + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..7b630922e8 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-datetime-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnDatetime result = await grids.UpdateDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-email-column.md new file mode 100644 index 0000000000..9ce04025ca --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-email-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnEmail result = await grids.UpdateEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..b29b3615de --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-enum-column.md @@ -0,0 +1,20 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnEnum result = await grids.UpdateEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: new List(), + required: false, + default: "", + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-float-column.md new file mode 100644 index 0000000000..96db20a2c5 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-float-column.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnFloat result = await grids.UpdateFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..87e6b0fee2 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-integer-column.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnInteger result = await grids.UpdateIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..789c6c98e6 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-ip-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnIp result = await grids.UpdateIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..a1d30a43a2 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-relationship-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnRelationship result = await grids.UpdateRelationshipColumn( + databaseId: "", + tableId: "", + key: "", + onDelete: RelationMutate.Cascade, // optional + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-row.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-row.md new file mode 100644 index 0000000000..2dc2b23d32 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-row.md @@ -0,0 +1,18 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +Row result = await grids.UpdateRow( + databaseId: "", + tableId: "", + rowId: "", + data: [object], // optional + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-rows.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-rows.md new file mode 100644 index 0000000000..c0103c9639 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-rows.md @@ -0,0 +1,17 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +RowList result = await grids.UpdateRows( + databaseId: "", + tableId: "", + data: [object], // optional + queries: new List() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-string-column.md new file mode 100644 index 0000000000..2277142eb8 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-string-column.md @@ -0,0 +1,20 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnString result = await grids.UpdateStringColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + size: 1, // optional + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-table.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-table.md new file mode 100644 index 0000000000..76362573a5 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-table.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +Table result = await grids.UpdateTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/grids/update-url-column.md new file mode 100644 index 0000000000..8054b60e3f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/update-url-column.md @@ -0,0 +1,19 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +ColumnUrl result = await grids.UpdateUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", + newKey: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-row.md new file mode 100644 index 0000000000..7f517a2f09 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-row.md @@ -0,0 +1,18 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +Row result = await grids.UpsertRow( + databaseId: "", + tableId: "", + rowId: "", + data: [object], // optional + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..1cb3b54d0b --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/grids/upsert-rows.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Grids grids = new Grids(client); + +RowList result = await grids.UpsertRows( + databaseId: "", + tableId: "", + rows: new List() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/databases/create-document.md b/docs/examples/1.8.x/server-go/examples/databases/create-document.md index 8990beaa8d..fe96a0d601 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-go/examples/databases/create-document.md @@ -9,9 +9,8 @@ import ( func main() { client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token ) service := databases.New(client) diff --git a/docs/examples/1.8.x/server-go/examples/databases/create-documents.md b/docs/examples/1.8.x/server-go/examples/databases/create-documents.md index d85d0d5395..9e4da5dac7 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-go/examples/databases/create-documents.md @@ -9,7 +9,7 @@ import ( func main() { client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // + client.WithProject("") // Your project ID client.WithKey("") // Your secret API key ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md index c5304b1860..e6241b9198 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-go/examples/databases/upsert-document.md @@ -9,9 +9,8 @@ import ( func main() { client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token ) service := databases.New(client) @@ -19,6 +18,8 @@ func main() { "", "", "", + map[string]interface{}{}, + databases.WithUpsertDocumentPermissions(interface{}{"read("any")"}), ) if error != nil { diff --git a/docs/examples/1.8.x/server-go/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-go/examples/databases/upsert-documents.md index 5fe0fc5831..d2731cd128 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-go/examples/databases/upsert-documents.md @@ -9,7 +9,7 @@ import ( func main() { client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // + client.WithProject("") // Your project ID client.WithKey("") // Your secret API key ) @@ -17,6 +17,7 @@ func main() { response, error := service.UpsertDocuments( "", "", + []interface{}{}, ) if error != nil { diff --git a/docs/examples/1.8.x/server-go/examples/functions/create-execution.md b/docs/examples/1.8.x/server-go/examples/functions/create-execution.md index 33657d2503..bc839e422e 100644 --- a/docs/examples/1.8.x/server-go/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-go/examples/functions/create-execution.md @@ -21,7 +21,7 @@ func main() { functions.WithCreateExecutionPath(""), functions.WithCreateExecutionMethod("GET"), functions.WithCreateExecutionHeaders(map[string]interface{}{}), - functions.WithCreateExecutionScheduledAt(""), + functions.WithCreateExecutionScheduledAt(""), ) if error != nil { diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..11d8b0ca50 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-boolean-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateBooleanColumn( + "", + "", + "", + false, + grids.WithCreateBooleanColumnDefault(false), + grids.WithCreateBooleanColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-database.md b/docs/examples/1.8.x/server-go/examples/grids/create-database.md new file mode 100644 index 0000000000..d66dea2c03 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-database.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateDatabase( + "", + "", + grids.WithCreateDatabaseEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..e386f763ff --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-datetime-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateDatetimeColumn( + "", + "", + "", + false, + grids.WithCreateDatetimeColumnDefault(""), + grids.WithCreateDatetimeColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-email-column.md new file mode 100644 index 0000000000..9ecdf5cadf --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-email-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateEmailColumn( + "", + "", + "", + false, + grids.WithCreateEmailColumnDefault("email@example.com"), + grids.WithCreateEmailColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..35a2ed3f0f --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-enum-column.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateEnumColumn( + "", + "", + "", + []interface{}{}, + false, + grids.WithCreateEnumColumnDefault(""), + grids.WithCreateEnumColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-float-column.md new file mode 100644 index 0000000000..765eb58f24 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-float-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateFloatColumn( + "", + "", + "", + false, + grids.WithCreateFloatColumnMin(0), + grids.WithCreateFloatColumnMax(0), + grids.WithCreateFloatColumnDefault(0), + grids.WithCreateFloatColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-index.md b/docs/examples/1.8.x/server-go/examples/grids/create-index.md new file mode 100644 index 0000000000..ad39cc5c83 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-index.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateIndex( + "", + "", + "", + "key", + []interface{}{}, + grids.WithCreateIndexOrders([]interface{}{}), + grids.WithCreateIndexLengths([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..3b67883650 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-integer-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateIntegerColumn( + "", + "", + "", + false, + grids.WithCreateIntegerColumnMin(0), + grids.WithCreateIntegerColumnMax(0), + grids.WithCreateIntegerColumnDefault(0), + grids.WithCreateIntegerColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..8954c91144 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-ip-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateIpColumn( + "", + "", + "", + false, + grids.WithCreateIpColumnDefault(""), + grids.WithCreateIpColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..2ce5bd2acd --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-relationship-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateRelationshipColumn( + "", + "", + "", + "oneToOne", + grids.WithCreateRelationshipColumnTwoWay(false), + grids.WithCreateRelationshipColumnKey(""), + grids.WithCreateRelationshipColumnTwoWayKey(""), + grids.WithCreateRelationshipColumnOnDelete("cascade"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-row.md b/docs/examples/1.8.x/server-go/examples/grids/create-row.md new file mode 100644 index 0000000000..b2e8aac2a2 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-row.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.CreateRow( + "", + "", + "", + map[string]interface{}{}, + grids.WithCreateRowPermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-rows.md b/docs/examples/1.8.x/server-go/examples/grids/create-rows.md new file mode 100644 index 0000000000..95442b0231 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-rows.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateRows( + "", + "", + []interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-string-column.md new file mode 100644 index 0000000000..0033ea1af6 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-string-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateStringColumn( + "", + "", + "", + 1, + false, + grids.WithCreateStringColumnDefault(""), + grids.WithCreateStringColumnArray(false), + grids.WithCreateStringColumnEncrypt(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-table.md b/docs/examples/1.8.x/server-go/examples/grids/create-table.md new file mode 100644 index 0000000000..adc367db5c --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-table.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateTable( + "", + "", + "", + grids.WithCreateTablePermissions(interface{}{"read("any")"}), + grids.WithCreateTableRowSecurity(false), + grids.WithCreateTableEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-go/examples/grids/create-url-column.md new file mode 100644 index 0000000000..3e93fe1838 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/create-url-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.CreateUrlColumn( + "", + "", + "", + false, + grids.WithCreateUrlColumnDefault("https://example.com"), + grids.WithCreateUrlColumnArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-go/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..cb36ada619 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/decrement-row-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DecrementRowColumn( + "", + "", + "", + "", + grids.WithDecrementRowColumnValue(0), + grids.WithDecrementRowColumnMin(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-column.md b/docs/examples/1.8.x/server-go/examples/grids/delete-column.md new file mode 100644 index 0000000000..6b73e86c05 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-column.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DeleteColumn( + "", + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-database.md b/docs/examples/1.8.x/server-go/examples/grids/delete-database.md new file mode 100644 index 0000000000..4d74f859fc --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-database.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DeleteDatabase( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-index.md b/docs/examples/1.8.x/server-go/examples/grids/delete-index.md new file mode 100644 index 0000000000..c34a2752ac --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-index.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DeleteIndex( + "", + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-row.md b/docs/examples/1.8.x/server-go/examples/grids/delete-row.md new file mode 100644 index 0000000000..cb072c49bd --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-row.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.DeleteRow( + "", + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-go/examples/grids/delete-rows.md new file mode 100644 index 0000000000..0ce880f996 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-rows.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DeleteRows( + "", + "", + grids.WithDeleteRowsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/delete-table.md b/docs/examples/1.8.x/server-go/examples/grids/delete-table.md new file mode 100644 index 0000000000..66e031a5ce --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/delete-table.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.DeleteTable( + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/get-column.md b/docs/examples/1.8.x/server-go/examples/grids/get-column.md new file mode 100644 index 0000000000..bff6153550 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/get-column.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.GetColumn( + "", + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/get-database.md b/docs/examples/1.8.x/server-go/examples/grids/get-database.md new file mode 100644 index 0000000000..4f80bf5590 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/get-database.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.GetDatabase( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/get-index.md b/docs/examples/1.8.x/server-go/examples/grids/get-index.md new file mode 100644 index 0000000000..5982b49b2e --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/get-index.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.GetIndex( + "", + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/get-row.md b/docs/examples/1.8.x/server-go/examples/grids/get-row.md new file mode 100644 index 0000000000..1551d4969b --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/get-row.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.GetRow( + "", + "", + "", + grids.WithGetRowQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/get-table.md b/docs/examples/1.8.x/server-go/examples/grids/get-table.md new file mode 100644 index 0000000000..1f96e8526d --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/get-table.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.GetTable( + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-go/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..52f5858884 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/increment-row-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.IncrementRowColumn( + "", + "", + "", + "", + grids.WithIncrementRowColumnValue(0), + grids.WithIncrementRowColumnMax(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/list-columns.md b/docs/examples/1.8.x/server-go/examples/grids/list-columns.md new file mode 100644 index 0000000000..ae411a216c --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/list-columns.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.ListColumns( + "", + "", + grids.WithListColumnsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/list-databases.md b/docs/examples/1.8.x/server-go/examples/grids/list-databases.md new file mode 100644 index 0000000000..e43bd7d100 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/list-databases.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.ListDatabases( + grids.WithListDatabasesQueries([]interface{}{}), + grids.WithListDatabasesSearch(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-go/examples/grids/list-indexes.md new file mode 100644 index 0000000000..092c75301a --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/list-indexes.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.ListIndexes( + "", + "", + grids.WithListIndexesQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/list-rows.md b/docs/examples/1.8.x/server-go/examples/grids/list-rows.md new file mode 100644 index 0000000000..b406f106bb --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/list-rows.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.ListRows( + "", + "", + grids.WithListRowsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/list-tables.md b/docs/examples/1.8.x/server-go/examples/grids/list-tables.md new file mode 100644 index 0000000000..f38879c65b --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/list-tables.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.ListTables( + "", + grids.WithListTablesQueries([]interface{}{}), + grids.WithListTablesSearch(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..5ffc910caf --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-boolean-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateBooleanColumn( + "", + "", + "", + false, + false, + grids.WithUpdateBooleanColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-database.md b/docs/examples/1.8.x/server-go/examples/grids/update-database.md new file mode 100644 index 0000000000..9f9c95546a --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-database.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateDatabase( + "", + "", + grids.WithUpdateDatabaseEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..5bf6440a74 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-datetime-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateDatetimeColumn( + "", + "", + "", + false, + "", + grids.WithUpdateDatetimeColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-email-column.md new file mode 100644 index 0000000000..8ebbdcabc4 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-email-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateEmailColumn( + "", + "", + "", + false, + "email@example.com", + grids.WithUpdateEmailColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..edec1cbcc0 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-enum-column.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateEnumColumn( + "", + "", + "", + []interface{}{}, + false, + "", + grids.WithUpdateEnumColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-float-column.md new file mode 100644 index 0000000000..80057dab06 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-float-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateFloatColumn( + "", + "", + "", + false, + 0, + grids.WithUpdateFloatColumnMin(0), + grids.WithUpdateFloatColumnMax(0), + grids.WithUpdateFloatColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..a3b9bd316c --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-integer-column.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateIntegerColumn( + "", + "", + "", + false, + 0, + grids.WithUpdateIntegerColumnMin(0), + grids.WithUpdateIntegerColumnMax(0), + grids.WithUpdateIntegerColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..888c69e9ee --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-ip-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateIpColumn( + "", + "", + "", + false, + "", + grids.WithUpdateIpColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..db57f41995 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-relationship-column.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateRelationshipColumn( + "", + "", + "", + grids.WithUpdateRelationshipColumnOnDelete("cascade"), + grids.WithUpdateRelationshipColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-row.md b/docs/examples/1.8.x/server-go/examples/grids/update-row.md new file mode 100644 index 0000000000..e1a99f289f --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-row.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.UpdateRow( + "", + "", + "", + grids.WithUpdateRowData(map[string]interface{}{}), + grids.WithUpdateRowPermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-rows.md b/docs/examples/1.8.x/server-go/examples/grids/update-rows.md new file mode 100644 index 0000000000..f2b0c0c6de --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-rows.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateRows( + "", + "", + grids.WithUpdateRowsData(map[string]interface{}{}), + grids.WithUpdateRowsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-string-column.md new file mode 100644 index 0000000000..a50fcb704c --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-string-column.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateStringColumn( + "", + "", + "", + false, + "", + grids.WithUpdateStringColumnSize(1), + grids.WithUpdateStringColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-table.md b/docs/examples/1.8.x/server-go/examples/grids/update-table.md new file mode 100644 index 0000000000..cf1bef575f --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-table.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateTable( + "", + "", + "", + grids.WithUpdateTablePermissions(interface{}{"read("any")"}), + grids.WithUpdateTableRowSecurity(false), + grids.WithUpdateTableEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-go/examples/grids/update-url-column.md new file mode 100644 index 0000000000..0c28025e5c --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/update-url-column.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpdateUrlColumn( + "", + "", + "", + false, + "https://example.com", + grids.WithUpdateUrlColumnNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-go/examples/grids/upsert-row.md new file mode 100644 index 0000000000..bc104a159a --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/upsert-row.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := grids.New(client) + response, error := service.UpsertRow( + "", + "", + "", + grids.WithUpsertRowData(map[string]interface{}{}), + grids.WithUpsertRowPermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-go/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..6282f9da2e --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/grids/upsert-rows.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/grids" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := grids.New(client) + response, error := service.UpsertRows( + "", + "", + []interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} 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 00dfba1e7b..7ee68b41c7 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 @@ -17,6 +17,9 @@ mutation { documentSecurity attributes indexes { + _id + _createdAt + _updatedAt key type status @@ -24,8 +27,6 @@ mutation { attributes lengths orders - _createdAt - _updatedAt } } } diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/create-index.md b/docs/examples/1.8.x/server-graphql/examples/databases/create-index.md index c647930943..38e64980b2 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/create-index.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/create-index.md @@ -8,6 +8,9 @@ mutation { orders: [], lengths: [] ) { + _id + _createdAt + _updatedAt key type status @@ -15,7 +18,5 @@ mutation { attributes lengths orders - _createdAt - _updatedAt } } diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/update-collection.md b/docs/examples/1.8.x/server-graphql/examples/databases/update-collection.md index 040578ae9d..ad43b879d2 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/update-collection.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/update-collection.md @@ -17,6 +17,9 @@ mutation { documentSecurity attributes indexes { + _id + _createdAt + _updatedAt key type status @@ -24,8 +27,6 @@ mutation { attributes lengths orders - _createdAt - _updatedAt } } } diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md index c381fe35a3..9d1e753081 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-document.md @@ -2,7 +2,9 @@ mutation { databasesUpsertDocument( databaseId: "", collectionId: "", - documentId: "" + documentId: "", + data: "{}", + permissions: ["read("any")"] ) { _id _sequence diff --git a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-documents.md index b4bf914eca..2bfb765915 100644 --- a/docs/examples/1.8.x/server-graphql/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-graphql/examples/databases/upsert-documents.md @@ -1,7 +1,8 @@ mutation { databasesUpsertDocuments( databaseId: "", - collectionId: "" + collectionId: "", + documents: [] ) { total documents { diff --git a/docs/examples/1.8.x/server-graphql/examples/functions/create-deployment.md b/docs/examples/1.8.x/server-graphql/examples/functions/create-deployment.md index 0e7cc7d19a..3751448e57 100644 --- a/docs/examples/1.8.x/server-graphql/examples/functions/create-deployment.md +++ b/docs/examples/1.8.x/server-graphql/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/deployments HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: Content-Length: *Length of your entity body in bytes* diff --git a/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md b/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md index 1479aa3bb6..8979880723 100644 --- a/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md @@ -6,7 +6,7 @@ mutation { path: "", method: "GET", headers: "{}", - scheduledAt: "" + scheduledAt: "" ) { _id _createdAt diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..bd7abcb175 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-boolean-column.md @@ -0,0 +1,20 @@ +mutation { + gridsCreateBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-database.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-database.md new file mode 100644 index 0000000000..41d37ebdee --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-database.md @@ -0,0 +1,13 @@ +mutation { + gridsCreateDatabase( + databaseId: "", + name: "", + enabled: false + ) { + _id + name + _createdAt + _updatedAt + enabled + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..aa14c43156 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-datetime-column.md @@ -0,0 +1,21 @@ +mutation { + gridsCreateDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-email-column.md new file mode 100644 index 0000000000..c9bc913726 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-email-column.md @@ -0,0 +1,21 @@ +mutation { + gridsCreateEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..8ace10f9ac --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-enum-column.md @@ -0,0 +1,23 @@ +mutation { + gridsCreateEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: [], + required: false, + default: "", + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + elements + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-float-column.md new file mode 100644 index 0000000000..92031d03ca --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-float-column.md @@ -0,0 +1,24 @@ +mutation { + gridsCreateFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, + max: 0, + default: 0, + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + min + max + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-index.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-index.md new file mode 100644 index 0000000000..cc338ddad2 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-index.md @@ -0,0 +1,22 @@ +mutation { + gridsCreateIndex( + databaseId: "", + tableId: "", + key: "", + type: "key", + columns: [], + orders: [], + lengths: [] + ) { + _id + _createdAt + _updatedAt + key + type + status + error + columns + lengths + orders + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..735d47c8ac --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-integer-column.md @@ -0,0 +1,24 @@ +mutation { + gridsCreateIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, + max: 0, + default: 0, + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + min + max + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..241d308f09 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-ip-column.md @@ -0,0 +1,21 @@ +mutation { + gridsCreateIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..2c08478e09 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-relationship-column.md @@ -0,0 +1,27 @@ +mutation { + gridsCreateRelationshipColumn( + databaseId: "", + tableId: "", + relatedTableId: "", + type: "oneToOne", + twoWay: false, + key: "", + twoWayKey: "", + onDelete: "cascade" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + relatedTable + relationType + twoWay + twoWayKey + onDelete + side + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-row.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-row.md new file mode 100644 index 0000000000..cffb7361f2 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-row.md @@ -0,0 +1,18 @@ +mutation { + gridsCreateRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-rows.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-rows.md new file mode 100644 index 0000000000..cd134ec201 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-rows.md @@ -0,0 +1,19 @@ +mutation { + gridsCreateRows( + databaseId: "", + tableId: "", + rows: [] + ) { + total + rows { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-string-column.md new file mode 100644 index 0000000000..57b42c6010 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-string-column.md @@ -0,0 +1,24 @@ +mutation { + gridsCreateStringColumn( + databaseId: "", + tableId: "", + key: "", + size: 1, + required: false, + default: "", + array: false, + encrypt: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + size + default + encrypt + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-table.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-table.md new file mode 100644 index 0000000000..77335ad867 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-table.md @@ -0,0 +1,32 @@ +mutation { + gridsCreateTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], + rowSecurity: false, + enabled: false + ) { + _id + _createdAt + _updatedAt + _permissions + databaseId + name + enabled + rowSecurity + columns + indexes { + _id + _createdAt + _updatedAt + key + type + status + error + columns + lengths + orders + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/create-url-column.md new file mode 100644 index 0000000000..07ca9ab869 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/create-url-column.md @@ -0,0 +1,21 @@ +mutation { + gridsCreateUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", + array: false + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..6b47884a92 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/decrement-row-column.md @@ -0,0 +1,19 @@ +mutation { + gridsDecrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, + min: 0 + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-column.md new file mode 100644 index 0000000000..0ad25321b5 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-column.md @@ -0,0 +1,9 @@ +mutation { + gridsDeleteColumn( + databaseId: "", + tableId: "", + key: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-database.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-database.md new file mode 100644 index 0000000000..a3e3d1a5bf --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-database.md @@ -0,0 +1,7 @@ +mutation { + gridsDeleteDatabase( + databaseId: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-index.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-index.md new file mode 100644 index 0000000000..0921aa0aef --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-index.md @@ -0,0 +1,9 @@ +mutation { + gridsDeleteIndex( + databaseId: "", + tableId: "", + key: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-row.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-row.md new file mode 100644 index 0000000000..40dcbdc219 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-row.md @@ -0,0 +1,9 @@ +mutation { + gridsDeleteRow( + databaseId: "", + tableId: "", + rowId: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-rows.md new file mode 100644 index 0000000000..69559934a4 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-rows.md @@ -0,0 +1,19 @@ +mutation { + gridsDeleteRows( + databaseId: "", + tableId: "", + queries: [] + ) { + total + rows { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/delete-table.md b/docs/examples/1.8.x/server-graphql/examples/grids/delete-table.md new file mode 100644 index 0000000000..a145be50d9 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/delete-table.md @@ -0,0 +1,8 @@ +mutation { + gridsDeleteTable( + databaseId: "", + tableId: "" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/get-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/get-column.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/get-database.md b/docs/examples/1.8.x/server-graphql/examples/grids/get-database.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/get-index.md b/docs/examples/1.8.x/server-graphql/examples/grids/get-index.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/get-row.md b/docs/examples/1.8.x/server-graphql/examples/grids/get-row.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/get-table.md b/docs/examples/1.8.x/server-graphql/examples/grids/get-table.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..709e6b2f0d --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/increment-row-column.md @@ -0,0 +1,19 @@ +mutation { + gridsIncrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, + max: 0 + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/list-columns.md b/docs/examples/1.8.x/server-graphql/examples/grids/list-columns.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/list-databases.md b/docs/examples/1.8.x/server-graphql/examples/grids/list-databases.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-graphql/examples/grids/list-indexes.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/list-rows.md b/docs/examples/1.8.x/server-graphql/examples/grids/list-rows.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/list-tables.md b/docs/examples/1.8.x/server-graphql/examples/grids/list-tables.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..67c8495471 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-boolean-column.md @@ -0,0 +1,20 @@ +mutation { + gridsUpdateBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-database.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-database.md new file mode 100644 index 0000000000..02c045b9cd --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-database.md @@ -0,0 +1,13 @@ +mutation { + gridsUpdateDatabase( + databaseId: "", + name: "", + enabled: false + ) { + _id + name + _createdAt + _updatedAt + enabled + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..5e19393c67 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-datetime-column.md @@ -0,0 +1,21 @@ +mutation { + gridsUpdateDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-email-column.md new file mode 100644 index 0000000000..caa6153896 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-email-column.md @@ -0,0 +1,21 @@ +mutation { + gridsUpdateEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..c3d90f4e23 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-enum-column.md @@ -0,0 +1,23 @@ +mutation { + gridsUpdateEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: [], + required: false, + default: "", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + elements + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-float-column.md new file mode 100644 index 0000000000..a6b700ce73 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-float-column.md @@ -0,0 +1,24 @@ +mutation { + gridsUpdateFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, + max: 0, + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + min + max + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..fcc53102d1 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-integer-column.md @@ -0,0 +1,24 @@ +mutation { + gridsUpdateIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, + max: 0, + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + min + max + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..f867063151 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-ip-column.md @@ -0,0 +1,21 @@ +mutation { + gridsUpdateIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..e24311b53a --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-relationship-column.md @@ -0,0 +1,24 @@ +mutation { + gridsUpdateRelationshipColumn( + databaseId: "", + tableId: "", + key: "", + onDelete: "cascade", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + relatedTable + relationType + twoWay + twoWayKey + onDelete + side + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-row.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-row.md new file mode 100644 index 0000000000..2bb105e8c0 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-row.md @@ -0,0 +1,18 @@ +mutation { + gridsUpdateRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-rows.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-rows.md new file mode 100644 index 0000000000..99df9b0b99 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-rows.md @@ -0,0 +1,20 @@ +mutation { + gridsUpdateRows( + databaseId: "", + tableId: "", + data: "{}", + queries: [] + ) { + total + rows { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-string-column.md new file mode 100644 index 0000000000..c98f49a807 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-string-column.md @@ -0,0 +1,23 @@ +mutation { + gridsUpdateStringColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + size: 1, + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + size + default + encrypt + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-table.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-table.md new file mode 100644 index 0000000000..cea6d5cfff --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-table.md @@ -0,0 +1,32 @@ +mutation { + gridsUpdateTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], + rowSecurity: false, + enabled: false + ) { + _id + _createdAt + _updatedAt + _permissions + databaseId + name + enabled + rowSecurity + columns + indexes { + _id + _createdAt + _updatedAt + key + type + status + error + columns + lengths + orders + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-graphql/examples/grids/update-url-column.md new file mode 100644 index 0000000000..c64d93882d --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/update-url-column.md @@ -0,0 +1,21 @@ +mutation { + gridsUpdateUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", + newKey: "" + ) { + key + type + status + error + required + array + _createdAt + _updatedAt + format + default + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-graphql/examples/grids/upsert-row.md new file mode 100644 index 0000000000..f8e0606109 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/upsert-row.md @@ -0,0 +1,18 @@ +mutation { + gridsUpsertRow( + databaseId: "", + tableId: "", + rowId: "", + data: "{}", + permissions: ["read("any")"] + ) { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-graphql/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..d456e9883d --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/grids/upsert-rows.md @@ -0,0 +1,19 @@ +mutation { + gridsUpsertRows( + databaseId: "", + tableId: "", + rows: [] + ) { + total + rows { + _id + _sequence + _tableId + _databaseId + _createdAt + _updatedAt + _permissions + data + } + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/sites/create-deployment.md b/docs/examples/1.8.x/server-graphql/examples/sites/create-deployment.md index 8f77dd60eb..26970a18a8 100644 --- a/docs/examples/1.8.x/server-graphql/examples/sites/create-deployment.md +++ b/docs/examples/1.8.x/server-graphql/examples/sites/create-deployment.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/deployments HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: Content-Length: *Length of your entity body in bytes* diff --git a/docs/examples/1.8.x/server-graphql/examples/storage/create-file.md b/docs/examples/1.8.x/server-graphql/examples/storage/create-file.md index 5b4f9a0c22..70bf6cbb1f 100644 --- a/docs/examples/1.8.x/server-graphql/examples/storage/create-file.md +++ b/docs/examples/1.8.x/server-graphql/examples/storage/create-file.md @@ -1,7 +1,7 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.8.x/server-kotlin/java/databases/create-document.md index 368b816219..5231be33d6 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/create-document.md @@ -4,9 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/create-documents.md b/docs/examples/1.8.x/server-kotlin/java/databases/create-documents.md index 77d79812a9..0de0c276ed 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/create-documents.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/create-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey(""); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md index b1b4de4db4..daa44141e2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-document.md @@ -4,9 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); @@ -14,6 +13,8 @@ databases.upsertDocument( "", // databaseId "", // collectionId "", // documentId + mapOf( "a" to "b" ), // data + listOf("read("any")"), // permissions (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-documents.md b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-documents.md index 0bf0c1778c..95e9a33ef2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/upsert-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey(""); // Your secret API key Databases databases = new Databases(client); @@ -12,6 +12,7 @@ Databases databases = new Databases(client); databases.upsertDocuments( "", // databaseId "", // collectionId + listOf(), // documents new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.8.x/server-kotlin/java/functions/create-execution.md index 82d48fa55b..93efa0adf8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.8.x/server-kotlin/java/functions/create-execution.md @@ -16,7 +16,7 @@ functions.createExecution( "", // path (optional) ExecutionMethod.GET, // method (optional) mapOf( "a" to "b" ), // headers (optional) - "", // scheduledAt (optional) + "", // scheduledAt (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-boolean-column.md new file mode 100644 index 0000000000..2981fc8cf4 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-boolean-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createBooleanColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + false, // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-database.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-database.md new file mode 100644 index 0000000000..4c6155962e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-database.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createDatabase( + "", // databaseId + "", // name + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-datetime-column.md new file mode 100644 index 0000000000..7389ea9a94 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-datetime-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createDatetimeColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "", // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-email-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-email-column.md new file mode 100644 index 0000000000..be481047e1 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-email-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createEmailColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "email@example.com", // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-enum-column.md new file mode 100644 index 0000000000..33c6b63e27 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-enum-column.md @@ -0,0 +1,29 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createEnumColumn( + "", // databaseId + "", // tableId + "", // key + listOf(), // elements + false, // required + "", // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-float-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-float-column.md new file mode 100644 index 0000000000..d66f1b5c60 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-float-column.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createFloatColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + 0, // min (optional) + 0, // max (optional) + 0, // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-index.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-index.md new file mode 100644 index 0000000000..670310bb66 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-index.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; +import io.appwrite.enums.IndexType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createIndex( + "", // databaseId + "", // tableId + "", // key + IndexType.KEY, // type + listOf(), // columns + listOf(), // orders (optional) + listOf(), // lengths (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-integer-column.md new file mode 100644 index 0000000000..342654ef1a --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-integer-column.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createIntegerColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + 0, // min (optional) + 0, // max (optional) + 0, // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-ip-column.md new file mode 100644 index 0000000000..d72e7dd59d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-ip-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createIpColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "", // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-relationship-column.md new file mode 100644 index 0000000000..2d1c5fb22a --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-relationship-column.md @@ -0,0 +1,31 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; +import io.appwrite.enums.RelationshipType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createRelationshipColumn( + "", // databaseId + "", // tableId + "", // relatedTableId + RelationshipType.ONETOONE, // type + false, // twoWay (optional) + "", // key (optional) + "", // twoWayKey (optional) + RelationMutate.CASCADE, // onDelete (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-row.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-row.md new file mode 100644 index 0000000000..6b954814c0 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-row.md @@ -0,0 +1,27 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.createRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-rows.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-rows.md new file mode 100644 index 0000000000..a55855d8f5 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-rows.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createRows( + "", // databaseId + "", // tableId + listOf(), // rows + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-string-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-string-column.md new file mode 100644 index 0000000000..b819afb4b4 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-string-column.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createStringColumn( + "", // databaseId + "", // tableId + "", // key + 1, // size + false, // required + "", // default (optional) + false, // array (optional) + false, // encrypt (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-table.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-table.md new file mode 100644 index 0000000000..aa98b81de6 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-table.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createTable( + "", // databaseId + "", // tableId + "", // name + listOf("read("any")"), // permissions (optional) + false, // rowSecurity (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/create-url-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/create-url-column.md new file mode 100644 index 0000000000..d8761440b3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/create-url-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.createUrlColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "https://example.com", // default (optional) + false, // array (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/decrement-row-column.md new file mode 100644 index 0000000000..407ea83f81 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/decrement-row-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.decrementRowColumn( + "", // databaseId + "", // tableId + "", // rowId + "", // column + 0, // value (optional) + 0, // min (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-column.md new file mode 100644 index 0000000000..cc3c40fba7 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-column.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.deleteColumn( + "", // databaseId + "", // tableId + "", // key + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-database.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-database.md new file mode 100644 index 0000000000..fca41e75ea --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-database.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.deleteDatabase( + "", // databaseId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-index.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-index.md new file mode 100644 index 0000000000..43449e908f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-index.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.deleteIndex( + "", // databaseId + "", // tableId + "", // key + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-row.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-row.md new file mode 100644 index 0000000000..cb812bac12 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-row.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.deleteRow( + "", // databaseId + "", // tableId + "", // rowId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-rows.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-rows.md new file mode 100644 index 0000000000..2425af9e8c --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-rows.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.deleteRows( + "", // databaseId + "", // tableId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/delete-table.md b/docs/examples/1.8.x/server-kotlin/java/grids/delete-table.md new file mode 100644 index 0000000000..dbbb4781ba --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/delete-table.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.deleteTable( + "", // databaseId + "", // tableId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/get-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/get-column.md new file mode 100644 index 0000000000..1d630f17d7 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/get-column.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.getColumn( + "", // databaseId + "", // tableId + "", // key + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/get-database.md b/docs/examples/1.8.x/server-kotlin/java/grids/get-database.md new file mode 100644 index 0000000000..bc7eea4dbb --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/get-database.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.getDatabase( + "", // databaseId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/get-index.md b/docs/examples/1.8.x/server-kotlin/java/grids/get-index.md new file mode 100644 index 0000000000..14163c34a9 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/get-index.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.getIndex( + "", // databaseId + "", // tableId + "", // key + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/get-row.md b/docs/examples/1.8.x/server-kotlin/java/grids/get-row.md new file mode 100644 index 0000000000..e9d89c92b8 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/get-row.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.getRow( + "", // databaseId + "", // tableId + "", // rowId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/get-table.md b/docs/examples/1.8.x/server-kotlin/java/grids/get-table.md new file mode 100644 index 0000000000..39d090219b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/get-table.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.getTable( + "", // databaseId + "", // tableId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/increment-row-column.md new file mode 100644 index 0000000000..aaccf0a1a3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/increment-row-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.incrementRowColumn( + "", // databaseId + "", // tableId + "", // rowId + "", // column + 0, // value (optional) + 0, // max (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/list-columns.md b/docs/examples/1.8.x/server-kotlin/java/grids/list-columns.md new file mode 100644 index 0000000000..f95ca925a6 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/list-columns.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.listColumns( + "", // databaseId + "", // tableId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/list-databases.md b/docs/examples/1.8.x/server-kotlin/java/grids/list-databases.md new file mode 100644 index 0000000000..97f7263dd4 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/list-databases.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.listDatabases( + listOf(), // queries (optional) + "", // search (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/grids/list-indexes.md new file mode 100644 index 0000000000..aa5b11a8c2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/list-indexes.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.listIndexes( + "", // databaseId + "", // tableId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/list-rows.md b/docs/examples/1.8.x/server-kotlin/java/grids/list-rows.md new file mode 100644 index 0000000000..ccf3d74a25 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/list-rows.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.listRows( + "", // databaseId + "", // tableId + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/list-tables.md b/docs/examples/1.8.x/server-kotlin/java/grids/list-tables.md new file mode 100644 index 0000000000..0a60dbeebe --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/list-tables.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.listTables( + "", // databaseId + listOf(), // queries (optional) + "", // search (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-boolean-column.md new file mode 100644 index 0000000000..e3d6b71b70 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-boolean-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateBooleanColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + false, // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-database.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-database.md new file mode 100644 index 0000000000..da9bd7d04b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-database.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateDatabase( + "", // databaseId + "", // name + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-datetime-column.md new file mode 100644 index 0000000000..ede33229ad --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-datetime-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateDatetimeColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "", // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-email-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-email-column.md new file mode 100644 index 0000000000..48803eb4f4 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-email-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateEmailColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "email@example.com", // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-enum-column.md new file mode 100644 index 0000000000..63dc238d2e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-enum-column.md @@ -0,0 +1,29 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateEnumColumn( + "", // databaseId + "", // tableId + "", // key + listOf(), // elements + false, // required + "", // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-float-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-float-column.md new file mode 100644 index 0000000000..9833f5ec8b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-float-column.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateFloatColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + 0, // default + 0, // min (optional) + 0, // max (optional) + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-integer-column.md new file mode 100644 index 0000000000..059b1328d5 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-integer-column.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateIntegerColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + 0, // default + 0, // min (optional) + 0, // max (optional) + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-ip-column.md new file mode 100644 index 0000000000..8e31214981 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-ip-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateIpColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "", // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-relationship-column.md new file mode 100644 index 0000000000..b90b21b164 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-relationship-column.md @@ -0,0 +1,27 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateRelationshipColumn( + "", // databaseId + "", // tableId + "", // key + RelationMutate.CASCADE, // onDelete (optional) + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-row.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-row.md new file mode 100644 index 0000000000..5f95afb5f5 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-row.md @@ -0,0 +1,27 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.updateRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data (optional) + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-rows.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-rows.md new file mode 100644 index 0000000000..67c9a1be89 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-rows.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateRows( + "", // databaseId + "", // tableId + mapOf( "a" to "b" ), // data (optional) + listOf(), // queries (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-string-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-string-column.md new file mode 100644 index 0000000000..13e266abc0 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-string-column.md @@ -0,0 +1,29 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateStringColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "", // default + 1, // size (optional) + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-table.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-table.md new file mode 100644 index 0000000000..24dfc05e49 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-table.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateTable( + "", // databaseId + "", // tableId + "", // name + listOf("read("any")"), // permissions (optional) + false, // rowSecurity (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/update-url-column.md b/docs/examples/1.8.x/server-kotlin/java/grids/update-url-column.md new file mode 100644 index 0000000000..5217121225 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/update-url-column.md @@ -0,0 +1,28 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.updateUrlColumn( + "", // databaseId + "", // tableId + "", // key + false, // required + "https://example.com", // default + "", // newKey (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/upsert-row.md b/docs/examples/1.8.x/server-kotlin/java/grids/upsert-row.md new file mode 100644 index 0000000000..8f1b8670df --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/upsert-row.md @@ -0,0 +1,27 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Grids grids = new Grids(client); + +grids.upsertRow( + "", // databaseId + "", // tableId + "", // rowId + mapOf( "a" to "b" ), // data (optional) + listOf("read("any")"), // permissions (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/grids/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/java/grids/upsert-rows.md new file mode 100644 index 0000000000..2081f0f19f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/grids/upsert-rows.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Grids; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Grids grids = new Grids(client); + +grids.upsertRows( + "", // databaseId + "", // tableId + listOf(), // rows + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-document.md index 93da01eefa..695fdbdfaa 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-document.md @@ -4,9 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token val databases = Databases(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-documents.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-documents.md index ddce31c71c..41a98dc016 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-documents.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/create-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey("") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md index df261dbcb6..d8be0e13db 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-document.md @@ -4,14 +4,15 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token val databases = Databases(client) val response = databases.upsertDocument( databaseId = "", collectionId = "", - documentId = "" + documentId = "", + data = mapOf( "a" to "b" ), + permissions = listOf("read("any")") // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-documents.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-documents.md index 1cb376f107..ca861c61b2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/upsert-documents.md @@ -4,12 +4,13 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey("") // Your secret API key val databases = Databases(client) val response = databases.upsertDocuments( databaseId = "", - collectionId = "" + collectionId = "", + documents = listOf() ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.8.x/server-kotlin/kotlin/functions/create-execution.md index 94bfa2310c..2734412232 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/functions/create-execution.md @@ -16,5 +16,5 @@ val response = functions.createExecution( path = "", // optional method = "GET", // optional headers = mapOf( "a" to "b" ), // optional - scheduledAt = "" // optional + scheduledAt = "" // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-boolean-column.md new file mode 100644 index 0000000000..5966655e1e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-boolean-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createBooleanColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = false, // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-database.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-database.md new file mode 100644 index 0000000000..bc9999ff18 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-database.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createDatabase( + databaseId = "", + name = "", + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-datetime-column.md new file mode 100644 index 0000000000..f3b11b5018 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-datetime-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createDatetimeColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "", // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-email-column.md new file mode 100644 index 0000000000..a70dd3ac45 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-email-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createEmailColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "email@example.com", // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-enum-column.md new file mode 100644 index 0000000000..3858155479 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-enum-column.md @@ -0,0 +1,20 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createEnumColumn( + databaseId = "", + tableId = "", + key = "", + elements = listOf(), + required = false, + default = "", // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-float-column.md new file mode 100644 index 0000000000..d7b4c0155d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-float-column.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createFloatColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + min = 0, // optional + max = 0, // optional + default = 0, // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-index.md new file mode 100644 index 0000000000..df16a35cc2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-index.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids +import io.appwrite.enums.IndexType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createIndex( + databaseId = "", + tableId = "", + key = "", + type = IndexType.KEY, + columns = listOf(), + orders = listOf(), // optional + lengths = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-integer-column.md new file mode 100644 index 0000000000..db8bde2d72 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-integer-column.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createIntegerColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + min = 0, // optional + max = 0, // optional + default = 0, // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-ip-column.md new file mode 100644 index 0000000000..f3ab36bd0c --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-ip-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createIpColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "", // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-relationship-column.md new file mode 100644 index 0000000000..9ba4cafbb7 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-relationship-column.md @@ -0,0 +1,22 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids +import io.appwrite.enums.RelationshipType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createRelationshipColumn( + databaseId = "", + tableId = "", + relatedTableId = "", + type = RelationshipType.ONETOONE, + twoWay = false, // optional + key = "", // optional + twoWayKey = "", // optional + onDelete = "cascade" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-row.md new file mode 100644 index 0000000000..0c3d2531c5 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-row.md @@ -0,0 +1,18 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.createRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), + permissions = listOf("read("any")") // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-rows.md new file mode 100644 index 0000000000..9c7da7c93b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-rows.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createRows( + databaseId = "", + tableId = "", + rows = listOf() +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-string-column.md new file mode 100644 index 0000000000..f6793c817b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-string-column.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createStringColumn( + databaseId = "", + tableId = "", + key = "", + size = 1, + required = false, + default = "", // optional + array = false, // optional + encrypt = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-table.md new file mode 100644 index 0000000000..55de471725 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-table.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createTable( + databaseId = "", + tableId = "", + name = "", + permissions = listOf("read("any")"), // optional + rowSecurity = false, // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-url-column.md new file mode 100644 index 0000000000..33311e29ca --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/create-url-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.createUrlColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "https://example.com", // optional + array = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/decrement-row-column.md new file mode 100644 index 0000000000..9a450f66f3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/decrement-row-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.decrementRowColumn( + databaseId = "", + tableId = "", + rowId = "", + column = "", + value = 0, // optional + min = 0 // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-column.md new file mode 100644 index 0000000000..09636dae09 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-column.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.deleteColumn( + databaseId = "", + tableId = "", + key = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-database.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-database.md new file mode 100644 index 0000000000..f872453a99 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-database.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.deleteDatabase( + databaseId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-index.md new file mode 100644 index 0000000000..d3037ca6b0 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-index.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.deleteIndex( + databaseId = "", + tableId = "", + key = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-row.md new file mode 100644 index 0000000000..25b60e0e2d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-row.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.deleteRow( + databaseId = "", + tableId = "", + rowId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-rows.md new file mode 100644 index 0000000000..c3aa106eac --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-rows.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.deleteRows( + databaseId = "", + tableId = "", + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-table.md new file mode 100644 index 0000000000..f0208d4345 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/delete-table.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.deleteTable( + databaseId = "", + tableId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-column.md new file mode 100644 index 0000000000..92890a7dc3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-column.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.getColumn( + databaseId = "", + tableId = "", + key = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-database.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-database.md new file mode 100644 index 0000000000..fd91ab0ad3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-database.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.getDatabase( + databaseId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-index.md new file mode 100644 index 0000000000..7c0b2dc8cb --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-index.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.getIndex( + databaseId = "", + tableId = "", + key = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-row.md new file mode 100644 index 0000000000..b217814b27 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-row.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.getRow( + databaseId = "", + tableId = "", + rowId = "", + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-table.md new file mode 100644 index 0000000000..d8a4cd243e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/get-table.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.getTable( + databaseId = "", + tableId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/increment-row-column.md new file mode 100644 index 0000000000..adbe5c287e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/increment-row-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.incrementRowColumn( + databaseId = "", + tableId = "", + rowId = "", + column = "", + value = 0, // optional + max = 0 // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-columns.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-columns.md new file mode 100644 index 0000000000..b033eb423d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-columns.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.listColumns( + databaseId = "", + tableId = "", + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-databases.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-databases.md new file mode 100644 index 0000000000..c713568269 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-databases.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.listDatabases( + queries = listOf(), // optional + search = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-indexes.md new file mode 100644 index 0000000000..84bbcbd232 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-indexes.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.listIndexes( + databaseId = "", + tableId = "", + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-rows.md new file mode 100644 index 0000000000..ea54280ff3 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-rows.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.listRows( + databaseId = "", + tableId = "", + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-tables.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-tables.md new file mode 100644 index 0000000000..6bb5a588b2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/list-tables.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.listTables( + databaseId = "", + queries = listOf(), // optional + search = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-boolean-column.md new file mode 100644 index 0000000000..b9360ec99e --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-boolean-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateBooleanColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = false, + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-database.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-database.md new file mode 100644 index 0000000000..ae8aacc343 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-database.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateDatabase( + databaseId = "", + name = "", + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-datetime-column.md new file mode 100644 index 0000000000..50282217d7 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-datetime-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateDatetimeColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "", + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-email-column.md new file mode 100644 index 0000000000..a9c2996800 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-email-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateEmailColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "email@example.com", + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-enum-column.md new file mode 100644 index 0000000000..c23eef358b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-enum-column.md @@ -0,0 +1,20 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateEnumColumn( + databaseId = "", + tableId = "", + key = "", + elements = listOf(), + required = false, + default = "", + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-float-column.md new file mode 100644 index 0000000000..1054c34fbd --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-float-column.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateFloatColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = 0, + min = 0, // optional + max = 0, // optional + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-integer-column.md new file mode 100644 index 0000000000..288c74b4fe --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-integer-column.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateIntegerColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = 0, + min = 0, // optional + max = 0, // optional + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-ip-column.md new file mode 100644 index 0000000000..cbc358a3b6 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-ip-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateIpColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "", + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-relationship-column.md new file mode 100644 index 0000000000..99df537cfe --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-relationship-column.md @@ -0,0 +1,18 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateRelationshipColumn( + databaseId = "", + tableId = "", + key = "", + onDelete = "cascade", // optional + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-row.md new file mode 100644 index 0000000000..ae18af353a --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-row.md @@ -0,0 +1,18 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.updateRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), // optional + permissions = listOf("read("any")") // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-rows.md new file mode 100644 index 0000000000..3682cd0724 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-rows.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateRows( + databaseId = "", + tableId = "", + data = mapOf( "a" to "b" ), // optional + queries = listOf() // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-string-column.md new file mode 100644 index 0000000000..8f7a213260 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-string-column.md @@ -0,0 +1,20 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateStringColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "", + size = 1, // optional + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-table.md new file mode 100644 index 0000000000..99232d858f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-table.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateTable( + databaseId = "", + tableId = "", + name = "", + permissions = listOf("read("any")"), // optional + rowSecurity = false, // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-url-column.md new file mode 100644 index 0000000000..65d299dba8 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/update-url-column.md @@ -0,0 +1,19 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.updateUrlColumn( + databaseId = "", + tableId = "", + key = "", + required = false, + default = "https://example.com", + newKey = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-row.md new file mode 100644 index 0000000000..cbf0f38c8d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-row.md @@ -0,0 +1,18 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val grids = Grids(client) + +val response = grids.upsertRow( + databaseId = "", + tableId = "", + rowId = "", + data = mapOf( "a" to "b" ), // optional + permissions = listOf("read("any")") // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-rows.md new file mode 100644 index 0000000000..c767b66803 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/grids/upsert-rows.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Grids + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val grids = Grids(client) + +val response = grids.upsertRows( + databaseId = "", + tableId = "", + rows = listOf() +) diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.8.x/server-nodejs/examples/databases/create-document.md index 44cfc3c199..a2e77b9241 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/create-document.md @@ -2,9 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/create-documents.md b/docs/examples/1.8.x/server-nodejs/examples/databases/create-documents.md index 7ecaa6bef4..d73df44cd1 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/create-documents.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md index 7f2ffba3a3..fcc62d601c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-document.md @@ -2,14 +2,15 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); const result = await databases.upsertDocument( '', // databaseId '', // collectionId - '' // documentId + '', // documentId + {}, // data + ["read("any")"] // permissions (optional) ); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-documents.md index 52f7b55e11..425b7ba51f 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/upsert-documents.md @@ -2,12 +2,13 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // + .setProject('') // Your project ID .setKey(''); // Your secret API key const databases = new sdk.Databases(client); const result = await databases.upsertDocuments( '', // databaseId - '' // collectionId + '', // collectionId + [] // documents ); diff --git a/docs/examples/1.8.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.8.x/server-nodejs/examples/functions/create-execution.md index 3c89030ca6..5671483191 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-nodejs/examples/functions/create-execution.md @@ -14,5 +14,5 @@ const result = await functions.createExecution( '', // path (optional) sdk.ExecutionMethod.GET, // method (optional) {}, // headers (optional) - '' // scheduledAt (optional) + '' // scheduledAt (optional) ); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..dae3f30840 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-boolean-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-database.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-database.md new file mode 100644 index 0000000000..720c0d6f23 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-database.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..d2b5c7e00f --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-datetime-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-email-column.md new file mode 100644 index 0000000000..ce56e96d85 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-email-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..653b1ed75c --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-enum-column.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-float-column.md new file mode 100644 index 0000000000..dc6aee4805 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-float-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-index.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-index.md new file mode 100644 index 0000000000..975fa3047e --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-index.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createIndex( + '', // databaseId + '', // tableId + '', // key + sdk.IndexType.Key, // type + [], // columns + [], // orders (optional) + [] // lengths (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..3444f82b58 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-integer-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // min (optional) + null, // max (optional) + null, // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..52a9e8fbeb --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-ip-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..c0270dab85 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-relationship-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createRelationshipColumn( + '', // databaseId + '', // tableId + '', // relatedTableId + sdk.RelationshipType.OneToOne, // type + false, // twoWay (optional) + '', // key (optional) + '', // twoWayKey (optional) + sdk.RelationMutate.Cascade // onDelete (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-row.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-row.md new file mode 100644 index 0000000000..a8495c4b94 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-row.md @@ -0,0 +1,16 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.createRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-rows.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-rows.md new file mode 100644 index 0000000000..c9400a4edf --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-rows.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createRows( + '', // databaseId + '', // tableId + [] // rows +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-string-column.md new file mode 100644 index 0000000000..f72d042dfb --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-string-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createStringColumn( + '', // databaseId + '', // tableId + '', // key + 1, // size + false, // required + '', // default (optional) + false, // array (optional) + false // encrypt (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-table.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-table.md new file mode 100644 index 0000000000..d022de372f --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-table.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/create-url-column.md new file mode 100644 index 0000000000..83c6d5a01b --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/create-url-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.createUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default (optional) + false // array (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..a166a1bfc0 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/decrement-row-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.decrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // min (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-column.md new file mode 100644 index 0000000000..7130f48cae --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-column.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.deleteColumn( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-database.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-database.md new file mode 100644 index 0000000000..4a31d091b7 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-database.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.deleteDatabase( + '' // databaseId +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-index.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-index.md new file mode 100644 index 0000000000..b266062053 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-index.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.deleteIndex( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-row.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-row.md new file mode 100644 index 0000000000..cf202374a0 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-row.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.deleteRow( + '', // databaseId + '', // tableId + '' // rowId +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-rows.md new file mode 100644 index 0000000000..aa36bacbda --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-rows.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.deleteRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/delete-table.md b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-table.md new file mode 100644 index 0000000000..d3bb221e0d --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/delete-table.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.deleteTable( + '', // databaseId + '' // tableId +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/get-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/get-column.md new file mode 100644 index 0000000000..d3b08936d2 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/get-column.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.getColumn( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/get-database.md b/docs/examples/1.8.x/server-nodejs/examples/grids/get-database.md new file mode 100644 index 0000000000..7d27bbca94 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/get-database.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.getDatabase( + '' // databaseId +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/get-index.md b/docs/examples/1.8.x/server-nodejs/examples/grids/get-index.md new file mode 100644 index 0000000000..e47b942df9 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/get-index.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.getIndex( + '', // databaseId + '', // tableId + '' // key +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/get-row.md b/docs/examples/1.8.x/server-nodejs/examples/grids/get-row.md new file mode 100644 index 0000000000..15c753000a --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/get-row.md @@ -0,0 +1,15 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.getRow( + '', // databaseId + '', // tableId + '', // rowId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/get-table.md b/docs/examples/1.8.x/server-nodejs/examples/grids/get-table.md new file mode 100644 index 0000000000..f7b28eb191 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/get-table.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.getTable( + '', // databaseId + '' // tableId +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..ac5257f658 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/increment-row-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.incrementRowColumn( + '', // databaseId + '', // tableId + '', // rowId + '', // column + null, // value (optional) + null // max (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/list-columns.md b/docs/examples/1.8.x/server-nodejs/examples/grids/list-columns.md new file mode 100644 index 0000000000..dbfaac0262 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/list-columns.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.listColumns( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/list-databases.md b/docs/examples/1.8.x/server-nodejs/examples/grids/list-databases.md new file mode 100644 index 0000000000..8a20b2ac88 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/list-databases.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.listDatabases( + [], // queries (optional) + '' // search (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/grids/list-indexes.md new file mode 100644 index 0000000000..8a102996a6 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/list-indexes.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.listIndexes( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/list-rows.md b/docs/examples/1.8.x/server-nodejs/examples/grids/list-rows.md new file mode 100644 index 0000000000..9f9bb3bc33 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/list-rows.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.listRows( + '', // databaseId + '', // tableId + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/list-tables.md b/docs/examples/1.8.x/server-nodejs/examples/grids/list-tables.md new file mode 100644 index 0000000000..e020b883e0 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/list-tables.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.listTables( + '', // databaseId + [], // queries (optional) + '' // search (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..b695e2d194 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-boolean-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateBooleanColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + false, // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-database.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-database.md new file mode 100644 index 0000000000..689c38f605 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-database.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateDatabase( + '', // databaseId + '', // name + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..8ec6f1cda7 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-datetime-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateDatetimeColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-email-column.md new file mode 100644 index 0000000000..f8e0918819 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-email-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateEmailColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'email@example.com', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..bda1aad53a --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-enum-column.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateEnumColumn( + '', // databaseId + '', // tableId + '', // key + [], // elements + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-float-column.md new file mode 100644 index 0000000000..ae3d5ceb4b --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-float-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateFloatColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..a3e28bc406 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-integer-column.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateIntegerColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..ff8692f81e --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-ip-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateIpColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..19f957f67a --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-relationship-column.md @@ -0,0 +1,16 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateRelationshipColumn( + '', // databaseId + '', // tableId + '', // key + sdk.RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-row.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-row.md new file mode 100644 index 0000000000..79c845f558 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-row.md @@ -0,0 +1,16 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.updateRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-rows.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-rows.md new file mode 100644 index 0000000000..65c8f63cbd --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-rows.md @@ -0,0 +1,15 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateRows( + '', // databaseId + '', // tableId + {}, // data (optional) + [] // queries (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-string-column.md new file mode 100644 index 0000000000..b04f38bd5d --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-string-column.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateStringColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + '', // default + 1, // size (optional) + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-table.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-table.md new file mode 100644 index 0000000000..3d80666600 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-table.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateTable( + '', // databaseId + '', // tableId + '', // name + ["read("any")"], // permissions (optional) + false, // rowSecurity (optional) + false // enabled (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/grids/update-url-column.md new file mode 100644 index 0000000000..aa368bfcc0 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/update-url-column.md @@ -0,0 +1,17 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.updateUrlColumn( + '', // databaseId + '', // tableId + '', // key + false, // required + 'https://example.com', // default + '' // newKey (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-row.md new file mode 100644 index 0000000000..03476fc311 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-row.md @@ -0,0 +1,16 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const grids = new sdk.Grids(client); + +const result = await grids.upsertRow( + '', // databaseId + '', // tableId + '', // rowId + {}, // data (optional) + ["read("any")"] // permissions (optional) +); diff --git a/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..19f2ce1a90 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/grids/upsert-rows.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const grids = new sdk.Grids(client); + +const result = await grids.upsertRows( + '', // databaseId + '', // tableId + [] // rows +); diff --git a/docs/examples/1.8.x/server-php/examples/databases/create-document.md b/docs/examples/1.8.x/server-php/examples/databases/create-document.md index 8726b37719..bf1ee3f62a 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-php/examples/databases/create-document.md @@ -5,9 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.8.x/server-php/examples/databases/create-documents.md b/docs/examples/1.8.x/server-php/examples/databases/create-documents.md index 9429b57aba..bc05f67260 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-php/examples/databases/create-documents.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // + ->setProject('') // Your project ID ->setKey(''); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md index 2f8464c995..6cff8296a3 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-php/examples/databases/upsert-document.md @@ -5,14 +5,15 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with $databases = new Databases($client); $result = $databases->upsertDocument( databaseId: '', collectionId: '', - documentId: '' + documentId: '', + data: [], + permissions: ["read("any")"] // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-php/examples/databases/upsert-documents.md index 11898dc33a..d9f9efda5c 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-php/examples/databases/upsert-documents.md @@ -5,12 +5,13 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // + ->setProject('') // Your project ID ->setKey(''); // Your secret API key $databases = new Databases($client); $result = $databases->upsertDocuments( databaseId: '', - collectionId: '' + collectionId: '', + documents: [] ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/functions/create-execution.md b/docs/examples/1.8.x/server-php/examples/functions/create-execution.md index 9aeb976cf3..cd11b5ea6e 100644 --- a/docs/examples/1.8.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-php/examples/functions/create-execution.md @@ -17,5 +17,5 @@ $result = $functions->createExecution( path: '', // optional method: ExecutionMethod::GET(), // optional headers: [], // optional - scheduledAt: '' // optional + scheduledAt: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..22e7cf8058 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-boolean-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createBooleanColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: false, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-database.md b/docs/examples/1.8.x/server-php/examples/grids/create-database.md new file mode 100644 index 0000000000..ff7c3f73fb --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-database.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createDatabase( + databaseId: '', + name: '', + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..afb847fd30 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-datetime-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createDatetimeColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: '', // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-email-column.md new file mode 100644 index 0000000000..7516614820 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-email-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createEmailColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: 'email@example.com', // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..f4a9ff2e5d --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-enum-column.md @@ -0,0 +1,21 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createEnumColumn( + databaseId: '', + tableId: '', + key: '', + elements: [], + required: false, + default: '', // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-float-column.md new file mode 100644 index 0000000000..7a02a1790b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-float-column.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createFloatColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + min: null, // optional + max: null, // optional + default: null, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-index.md b/docs/examples/1.8.x/server-php/examples/grids/create-index.md new file mode 100644 index 0000000000..31bfdc2754 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-index.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createIndex( + databaseId: '', + tableId: '', + key: '', + type: IndexType::KEY(), + columns: [], + orders: [], // optional + lengths: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..6495fc6309 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-integer-column.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createIntegerColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + min: null, // optional + max: null, // optional + default: null, // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..65379a2f94 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-ip-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createIpColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: '', // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..cde72569ad --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-relationship-column.md @@ -0,0 +1,23 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createRelationshipColumn( + databaseId: '', + tableId: '', + relatedTableId: '', + type: RelationshipType::ONETOONE(), + twoWay: false, // optional + key: '', // optional + twoWayKey: '', // optional + onDelete: RelationMutate::CASCADE() // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-row.md b/docs/examples/1.8.x/server-php/examples/grids/create-row.md new file mode 100644 index 0000000000..58f678c6c3 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-row.md @@ -0,0 +1,19 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->createRow( + databaseId: '', + tableId: '', + rowId: '', + data: [], + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-rows.md b/docs/examples/1.8.x/server-php/examples/grids/create-rows.md new file mode 100644 index 0000000000..531ebaf846 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-rows.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createRows( + databaseId: '', + tableId: '', + rows: [] +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-string-column.md new file mode 100644 index 0000000000..a5acf25859 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-string-column.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createStringColumn( + databaseId: '', + tableId: '', + key: '', + size: 1, + required: false, + default: '', // optional + array: false, // optional + encrypt: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-table.md b/docs/examples/1.8.x/server-php/examples/grids/create-table.md new file mode 100644 index 0000000000..ca6e017375 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-table.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createTable( + databaseId: '', + tableId: '', + name: '', + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-php/examples/grids/create-url-column.md new file mode 100644 index 0000000000..b0149f279b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/create-url-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->createUrlColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: 'https://example.com', // optional + array: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-php/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..d7db09ed30 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/decrement-row-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->decrementRowColumn( + databaseId: '', + tableId: '', + rowId: '', + column: '', + value: null, // optional + min: null // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-column.md b/docs/examples/1.8.x/server-php/examples/grids/delete-column.md new file mode 100644 index 0000000000..3862ecbde9 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-column.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->deleteColumn( + databaseId: '', + tableId: '', + key: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-database.md b/docs/examples/1.8.x/server-php/examples/grids/delete-database.md new file mode 100644 index 0000000000..761406ba9b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-database.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->deleteDatabase( + databaseId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-index.md b/docs/examples/1.8.x/server-php/examples/grids/delete-index.md new file mode 100644 index 0000000000..913091455b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-index.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->deleteIndex( + databaseId: '', + tableId: '', + key: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-row.md b/docs/examples/1.8.x/server-php/examples/grids/delete-row.md new file mode 100644 index 0000000000..14b72e6e56 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-row.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->deleteRow( + databaseId: '', + tableId: '', + rowId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-php/examples/grids/delete-rows.md new file mode 100644 index 0000000000..567b497f04 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-rows.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->deleteRows( + databaseId: '', + tableId: '', + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/delete-table.md b/docs/examples/1.8.x/server-php/examples/grids/delete-table.md new file mode 100644 index 0000000000..ea0eeda80f --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/delete-table.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->deleteTable( + databaseId: '', + tableId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/get-column.md b/docs/examples/1.8.x/server-php/examples/grids/get-column.md new file mode 100644 index 0000000000..ac2c9bb0c4 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/get-column.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->getColumn( + databaseId: '', + tableId: '', + key: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/get-database.md b/docs/examples/1.8.x/server-php/examples/grids/get-database.md new file mode 100644 index 0000000000..c3e9f896c2 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/get-database.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->getDatabase( + databaseId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/get-index.md b/docs/examples/1.8.x/server-php/examples/grids/get-index.md new file mode 100644 index 0000000000..2434fd933b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/get-index.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->getIndex( + databaseId: '', + tableId: '', + key: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/get-row.md b/docs/examples/1.8.x/server-php/examples/grids/get-row.md new file mode 100644 index 0000000000..e13ea67209 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/get-row.md @@ -0,0 +1,18 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->getRow( + databaseId: '', + tableId: '', + rowId: '', + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/get-table.md b/docs/examples/1.8.x/server-php/examples/grids/get-table.md new file mode 100644 index 0000000000..1c9721f1c7 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/get-table.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->getTable( + databaseId: '', + tableId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-php/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..fc9ee9a9eb --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/increment-row-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->incrementRowColumn( + databaseId: '', + tableId: '', + rowId: '', + column: '', + value: null, // optional + max: null // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/list-columns.md b/docs/examples/1.8.x/server-php/examples/grids/list-columns.md new file mode 100644 index 0000000000..7be7581a28 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/list-columns.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->listColumns( + databaseId: '', + tableId: '', + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/list-databases.md b/docs/examples/1.8.x/server-php/examples/grids/list-databases.md new file mode 100644 index 0000000000..f5fec16a25 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/list-databases.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->listDatabases( + queries: [], // optional + search: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-php/examples/grids/list-indexes.md new file mode 100644 index 0000000000..d23248e5d4 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/list-indexes.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->listIndexes( + databaseId: '', + tableId: '', + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/list-rows.md b/docs/examples/1.8.x/server-php/examples/grids/list-rows.md new file mode 100644 index 0000000000..c8537651c6 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/list-rows.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->listRows( + databaseId: '', + tableId: '', + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/list-tables.md b/docs/examples/1.8.x/server-php/examples/grids/list-tables.md new file mode 100644 index 0000000000..95f4f7b65d --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/list-tables.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->listTables( + databaseId: '', + queries: [], // optional + search: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..bc7405d35d --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-boolean-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateBooleanColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: false, + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-database.md b/docs/examples/1.8.x/server-php/examples/grids/update-database.md new file mode 100644 index 0000000000..9d71e5e043 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-database.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateDatabase( + databaseId: '', + name: '', + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..6850a6d373 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-datetime-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateDatetimeColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: '', + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-email-column.md new file mode 100644 index 0000000000..6fe7f82477 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-email-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateEmailColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: 'email@example.com', + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..4a18d02488 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-enum-column.md @@ -0,0 +1,21 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateEnumColumn( + databaseId: '', + tableId: '', + key: '', + elements: [], + required: false, + default: '', + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-float-column.md new file mode 100644 index 0000000000..5e58f8efaf --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-float-column.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateFloatColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: null, + min: null, // optional + max: null, // optional + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..c097b7e286 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-integer-column.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateIntegerColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: null, + min: null, // optional + max: null, // optional + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..9ce131b8e1 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-ip-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateIpColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: '', + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..a0241afb06 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-relationship-column.md @@ -0,0 +1,19 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateRelationshipColumn( + databaseId: '', + tableId: '', + key: '', + onDelete: RelationMutate::CASCADE(), // optional + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-row.md b/docs/examples/1.8.x/server-php/examples/grids/update-row.md new file mode 100644 index 0000000000..a0aae15730 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-row.md @@ -0,0 +1,19 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->updateRow( + databaseId: '', + tableId: '', + rowId: '', + data: [], // optional + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-rows.md b/docs/examples/1.8.x/server-php/examples/grids/update-rows.md new file mode 100644 index 0000000000..270489f44e --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-rows.md @@ -0,0 +1,18 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateRows( + databaseId: '', + tableId: '', + data: [], // optional + queries: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-string-column.md new file mode 100644 index 0000000000..6213deb7aa --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-string-column.md @@ -0,0 +1,21 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateStringColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: '', + size: 1, // optional + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-table.md b/docs/examples/1.8.x/server-php/examples/grids/update-table.md new file mode 100644 index 0000000000..1483eee2a9 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-table.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateTable( + databaseId: '', + tableId: '', + name: '', + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-php/examples/grids/update-url-column.md new file mode 100644 index 0000000000..7f7916c81a --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/update-url-column.md @@ -0,0 +1,20 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->updateUrlColumn( + databaseId: '', + tableId: '', + key: '', + required: false, + default: 'https://example.com', + newKey: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-php/examples/grids/upsert-row.md new file mode 100644 index 0000000000..a07cbe976f --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/upsert-row.md @@ -0,0 +1,19 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$grids = new Grids($client); + +$result = $grids->upsertRow( + databaseId: '', + tableId: '', + rowId: '', + data: [], // optional + permissions: ["read("any")"] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-php/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..5d31648e02 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/grids/upsert-rows.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$grids = new Grids($client); + +$result = $grids->upsertRows( + databaseId: '', + tableId: '', + rows: [] +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/databases/create-document.md b/docs/examples/1.8.x/server-python/examples/databases/create-document.md index 1a8500b0f2..1eaf0246f3 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-python/examples/databases/create-document.md @@ -3,9 +3,8 @@ from appwrite.services.databases import Databases 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 -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token databases = Databases(client) diff --git a/docs/examples/1.8.x/server-python/examples/databases/create-documents.md b/docs/examples/1.8.x/server-python/examples/databases/create-documents.md index 27ad6e8aa8..1b94e5165a 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-python/examples/databases/create-documents.md @@ -3,7 +3,7 @@ from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # +client.set_project('') # Your project ID client.set_key('') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md index 8711e442c5..c491ea4f44 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-python/examples/databases/upsert-document.md @@ -3,14 +3,15 @@ from appwrite.services.databases import Databases 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 -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token databases = Databases(client) result = databases.upsert_document( database_id = '', collection_id = '', - document_id = '' + document_id = '', + data = {}, + permissions = ["read("any")"] # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-python/examples/databases/upsert-documents.md index 79888c8be3..5136d5fcb1 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-python/examples/databases/upsert-documents.md @@ -3,12 +3,13 @@ from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # +client.set_project('') # Your project ID client.set_key('') # Your secret API key databases = Databases(client) result = databases.upsert_documents( database_id = '', - collection_id = '' + collection_id = '', + documents = [] ) diff --git a/docs/examples/1.8.x/server-python/examples/functions/create-execution.md b/docs/examples/1.8.x/server-python/examples/functions/create-execution.md index b41c7e376c..f80b8646c2 100644 --- a/docs/examples/1.8.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-python/examples/functions/create-execution.md @@ -15,5 +15,5 @@ result = functions.create_execution( path = '', # optional method = ExecutionMethod.GET, # optional headers = {}, # optional - scheduled_at = '' # optional + scheduled_at = '' # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..73d8323533 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-boolean-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_boolean_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = False, # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-database.md b/docs/examples/1.8.x/server-python/examples/grids/create-database.md new file mode 100644 index 0000000000..a7749e4903 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-database.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_database( + database_id = '', + name = '', + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..a98024c16c --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-datetime-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_datetime_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = '', # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-email-column.md new file mode 100644 index 0000000000..372cbafce3 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-email-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_email_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = 'email@example.com', # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..d7b47c80cb --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-enum-column.md @@ -0,0 +1,19 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_enum_column( + database_id = '', + table_id = '', + key = '', + elements = [], + required = False, + default = '', # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-float-column.md new file mode 100644 index 0000000000..5a52128ac1 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-float-column.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_float_column( + database_id = '', + table_id = '', + key = '', + required = False, + min = None, # optional + max = None, # optional + default = None, # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-index.md b/docs/examples/1.8.x/server-python/examples/grids/create-index.md new file mode 100644 index 0000000000..1d67b8abc0 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-index.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids +from appwrite.enums import IndexType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_index( + database_id = '', + table_id = '', + key = '', + type = IndexType.KEY, + columns = [], + orders = [], # optional + lengths = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..aed49578aa --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-integer-column.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_integer_column( + database_id = '', + table_id = '', + key = '', + required = False, + min = None, # optional + max = None, # optional + default = None, # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..af873c91a1 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-ip-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_ip_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = '', # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..3cb858d260 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-relationship-column.md @@ -0,0 +1,21 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids +from appwrite.enums import RelationshipType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_relationship_column( + database_id = '', + table_id = '', + related_table_id = '', + type = RelationshipType.ONETOONE, + two_way = False, # optional + key = '', # optional + two_way_key = '', # optional + on_delete = RelationMutate.CASCADE # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-row.md b/docs/examples/1.8.x/server-python/examples/grids/create-row.md new file mode 100644 index 0000000000..5645f0bd23 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-row.md @@ -0,0 +1,17 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.create_row( + database_id = '', + table_id = '', + row_id = '', + data = {}, + permissions = ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-rows.md b/docs/examples/1.8.x/server-python/examples/grids/create-rows.md new file mode 100644 index 0000000000..3274c48a10 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-rows.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_rows( + database_id = '', + table_id = '', + rows = [] +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-string-column.md new file mode 100644 index 0000000000..3771a070ba --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-string-column.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_string_column( + database_id = '', + table_id = '', + key = '', + size = 1, + required = False, + default = '', # optional + array = False, # optional + encrypt = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-table.md b/docs/examples/1.8.x/server-python/examples/grids/create-table.md new file mode 100644 index 0000000000..64c1b50d69 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-table.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_table( + database_id = '', + table_id = '', + name = '', + permissions = ["read("any")"], # optional + row_security = False, # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-python/examples/grids/create-url-column.md new file mode 100644 index 0000000000..45c1a2d82e --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/create-url-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.create_url_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = 'https://example.com', # optional + array = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-python/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..9608337398 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/decrement-row-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.decrement_row_column( + database_id = '', + table_id = '', + row_id = '', + column = '', + value = None, # optional + min = None # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-column.md b/docs/examples/1.8.x/server-python/examples/grids/delete-column.md new file mode 100644 index 0000000000..650a1c3578 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-column.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.delete_column( + database_id = '', + table_id = '', + key = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-database.md b/docs/examples/1.8.x/server-python/examples/grids/delete-database.md new file mode 100644 index 0000000000..9898c07bc8 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-database.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.delete_database( + database_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-index.md b/docs/examples/1.8.x/server-python/examples/grids/delete-index.md new file mode 100644 index 0000000000..fed36f1d9c --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-index.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.delete_index( + database_id = '', + table_id = '', + key = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-row.md b/docs/examples/1.8.x/server-python/examples/grids/delete-row.md new file mode 100644 index 0000000000..eb1e661738 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-row.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.delete_row( + database_id = '', + table_id = '', + row_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-python/examples/grids/delete-rows.md new file mode 100644 index 0000000000..31503cdee1 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-rows.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.delete_rows( + database_id = '', + table_id = '', + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/delete-table.md b/docs/examples/1.8.x/server-python/examples/grids/delete-table.md new file mode 100644 index 0000000000..d170c31d20 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/delete-table.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.delete_table( + database_id = '', + table_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/get-column.md b/docs/examples/1.8.x/server-python/examples/grids/get-column.md new file mode 100644 index 0000000000..a724e07b0a --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/get-column.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.get_column( + database_id = '', + table_id = '', + key = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/get-database.md b/docs/examples/1.8.x/server-python/examples/grids/get-database.md new file mode 100644 index 0000000000..e393d7587b --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/get-database.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.get_database( + database_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/get-index.md b/docs/examples/1.8.x/server-python/examples/grids/get-index.md new file mode 100644 index 0000000000..6e3753dea5 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/get-index.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.get_index( + database_id = '', + table_id = '', + key = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/get-row.md b/docs/examples/1.8.x/server-python/examples/grids/get-row.md new file mode 100644 index 0000000000..939a992868 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/get-row.md @@ -0,0 +1,16 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.get_row( + database_id = '', + table_id = '', + row_id = '', + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/get-table.md b/docs/examples/1.8.x/server-python/examples/grids/get-table.md new file mode 100644 index 0000000000..afe24bd0f2 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/get-table.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.get_table( + database_id = '', + table_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-python/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..598cf58874 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/increment-row-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.increment_row_column( + database_id = '', + table_id = '', + row_id = '', + column = '', + value = None, # optional + max = None # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/list-columns.md b/docs/examples/1.8.x/server-python/examples/grids/list-columns.md new file mode 100644 index 0000000000..b78327182c --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/list-columns.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.list_columns( + database_id = '', + table_id = '', + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/list-databases.md b/docs/examples/1.8.x/server-python/examples/grids/list-databases.md new file mode 100644 index 0000000000..78c5cb4bd7 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/list-databases.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.list_databases( + queries = [], # optional + search = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-python/examples/grids/list-indexes.md new file mode 100644 index 0000000000..a6b52416c6 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/list-indexes.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.list_indexes( + database_id = '', + table_id = '', + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/list-rows.md b/docs/examples/1.8.x/server-python/examples/grids/list-rows.md new file mode 100644 index 0000000000..975f88f763 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/list-rows.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.list_rows( + database_id = '', + table_id = '', + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/list-tables.md b/docs/examples/1.8.x/server-python/examples/grids/list-tables.md new file mode 100644 index 0000000000..3e2e5508bc --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/list-tables.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.list_tables( + database_id = '', + queries = [], # optional + search = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..6bcbf27355 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-boolean-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_boolean_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = False, + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-database.md b/docs/examples/1.8.x/server-python/examples/grids/update-database.md new file mode 100644 index 0000000000..2df676bcbc --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-database.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_database( + database_id = '', + name = '', + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..6ae0e4dea5 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-datetime-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_datetime_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = '', + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-email-column.md new file mode 100644 index 0000000000..c1ff1d0637 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-email-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_email_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = 'email@example.com', + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..6da49cfb81 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-enum-column.md @@ -0,0 +1,19 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_enum_column( + database_id = '', + table_id = '', + key = '', + elements = [], + required = False, + default = '', + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-float-column.md new file mode 100644 index 0000000000..8d3d9edb5f --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-float-column.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_float_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = None, + min = None, # optional + max = None, # optional + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..966f7b6805 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-integer-column.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_integer_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = None, + min = None, # optional + max = None, # optional + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..e5fccac320 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-ip-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_ip_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = '', + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..fcff4591fd --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-relationship-column.md @@ -0,0 +1,17 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_relationship_column( + database_id = '', + table_id = '', + key = '', + on_delete = RelationMutate.CASCADE, # optional + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-row.md b/docs/examples/1.8.x/server-python/examples/grids/update-row.md new file mode 100644 index 0000000000..e379697ce4 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-row.md @@ -0,0 +1,17 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.update_row( + database_id = '', + table_id = '', + row_id = '', + data = {}, # optional + permissions = ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-rows.md b/docs/examples/1.8.x/server-python/examples/grids/update-rows.md new file mode 100644 index 0000000000..344bb5904b --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-rows.md @@ -0,0 +1,16 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_rows( + database_id = '', + table_id = '', + data = {}, # optional + queries = [] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-string-column.md new file mode 100644 index 0000000000..f303189b80 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-string-column.md @@ -0,0 +1,19 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_string_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = '', + size = 1, # optional + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-table.md b/docs/examples/1.8.x/server-python/examples/grids/update-table.md new file mode 100644 index 0000000000..cfd5b4d92e --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-table.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_table( + database_id = '', + table_id = '', + name = '', + permissions = ["read("any")"], # optional + row_security = False, # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-python/examples/grids/update-url-column.md new file mode 100644 index 0000000000..ea6dc386ed --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/update-url-column.md @@ -0,0 +1,18 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.update_url_column( + database_id = '', + table_id = '', + key = '', + required = False, + default = 'https://example.com', + new_key = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-python/examples/grids/upsert-row.md new file mode 100644 index 0000000000..79528818e0 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/upsert-row.md @@ -0,0 +1,17 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +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 + +grids = Grids(client) + +result = grids.upsert_row( + database_id = '', + table_id = '', + row_id = '', + data = {}, # optional + permissions = ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-python/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..b7573d4794 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/grids/upsert-rows.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.grids import Grids + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +grids = Grids(client) + +result = grids.upsert_rows( + database_id = '', + table_id = '', + rows = [] +) 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 2079b045d1..b62c82a6a8 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 @@ -1,6 +1,6 @@ POST /v1/account/sessions/anonymous HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: 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 8aee0e5b15..1103d2ebfb 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 @@ -1,7 +1,7 @@ POST /v1/account/sessions/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { 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 98c5c9b454..552b724b9c 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 @@ -1,7 +1,7 @@ POST /v1/account/tokens/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-j-w-t.md b/docs/examples/1.8.x/server-rest/examples/account/create-j-w-t.md index a8da4695c3..62a7dee7e9 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-j-w-t.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-j-w-t.md @@ -1,6 +1,6 @@ POST /v1/account/jwts HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.8.x/server-rest/examples/account/create-magic-u-r-l-token.md index a3db43516a..29d68bd0fa 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ POST /v1/account/tokens/magic-url HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-authenticator.md index 8d6b52b877..62a068b6cf 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ POST /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md index 9a84c0ef69..dd5ef4c731 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 @@ -1,7 +1,7 @@ POST /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-recovery-codes.md index 797824d5d7..f09323df0b 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ POST /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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-o-auth2token.md b/docs/examples/1.8.x/server-rest/examples/account/create-o-auth2token.md index dd1dd3ec5e..8a0cab614f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-o-auth2token.md @@ -1,4 +1,4 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: 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 eef1021d9e..5127c8377a 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 @@ -1,7 +1,7 @@ POST /v1/account/tokens/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-phone-verification.md b/docs/examples/1.8.x/server-rest/examples/account/create-phone-verification.md index d161e580ff..57b3b7d160 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-phone-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ POST /v1/account/verification/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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-recovery.md b/docs/examples/1.8.x/server-rest/examples/account/create-recovery.md index c195b96a5e..ea0146228b 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-recovery.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-recovery.md @@ -1,7 +1,7 @@ POST /v1/account/recovery HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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-session.md b/docs/examples/1.8.x/server-rest/examples/account/create-session.md index 18e3b1acdd..0acc50cda6 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 @@ -1,7 +1,7 @@ POST /v1/account/sessions/token HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-verification.md b/docs/examples/1.8.x/server-rest/examples/account/create-verification.md index 1185d3a875..ed5479dbe5 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-verification.md @@ -1,7 +1,7 @@ POST /v1/account/verification HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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.md b/docs/examples/1.8.x/server-rest/examples/account/create.md index f546c07de5..15bb386f41 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 @@ -1,7 +1,7 @@ POST /v1/account HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/delete-identity.md b/docs/examples/1.8.x/server-rest/examples/account/delete-identity.md index edb036a593..bacca18870 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/delete-identity.md +++ b/docs/examples/1.8.x/server-rest/examples/account/delete-identity.md @@ -1,7 +1,7 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/delete-mfa-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/delete-mfa-authenticator.md index de58948195..a0eb5a0869 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.8.x/server-rest/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/delete-session.md b/docs/examples/1.8.x/server-rest/examples/account/delete-session.md index 9454a84913..c9b0f48d6f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/delete-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/delete-session.md @@ -1,7 +1,7 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/delete-sessions.md b/docs/examples/1.8.x/server-rest/examples/account/delete-sessions.md index 97931c12e5..0b3fcd1c45 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/delete-sessions.md +++ b/docs/examples/1.8.x/server-rest/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ DELETE /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/get-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/get-mfa-recovery-codes.md index 81edee5234..2ab10a2475 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/account/get-mfa-recovery-codes.md @@ -1,6 +1,6 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/get-prefs.md b/docs/examples/1.8.x/server-rest/examples/account/get-prefs.md index 13a0b74d8f..a038dacbfd 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/get-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/account/get-prefs.md @@ -1,6 +1,6 @@ GET /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/get-session.md b/docs/examples/1.8.x/server-rest/examples/account/get-session.md index 9417755b04..3e372a05ef 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/get-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/get-session.md @@ -1,6 +1,6 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/get.md b/docs/examples/1.8.x/server-rest/examples/account/get.md index 023a6d116f..104b643074 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/get.md +++ b/docs/examples/1.8.x/server-rest/examples/account/get.md @@ -1,6 +1,6 @@ GET /v1/account HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/list-identities.md b/docs/examples/1.8.x/server-rest/examples/account/list-identities.md index 65edceb8d6..5acb221584 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-rest/examples/account/list-identities.md @@ -1,6 +1,6 @@ GET /v1/account/identities HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/list-logs.md b/docs/examples/1.8.x/server-rest/examples/account/list-logs.md index 71e2e138ef..8314123c9e 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/account/list-logs.md @@ -1,6 +1,6 @@ GET /v1/account/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/list-mfa-factors.md b/docs/examples/1.8.x/server-rest/examples/account/list-mfa-factors.md index 217ec6cb30..c591143d4e 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.8.x/server-rest/examples/account/list-mfa-factors.md @@ -1,6 +1,6 @@ GET /v1/account/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/list-sessions.md b/docs/examples/1.8.x/server-rest/examples/account/list-sessions.md index 7bff23f25b..89ef6962c9 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/list-sessions.md +++ b/docs/examples/1.8.x/server-rest/examples/account/list-sessions.md @@ -1,6 +1,6 @@ GET /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/update-email.md b/docs/examples/1.8.x/server-rest/examples/account/update-email.md index fc3baaf4a4..382327e31b 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-email.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-email.md @@ -1,7 +1,7 @@ PATCH /v1/account/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-m-f-a.md b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a.md index 803c47a857..a22b169751 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ PATCH /v1/account/mfa HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-magic-u-r-l-session.md b/docs/examples/1.8.x/server-rest/examples/account/update-magic-u-r-l-session.md index 3238322e0f..1a82afbfcc 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ PUT /v1/account/sessions/magic-url HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-authenticator.md index 9d3e5dceea..780472291c 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md index ddc27ae334..b6a7e92b28 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ PUT /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-recovery-codes.md index e4ab8abb3b..74e9225f3e 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PATCH /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-name.md b/docs/examples/1.8.x/server-rest/examples/account/update-name.md index f2f7caa204..4c9c0e302c 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-name.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-name.md @@ -1,7 +1,7 @@ PATCH /v1/account/name HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-password.md b/docs/examples/1.8.x/server-rest/examples/account/update-password.md index 4f69b9ab3f..e05a1c2b7f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-password.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-password.md @@ -1,7 +1,7 @@ PATCH /v1/account/password HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-phone-session.md b/docs/examples/1.8.x/server-rest/examples/account/update-phone-session.md index f1bc27d201..54872eecd2 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 @@ -1,7 +1,7 @@ PUT /v1/account/sessions/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: { diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-phone-verification.md b/docs/examples/1.8.x/server-rest/examples/account/update-phone-verification.md index ee6f5a68ff..1d4dc22520 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-phone-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ PUT /v1/account/verification/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-phone.md b/docs/examples/1.8.x/server-rest/examples/account/update-phone.md index bbe602a181..791caadb0d 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-phone.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-phone.md @@ -1,7 +1,7 @@ PATCH /v1/account/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-prefs.md b/docs/examples/1.8.x/server-rest/examples/account/update-prefs.md index aeabc2b68f..24f2d3bcb6 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-prefs.md @@ -1,7 +1,7 @@ PATCH /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-recovery.md b/docs/examples/1.8.x/server-rest/examples/account/update-recovery.md index 054aacc8ed..7d40ee79fe 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-recovery.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-recovery.md @@ -1,7 +1,7 @@ PUT /v1/account/recovery HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-session.md b/docs/examples/1.8.x/server-rest/examples/account/update-session.md index 9b2ba0e4a7..8e2257aeed 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-session.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-session.md @@ -1,7 +1,7 @@ PATCH /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-status.md b/docs/examples/1.8.x/server-rest/examples/account/update-status.md index 8a3e01db0b..557697fe5f 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-status.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-status.md @@ -1,7 +1,7 @@ PATCH /v1/account/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/update-verification.md b/docs/examples/1.8.x/server-rest/examples/account/update-verification.md index 0c5ed8b55d..a4dcbf76a3 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-verification.md @@ -1,7 +1,7 @@ PUT /v1/account/verification HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/avatars/get-browser.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-browser.md index 3f18fa0d1e..36999839cc 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-browser.md @@ -1,6 +1,6 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-credit-card.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-credit-card.md index 59a38fe8f3..c9126af289 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-credit-card.md @@ -1,6 +1,6 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-favicon.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-favicon.md index 7a7c189da1..5a928fc9cc 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-favicon.md @@ -1,6 +1,6 @@ GET /v1/avatars/favicon HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-flag.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-flag.md index b4cd119359..c29ba10970 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-flag.md @@ -1,6 +1,6 @@ GET /v1/avatars/flags/{code} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-image.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-image.md index ca6b5105c3..dfc9fdcd92 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-image.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-image.md @@ -1,6 +1,6 @@ GET /v1/avatars/image HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-initials.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-initials.md index eb90447158..c784f1ca56 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-initials.md @@ -1,6 +1,6 @@ GET /v1/avatars/initials HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/avatars/get-q-r.md b/docs/examples/1.8.x/server-rest/examples/avatars/get-q-r.md index 77f7a3d382..bac1987d4e 100644 --- a/docs/examples/1.8.x/server-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.8.x/server-rest/examples/avatars/get-q-r.md @@ -1,6 +1,6 @@ GET /v1/avatars/qr HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-boolean-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-boolean-attribute.md index 8ae6c2d9ff..fb11c03cbd 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/boolean HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: 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 ea298e3706..4f1e77728e 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 @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-datetime-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-datetime-attribute.md index 6ec4b332a5..3d0e718634 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/datetime HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-document.md b/docs/examples/1.8.x/server-rest/examples/databases/create-document.md index a5c25315c2..e4ba6ec1ff 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-document.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/create-documents.md index 63503ebaaa..cee5405fb2 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-documents.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-email-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-email-attribute.md index 0fb7aa2814..02b7095d64 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-email-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-enum-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-enum-attribute.md index ba033a02ce..a921e10c5f 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/enum HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-float-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-float-attribute.md index ee8cb7497f..ea9dde56ce 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-float-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/float HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-index.md b/docs/examples/1.8.x/server-rest/examples/databases/create-index.md index 6d9b486ed6..c78bdc37f9 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-index.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-index.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/indexes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-integer-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-integer-attribute.md index 721f10e0c7..cce3a3f265 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/integer HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-ip-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-ip-attribute.md index 61378e6780..80afccb4c1 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/ip HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-relationship-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-relationship-attribute.md index c519a4a494..d9e6c6441c 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/relationship HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-string-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-string-attribute.md index 7a5eafdf2a..5591ca8d8a 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-string-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/string HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create-url-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/create-url-attribute.md index ea4d76ce06..4ee9595717 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create-url-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/url HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/create.md b/docs/examples/1.8.x/server-rest/examples/databases/create.md index dab52ff67c..fd1ae143fa 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/create.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/create.md @@ -1,7 +1,7 @@ POST /v1/databases HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/decrement-document-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/decrement-document-attribute.md index d569f8d7e6..53ee43c6c5 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/decrement-document-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/decrement-document-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId}/{attribute}/decrement HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/delete-attribute.md index 8b7f1eee07..5d8f7f2932 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete-collection.md b/docs/examples/1.8.x/server-rest/examples/databases/delete-collection.md index 153b3a2bdd..96d044df4e 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete-collection.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete-document.md b/docs/examples/1.8.x/server-rest/examples/databases/delete-document.md index ca093c9177..b5580b04bf 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete-document.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/delete-documents.md index 49ab276fa6..cb27719953 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete-documents.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete-index.md b/docs/examples/1.8.x/server-rest/examples/databases/delete-index.md index 9c27a6fd4c..d8664ef7ca 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete-index.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete-index.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/delete.md b/docs/examples/1.8.x/server-rest/examples/databases/delete.md index 19cf58549a..85d5f7bb0e 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/delete.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/get-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/get-attribute.md index c4cd093de0..60161187da 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/get-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/get-attribute.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/get-collection.md b/docs/examples/1.8.x/server-rest/examples/databases/get-collection.md index 0e33fc4ef7..837138aaa0 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/get-collection.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/get-collection.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/get-document.md b/docs/examples/1.8.x/server-rest/examples/databases/get-document.md index b71ec4f83c..78a0e7d37c 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/get-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/get-document.md @@ -1,6 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/get-index.md b/docs/examples/1.8.x/server-rest/examples/databases/get-index.md index 5aa5aa0fb2..58665ed283 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/get-index.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/get-index.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/get.md b/docs/examples/1.8.x/server-rest/examples/databases/get.md index 7c43330625..644f251f56 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/get.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/get.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/increment-document-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/increment-document-attribute.md index 8658cb0ee6..accfca5b06 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/increment-document-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/increment-document-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId}/{attribute}/increment HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-rest/examples/databases/list-attributes.md index e829678007..1d16e3308d 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/list-attributes.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/list-collections.md b/docs/examples/1.8.x/server-rest/examples/databases/list-collections.md index 0cfdce9c8e..18499144d3 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/list-collections.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/list-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/list-documents.md index 0bc5c9b7f9..468956232d 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/list-documents.md @@ -1,6 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-rest/examples/databases/list-indexes.md index e65ba2483c..1e1f134ef0 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/list-indexes.md @@ -1,5 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/list.md b/docs/examples/1.8.x/server-rest/examples/databases/list.md index 31db5cca0d..3b9530eec4 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/list.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/list.md @@ -1,5 +1,5 @@ GET /v1/databases HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-boolean-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-boolean-attribute.md index 7a2ae34ce9..75f3d66b50 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/boolean/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-collection.md b/docs/examples/1.8.x/server-rest/examples/databases/update-collection.md index 4cba7f5230..6d6e5603ed 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-collection.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-collection.md @@ -1,7 +1,7 @@ PUT /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-datetime-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-datetime-attribute.md index c9685e6c89..59a477aca7 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/datetime/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-document.md b/docs/examples/1.8.x/server-rest/examples/databases/update-document.md index 19b25bdf45..9a156375de 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-document.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md index f2606e3a1f..69ea7a0d6f 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-documents.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-email-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-email-attribute.md index eece253459..08257e8906 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-email-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/email/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-enum-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-enum-attribute.md index 47ef168090..8e69a703ea 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/enum/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-float-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-float-attribute.md index bb35f3450c..214567660d 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-float-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/float/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-integer-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-integer-attribute.md index 96290f4313..1f566c1369 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/integer/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-ip-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-ip-attribute.md index 9e3cf7d4b5..31bc18c587 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/ip/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-relationship-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-relationship-attribute.md index 645e8f8ae4..3cb7d4f679 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key}/relationship HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-string-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-string-attribute.md index 650b6f1b8b..2026b854a9 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-string-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/string/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update-url-attribute.md b/docs/examples/1.8.x/server-rest/examples/databases/update-url-attribute.md index 8409285677..4f90c7ade3 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update-url-attribute.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/url/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/update.md b/docs/examples/1.8.x/server-rest/examples/databases/update.md index 02efbf5270..d57ad48927 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/update.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/update.md @@ -1,7 +1,7 @@ PUT /v1/databases/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md index 7339c7e611..97b61bfc7f 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/upsert-document.md @@ -1,9 +1,13 @@ PUT /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: X-Appwrite-JWT: +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/server-rest/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-rest/examples/databases/upsert-documents.md index 1a24810a03..4bcb9cb0c0 100644 --- a/docs/examples/1.8.x/server-rest/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-rest/examples/databases/upsert-documents.md @@ -1,7 +1,10 @@ PUT /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: +{ + "documents": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/create-deployment.md index 5d65eff5fd..f68e54dedc 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/deployments HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: Content-Length: *Length of your entity body in bytes* diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-duplicate-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/create-duplicate-deployment.md index 898117c117..f2ba3c5f13 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-duplicate-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-duplicate-deployment.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/deployments/duplicate HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-execution.md b/docs/examples/1.8.x/server-rest/examples/functions/create-execution.md index 5a4c7667cf..a2863046ce 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-execution.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: @@ -13,5 +13,5 @@ X-Appwrite-JWT: "path": "", "method": "GET", "headers": {}, - "scheduledAt": + "scheduledAt": "" } diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-template-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/create-template-deployment.md index 656c2e2a27..18ebf65efe 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-template-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-template-deployment.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/deployments/template HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-variable.md b/docs/examples/1.8.x/server-rest/examples/functions/create-variable.md index 7251a3a352..7f71f07417 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-variable.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/variables HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create-vcs-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/create-vcs-deployment.md index 1b5267ca14..cd409fa892 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create-vcs-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create-vcs-deployment.md @@ -1,7 +1,7 @@ POST /v1/functions/{functionId}/deployments/vcs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/create.md b/docs/examples/1.8.x/server-rest/examples/functions/create.md index c5f364ad63..1f034e60a4 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/create.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/create.md @@ -1,7 +1,7 @@ POST /v1/functions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/delete-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/delete-deployment.md index b70f282167..81a80209a8 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/delete-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/delete-execution.md b/docs/examples/1.8.x/server-rest/examples/functions/delete-execution.md index fb26ae47aa..020a9efc3e 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/delete-execution.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/delete-variable.md b/docs/examples/1.8.x/server-rest/examples/functions/delete-variable.md index aa01835ae4..88f4de15eb 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/delete-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/delete.md b/docs/examples/1.8.x/server-rest/examples/functions/delete.md index 9f9ab74019..2148d8148b 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/delete.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/get-deployment-download.md b/docs/examples/1.8.x/server-rest/examples/functions/get-deployment-download.md index 9195d203ab..e9c9ce0073 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/get-deployment-download.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/get-deployment-download.md @@ -1,6 +1,6 @@ GET /v1/functions/{functionId}/deployments/{deploymentId}/download HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/get-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/get-deployment.md index 2557ca698e..aa6e92449b 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/get-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/get-deployment.md @@ -1,5 +1,5 @@ GET /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/get-execution.md b/docs/examples/1.8.x/server-rest/examples/functions/get-execution.md index 52e54c2a6c..54da369660 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/get-execution.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/get-execution.md @@ -1,6 +1,6 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/get-variable.md b/docs/examples/1.8.x/server-rest/examples/functions/get-variable.md index 2a01307b0d..91f14f0db8 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/get-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/get-variable.md @@ -1,5 +1,5 @@ GET /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/get.md b/docs/examples/1.8.x/server-rest/examples/functions/get.md index 062b7e67ec..fb0f049f6d 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/get.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/get.md @@ -1,5 +1,5 @@ GET /v1/functions/{functionId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-rest/examples/functions/list-deployments.md index 5b4dabc679..db89edf692 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list-deployments.md @@ -1,5 +1,5 @@ GET /v1/functions/{functionId}/deployments HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list-executions.md b/docs/examples/1.8.x/server-rest/examples/functions/list-executions.md index b0ac3076ab..5876a8ba46 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list-executions.md @@ -1,6 +1,6 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list-runtimes.md b/docs/examples/1.8.x/server-rest/examples/functions/list-runtimes.md index 762e47fbcb..d8e4bc4272 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list-runtimes.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list-runtimes.md @@ -1,5 +1,5 @@ GET /v1/functions/runtimes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list-specifications.md b/docs/examples/1.8.x/server-rest/examples/functions/list-specifications.md index 989adc0576..1a84b56ac9 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list-specifications.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list-specifications.md @@ -1,5 +1,5 @@ GET /v1/functions/specifications HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list-variables.md b/docs/examples/1.8.x/server-rest/examples/functions/list-variables.md index b46b69fb5f..41bfde5e28 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list-variables.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list-variables.md @@ -1,5 +1,5 @@ GET /v1/functions/{functionId}/variables HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/list.md b/docs/examples/1.8.x/server-rest/examples/functions/list.md index 318a2d56ed..e12af0e774 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/list.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/list.md @@ -1,5 +1,5 @@ GET /v1/functions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/update-deployment-status.md b/docs/examples/1.8.x/server-rest/examples/functions/update-deployment-status.md index 8788e21c2b..ba4a882910 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/update-deployment-status.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/update-deployment-status.md @@ -1,7 +1,7 @@ PATCH /v1/functions/{functionId}/deployments/{deploymentId}/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/update-function-deployment.md b/docs/examples/1.8.x/server-rest/examples/functions/update-function-deployment.md index 1f89f35da0..d649b2ea69 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/update-function-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/update-function-deployment.md @@ -1,7 +1,7 @@ PATCH /v1/functions/{functionId}/deployment HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/update-variable.md b/docs/examples/1.8.x/server-rest/examples/functions/update-variable.md index 36ae244548..5a0ad6805d 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/update-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/update-variable.md @@ -1,7 +1,7 @@ PUT /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/functions/update.md b/docs/examples/1.8.x/server-rest/examples/functions/update.md index ee3b8b8c6d..40329e5580 100644 --- a/docs/examples/1.8.x/server-rest/examples/functions/update.md +++ b/docs/examples/1.8.x/server-rest/examples/functions/update.md @@ -1,7 +1,7 @@ PUT /v1/functions/{functionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/graphql/mutation.md b/docs/examples/1.8.x/server-rest/examples/graphql/mutation.md index 7d58d77ede..2d59370324 100644 --- a/docs/examples/1.8.x/server-rest/examples/graphql/mutation.md +++ b/docs/examples/1.8.x/server-rest/examples/graphql/mutation.md @@ -2,7 +2,7 @@ POST /v1/graphql/mutation HTTP/1.1 Host: cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/server-rest/examples/graphql/query.md b/docs/examples/1.8.x/server-rest/examples/graphql/query.md index 8b87cd9f33..c7242de6ef 100644 --- a/docs/examples/1.8.x/server-rest/examples/graphql/query.md +++ b/docs/examples/1.8.x/server-rest/examples/graphql/query.md @@ -2,7 +2,7 @@ POST /v1/graphql HTTP/1.1 Host: cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..d594385572 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-boolean-column.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/boolean HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "default": false, + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-database.md b/docs/examples/1.8.x/server-rest/examples/grids/create-database.md new file mode 100644 index 0000000000..fd1ae143fa --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-database.md @@ -0,0 +1,12 @@ +POST /v1/databases HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "databaseId": "", + "name": "", + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..88505a8a1f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-datetime-column.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/datetime HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "default": , + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-email-column.md new file mode 100644 index 0000000000..28d733dab8 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-email-column.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/email HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "default": "email@example.com", + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..35de1b5e2f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-enum-column.md @@ -0,0 +1,14 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/enum HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "elements": [], + "required": false, + "default": "", + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-float-column.md new file mode 100644 index 0000000000..9c9996aced --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-float-column.md @@ -0,0 +1,15 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/float HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "min": 0, + "max": 0, + "default": 0, + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-index.md b/docs/examples/1.8.x/server-rest/examples/grids/create-index.md new file mode 100644 index 0000000000..7a7487bdae --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-index.md @@ -0,0 +1,14 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/indexes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "type": "key", + "columns": [], + "orders": [], + "lengths": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..be6eb92544 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-integer-column.md @@ -0,0 +1,15 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/integer HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "min": 0, + "max": 0, + "default": 0, + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..30406d7025 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-ip-column.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/ip HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "default": , + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..75f54c9602 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-relationship-column.md @@ -0,0 +1,15 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/relationship HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "relatedTableId": "", + "type": "oneToOne", + "twoWay": false, + "key": , + "twoWayKey": , + "onDelete": "cascade" +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-row.md b/docs/examples/1.8.x/server-rest/examples/grids/create-row.md new file mode 100644 index 0000000000..443b4e30c9 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-row.md @@ -0,0 +1,14 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: + +{ + "rowId": "", + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-rows.md b/docs/examples/1.8.x/server-rest/examples/grids/create-rows.md new file mode 100644 index 0000000000..32578d87de --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-rows.md @@ -0,0 +1,12 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: + +{ + "rows": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-string-column.md new file mode 100644 index 0000000000..2a0b0dc372 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-string-column.md @@ -0,0 +1,15 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/string HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "size": 1, + "required": false, + "default": "", + "array": false, + "encrypt": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-table.md b/docs/examples/1.8.x/server-rest/examples/grids/create-table.md new file mode 100644 index 0000000000..7c22e81e7c --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-table.md @@ -0,0 +1,14 @@ +POST /v1/databases/{databaseId}/grids/tables HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "tableId": "", + "name": "", + "permissions": ["read(\"any\")"], + "rowSecurity": false, + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-rest/examples/grids/create-url-column.md new file mode 100644 index 0000000000..5dada907a0 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/create-url-column.md @@ -0,0 +1,13 @@ +POST /v1/databases/{databaseId}/grids/tables/{tableId}/columns/url HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "key": , + "required": false, + "default": "https://example.com", + "array": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-rest/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..6548a58273 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/decrement-row-column.md @@ -0,0 +1,11 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId}/{column}/decrement HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "value": 0, + "min": 0 +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-column.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-column.md new file mode 100644 index 0000000000..2680bcf03a --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-column.md @@ -0,0 +1,7 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/columns/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-database.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-database.md new file mode 100644 index 0000000000..85d5f7bb0e --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-database.md @@ -0,0 +1,7 @@ +DELETE /v1/databases/{databaseId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-index.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-index.md new file mode 100644 index 0000000000..ca7d67a1b4 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-index.md @@ -0,0 +1,7 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/indexes/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-row.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-row.md new file mode 100644 index 0000000000..8fd3f6ee7d --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-row.md @@ -0,0 +1,9 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-rows.md new file mode 100644 index 0000000000..af1fabdb7a --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-rows.md @@ -0,0 +1,10 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "queries": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/delete-table.md b/docs/examples/1.8.x/server-rest/examples/grids/delete-table.md new file mode 100644 index 0000000000..e068291849 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/delete-table.md @@ -0,0 +1,7 @@ +DELETE /v1/databases/{databaseId}/grids/tables/{tableId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/grids/get-column.md b/docs/examples/1.8.x/server-rest/examples/grids/get-column.md new file mode 100644 index 0000000000..0888fb7273 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/get-column.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/columns/{key} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/get-database.md b/docs/examples/1.8.x/server-rest/examples/grids/get-database.md new file mode 100644 index 0000000000..644f251f56 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/get-database.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/get-index.md b/docs/examples/1.8.x/server-rest/examples/grids/get-index.md new file mode 100644 index 0000000000..3a9c1ae705 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/get-index.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/indexes/{key} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/get-row.md b/docs/examples/1.8.x/server-rest/examples/grids/get-row.md new file mode 100644 index 0000000000..ba3b87bee0 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/get-row.md @@ -0,0 +1,7 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/get-table.md b/docs/examples/1.8.x/server-rest/examples/grids/get-table.md new file mode 100644 index 0000000000..e562f5c763 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/get-table.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId} HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-rest/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..4501951530 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/increment-row-column.md @@ -0,0 +1,11 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId}/{column}/increment HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "value": 0, + "max": 0 +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/list-columns.md b/docs/examples/1.8.x/server-rest/examples/grids/list-columns.md new file mode 100644 index 0000000000..82859eaabd --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/list-columns.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/columns HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/list-databases.md b/docs/examples/1.8.x/server-rest/examples/grids/list-databases.md new file mode 100644 index 0000000000..3b9530eec4 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/list-databases.md @@ -0,0 +1,5 @@ +GET /v1/databases HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-rest/examples/grids/list-indexes.md new file mode 100644 index 0000000000..847b2342fe --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/list-indexes.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/indexes HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/list-rows.md b/docs/examples/1.8.x/server-rest/examples/grids/list-rows.md new file mode 100644 index 0000000000..d22624083f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/list-rows.md @@ -0,0 +1,7 @@ +GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/list-tables.md b/docs/examples/1.8.x/server-rest/examples/grids/list-tables.md new file mode 100644 index 0000000000..d3a4230165 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/list-tables.md @@ -0,0 +1,5 @@ +GET /v1/databases/{databaseId}/grids/tables HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..4327743a81 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-boolean-column.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/boolean/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": false, + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-database.md b/docs/examples/1.8.x/server-rest/examples/grids/update-database.md new file mode 100644 index 0000000000..d57ad48927 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-database.md @@ -0,0 +1,11 @@ +PUT /v1/databases/{databaseId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "name": "", + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..bbdc0c3bc4 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-datetime-column.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/datetime/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": , + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-email-column.md new file mode 100644 index 0000000000..b9145a1c33 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-email-column.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/email/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": "email@example.com", + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..8d3d6c359f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-enum-column.md @@ -0,0 +1,13 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/enum/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "elements": [], + "required": false, + "default": "", + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-float-column.md new file mode 100644 index 0000000000..5e1a67c6a1 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-float-column.md @@ -0,0 +1,14 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/float/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "min": 0, + "max": 0, + "default": 0, + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..f45fbf278f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-integer-column.md @@ -0,0 +1,14 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/integer/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "min": 0, + "max": 0, + "default": 0, + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..5080aaab25 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-ip-column.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/ip/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": , + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..d5d188ced4 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-relationship-column.md @@ -0,0 +1,11 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/{key}/relationship HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "onDelete": "cascade", + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-row.md b/docs/examples/1.8.x/server-rest/examples/grids/update-row.md new file mode 100644 index 0000000000..015fa8faf1 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-row.md @@ -0,0 +1,13 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: + +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-rows.md b/docs/examples/1.8.x/server-rest/examples/grids/update-rows.md new file mode 100644 index 0000000000..eb5b77bb31 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-rows.md @@ -0,0 +1,11 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "data": {}, + "queries": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-string-column.md new file mode 100644 index 0000000000..eda416a4d9 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-string-column.md @@ -0,0 +1,13 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/string/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": "", + "size": 1, + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-table.md b/docs/examples/1.8.x/server-rest/examples/grids/update-table.md new file mode 100644 index 0000000000..02d68944f9 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-table.md @@ -0,0 +1,13 @@ +PUT /v1/databases/{databaseId}/grids/tables/{tableId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "name": "", + "permissions": ["read(\"any\")"], + "rowSecurity": false, + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-rest/examples/grids/update-url-column.md new file mode 100644 index 0000000000..4e0796887a --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/update-url-column.md @@ -0,0 +1,12 @@ +PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/columns/url/{key} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "required": false, + "default": "https://example.com", + "newKey": +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-rest/examples/grids/upsert-row.md new file mode 100644 index 0000000000..c461d7c981 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/upsert-row.md @@ -0,0 +1,13 @@ +PUT /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-Key: +X-Appwrite-JWT: + +{ + "data": {}, + "permissions": ["read(\"any\")"] +} diff --git a/docs/examples/1.8.x/server-rest/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-rest/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..5d9446550f --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/grids/upsert-rows.md @@ -0,0 +1,10 @@ +PUT /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "rows": [] +} diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-antivirus.md b/docs/examples/1.8.x/server-rest/examples/health/get-antivirus.md index 2acacb5a5f..f0e27277b1 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-antivirus.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-antivirus.md @@ -1,5 +1,5 @@ GET /v1/health/anti-virus HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-cache.md b/docs/examples/1.8.x/server-rest/examples/health/get-cache.md index c98dcf8af1..e0628a1b8a 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-cache.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-cache.md @@ -1,5 +1,5 @@ GET /v1/health/cache HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-certificate.md b/docs/examples/1.8.x/server-rest/examples/health/get-certificate.md index 9f4f5efee4..8928e8f25a 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-certificate.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-certificate.md @@ -1,5 +1,5 @@ GET /v1/health/certificate HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-d-b.md b/docs/examples/1.8.x/server-rest/examples/health/get-d-b.md index 9f1efb921b..f636c9c8e7 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-d-b.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-d-b.md @@ -1,5 +1,5 @@ GET /v1/health/db HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-failed-jobs.md b/docs/examples/1.8.x/server-rest/examples/health/get-failed-jobs.md index b646b7923f..b9bfab3b73 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-failed-jobs.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-failed-jobs.md @@ -1,5 +1,5 @@ GET /v1/health/queue/failed/{name} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-pub-sub.md b/docs/examples/1.8.x/server-rest/examples/health/get-pub-sub.md index d28025f719..e9ab32729c 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-pub-sub.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-pub-sub.md @@ -1,5 +1,5 @@ GET /v1/health/pubsub HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-builds.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-builds.md index d51b4d60b3..c3d9189a65 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-builds.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-builds.md @@ -1,5 +1,5 @@ GET /v1/health/queue/builds HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-certificates.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-certificates.md index 0f3c2f65fe..d70ee360a8 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-certificates.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-certificates.md @@ -1,5 +1,5 @@ GET /v1/health/queue/certificates HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-databases.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-databases.md index ccc72c3404..60fc6db3b2 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-databases.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-databases.md @@ -1,5 +1,5 @@ GET /v1/health/queue/databases HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-deletes.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-deletes.md index a4c5e15586..5a9ce59da3 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-deletes.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-deletes.md @@ -1,5 +1,5 @@ GET /v1/health/queue/deletes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-functions.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-functions.md index a28dbf921c..854100e092 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-functions.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-functions.md @@ -1,5 +1,5 @@ GET /v1/health/queue/functions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-logs.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-logs.md index 0c16e61757..9fa98f13f5 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-logs.md @@ -1,5 +1,5 @@ GET /v1/health/queue/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-mails.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-mails.md index 82b6151af1..2bb61550bb 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-mails.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-mails.md @@ -1,5 +1,5 @@ GET /v1/health/queue/mails HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-messaging.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-messaging.md index 6082ec41bd..5fd0f35919 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-messaging.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-messaging.md @@ -1,5 +1,5 @@ GET /v1/health/queue/messaging HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-migrations.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-migrations.md index c9687b3224..2832b1c980 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-migrations.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-migrations.md @@ -1,5 +1,5 @@ GET /v1/health/queue/migrations HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-stats-resources.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-stats-resources.md index 90eefe75fc..6500b1f84c 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-stats-resources.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-stats-resources.md @@ -1,5 +1,5 @@ GET /v1/health/queue/stats-resources HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-usage.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-usage.md index 663d39dd2f..9c4e797f32 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-usage.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-usage.md @@ -1,5 +1,5 @@ GET /v1/health/queue/stats-usage HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-queue-webhooks.md b/docs/examples/1.8.x/server-rest/examples/health/get-queue-webhooks.md index 0843ad174f..4db6cf7d8c 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-queue-webhooks.md @@ -1,5 +1,5 @@ GET /v1/health/queue/webhooks HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-storage-local.md b/docs/examples/1.8.x/server-rest/examples/health/get-storage-local.md index 9047713439..31c9b8725f 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-storage-local.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-storage-local.md @@ -1,5 +1,5 @@ GET /v1/health/storage/local HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-storage.md b/docs/examples/1.8.x/server-rest/examples/health/get-storage.md index 1d46ab179e..69c4ebd910 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-storage.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-storage.md @@ -1,5 +1,5 @@ GET /v1/health/storage HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get-time.md b/docs/examples/1.8.x/server-rest/examples/health/get-time.md index 7661df5732..5396aac6fb 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get-time.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get-time.md @@ -1,5 +1,5 @@ GET /v1/health/time HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/health/get.md b/docs/examples/1.8.x/server-rest/examples/health/get.md index c64b480826..b37e30c4f8 100644 --- a/docs/examples/1.8.x/server-rest/examples/health/get.md +++ b/docs/examples/1.8.x/server-rest/examples/health/get.md @@ -1,5 +1,5 @@ GET /v1/health HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/get.md b/docs/examples/1.8.x/server-rest/examples/locale/get.md index 7b300acb41..6c60c076b6 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/get.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/get.md @@ -1,6 +1,6 @@ GET /v1/locale HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-codes.md b/docs/examples/1.8.x/server-rest/examples/locale/list-codes.md index 336ac1477f..3cc2aa9939 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-codes.md @@ -1,6 +1,6 @@ GET /v1/locale/codes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-continents.md b/docs/examples/1.8.x/server-rest/examples/locale/list-continents.md index d99b138653..8d2b0fa19d 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-continents.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-continents.md @@ -1,6 +1,6 @@ GET /v1/locale/continents HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.8.x/server-rest/examples/locale/list-countries-e-u.md index 3c94877234..ae341f5982 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-countries-e-u.md @@ -1,6 +1,6 @@ GET /v1/locale/countries/eu HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-countries-phones.md b/docs/examples/1.8.x/server-rest/examples/locale/list-countries-phones.md index 09619edb36..9d59f37a19 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-countries-phones.md @@ -1,6 +1,6 @@ GET /v1/locale/countries/phones HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-countries.md b/docs/examples/1.8.x/server-rest/examples/locale/list-countries.md index 0f1be7e5df..19205d538d 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-countries.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-countries.md @@ -1,6 +1,6 @@ GET /v1/locale/countries HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-currencies.md b/docs/examples/1.8.x/server-rest/examples/locale/list-currencies.md index c1e03ecae2..fbf6d63496 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-currencies.md @@ -1,6 +1,6 @@ GET /v1/locale/currencies HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/locale/list-languages.md b/docs/examples/1.8.x/server-rest/examples/locale/list-languages.md index 1e2a125985..7f1304d6ff 100644 --- a/docs/examples/1.8.x/server-rest/examples/locale/list-languages.md +++ b/docs/examples/1.8.x/server-rest/examples/locale/list-languages.md @@ -1,6 +1,6 @@ GET /v1/locale/languages HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-apns-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-apns-provider.md index b6860358c1..47d3b98615 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/apns HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-email.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-email.md index efec44982c..b6c1392bb2 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-email.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-email.md @@ -1,7 +1,7 @@ POST /v1/messaging/messages/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-fcm-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-fcm-provider.md index ec885465a7..f234c80e6e 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/fcm HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-mailgun-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-mailgun-provider.md index 8d0eb33938..fd138606e2 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/mailgun HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-msg91provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-msg91provider.md index 2877ff7b89..edbd690d5d 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/msg91 HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-push.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-push.md index 6210273820..08ba0357fe 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-push.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-push.md @@ -1,7 +1,7 @@ POST /v1/messaging/messages/push HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-sendgrid-provider.md index a9f7c933dc..3fa7ee8dd8 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/sendgrid HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-sms.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-sms.md index f885563f6f..82926e2a82 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-sms.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ POST /v1/messaging/messages/sms HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-smtp-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-smtp-provider.md index bbb8e7d212..5963ee474c 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-smtp-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/smtp HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-subscriber.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-subscriber.md index 2e61d50b5c..e22a626ac4 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-subscriber.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ POST /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-JWT: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-telesign-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-telesign-provider.md index 198ccae6f5..a474db823f 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/telesign HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-textmagic-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-textmagic-provider.md index 2f2ce558a7..caa7bcd014 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/textmagic HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-topic.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-topic.md index a44af2764d..9974584212 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-topic.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ POST /v1/messaging/topics HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-twilio-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-twilio-provider.md index 61fd63b52e..e612eed8be 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/twilio HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-vonage-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-vonage-provider.md index 16d1c6b594..fdd66526a9 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ POST /v1/messaging/providers/vonage HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/delete-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/delete-provider.md index e25c3dcc1c..cfd1ff3b30 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/delete-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/providers/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/delete-subscriber.md b/docs/examples/1.8.x/server-rest/examples/messaging/delete-subscriber.md index b988897d60..8226237777 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-JWT: X-Appwrite-Session: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/delete-topic.md b/docs/examples/1.8.x/server-rest/examples/messaging/delete-topic.md index 3c5c8a9cdb..d340209e93 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/delete-topic.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/topics/{topicId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/delete.md b/docs/examples/1.8.x/server-rest/examples/messaging/delete.md index a918c2b6f8..e076c96ebf 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/delete.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/messages/{messageId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/get-message.md b/docs/examples/1.8.x/server-rest/examples/messaging/get-message.md index abe744e9c7..ef9ef2c8df 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/get-message.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/get-message.md @@ -1,5 +1,5 @@ GET /v1/messaging/messages/{messageId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/get-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/get-provider.md index 0d2ffe4eaa..361d634760 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/get-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/get-provider.md @@ -1,5 +1,5 @@ GET /v1/messaging/providers/{providerId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/get-subscriber.md b/docs/examples/1.8.x/server-rest/examples/messaging/get-subscriber.md index a1629d4546..c01c5876ac 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/get-subscriber.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/get-subscriber.md @@ -1,5 +1,5 @@ GET /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/get-topic.md b/docs/examples/1.8.x/server-rest/examples/messaging/get-topic.md index 5d7efd06de..df5256f5e3 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/get-topic.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/get-topic.md @@ -1,5 +1,5 @@ GET /v1/messaging/topics/{topicId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-message-logs.md index 066970a9fb..d8c982e7ea 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-message-logs.md @@ -1,5 +1,5 @@ GET /v1/messaging/messages/{messageId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-messages.md index 03a286c376..88964162e3 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-messages.md @@ -1,5 +1,5 @@ GET /v1/messaging/messages HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-provider-logs.md index 562264f48e..46c0f76a10 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-provider-logs.md @@ -1,5 +1,5 @@ GET /v1/messaging/providers/{providerId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-providers.md index 43522ee34f..e454b3101b 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-providers.md @@ -1,5 +1,5 @@ GET /v1/messaging/providers HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-subscriber-logs.md index f403362529..7fb1192035 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-subscriber-logs.md @@ -1,5 +1,5 @@ GET /v1/messaging/subscribers/{subscriberId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-subscribers.md index a357f9dc3d..06f67c27c1 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-subscribers.md @@ -1,5 +1,5 @@ GET /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-targets.md index 0b4f8caf6f..7c793cfae0 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-targets.md @@ -1,5 +1,5 @@ GET /v1/messaging/messages/{messageId}/targets HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-topic-logs.md index 80073b2165..e371aeb2b5 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-topic-logs.md @@ -1,5 +1,5 @@ GET /v1/messaging/topics/{topicId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-rest/examples/messaging/list-topics.md index 2835277aeb..9f18e14b70 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/list-topics.md @@ -1,5 +1,5 @@ GET /v1/messaging/topics HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-apns-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-apns-provider.md index a398b186cb..a55c593039 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/apns/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-email.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-email.md index 0ef5b89409..97f3911ed1 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-email.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-email.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/messages/email/{messageId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-fcm-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-fcm-provider.md index 50e3a5400d..d485981c5b 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/fcm/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-mailgun-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-mailgun-provider.md index f05f0057e7..ec132692c5 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/mailgun/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-msg91provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-msg91provider.md index 1c88425fc1..1013915e5d 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/msg91/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-push.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-push.md index adf269301c..438ef373e5 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-push.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-push.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/messages/push/{messageId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-sendgrid-provider.md index 28ffb526f8..fd30512320 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/sendgrid/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-sms.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-sms.md index b5ad82d0f9..a917e270f7 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-sms.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/messages/sms/{messageId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-smtp-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-smtp-provider.md index 8e69659ce1..9fc45d6726 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-smtp-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/smtp/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-telesign-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-telesign-provider.md index 548d39dc92..919e99577e 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/telesign/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-textmagic-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-textmagic-provider.md index 724b0a4afe..94f965c44a 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/textmagic/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-topic.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-topic.md index add0bf8ee4..75644d9828 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-topic.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/topics/{topicId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-twilio-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-twilio-provider.md index 38730383b1..41d04c0c14 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/twilio/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-vonage-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-vonage-provider.md index 8c284c827f..0344691e51 100644 --- a/docs/examples/1.8.x/server-rest/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ PATCH /v1/messaging/providers/vonage/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/create-deployment.md index 554d2a5365..669ac50a75 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create-deployment.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/deployments HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: Content-Length: *Length of your entity body in bytes* diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create-duplicate-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/create-duplicate-deployment.md index 3da246715b..dbee572372 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create-duplicate-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create-duplicate-deployment.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/deployments/duplicate HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create-template-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/create-template-deployment.md index e37819bfb2..3b21f4f754 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create-template-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create-template-deployment.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/deployments/template HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create-variable.md b/docs/examples/1.8.x/server-rest/examples/sites/create-variable.md index 73217d198c..c34be9d619 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create-variable.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/variables HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create-vcs-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/create-vcs-deployment.md index 7d5fd3e92e..2e466da0f6 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create-vcs-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create-vcs-deployment.md @@ -1,7 +1,7 @@ POST /v1/sites/{siteId}/deployments/vcs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/create.md b/docs/examples/1.8.x/server-rest/examples/sites/create.md index 5493e9d2b6..52b4d87219 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/create.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/create.md @@ -1,7 +1,7 @@ POST /v1/sites HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/delete-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/delete-deployment.md index 35bac59efc..3df6aca50f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/delete-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/delete-deployment.md @@ -1,7 +1,7 @@ DELETE /v1/sites/{siteId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/delete-log.md b/docs/examples/1.8.x/server-rest/examples/sites/delete-log.md index 0bd2f661cf..af1d1c339a 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/delete-log.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/delete-log.md @@ -1,7 +1,7 @@ DELETE /v1/sites/{siteId}/logs/{logId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/delete-variable.md b/docs/examples/1.8.x/server-rest/examples/sites/delete-variable.md index c3f1d2d293..008ab4b190 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/delete-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/delete-variable.md @@ -1,7 +1,7 @@ DELETE /v1/sites/{siteId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/delete.md b/docs/examples/1.8.x/server-rest/examples/sites/delete.md index cdb4ced577..0657fff9ef 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/delete.md @@ -1,7 +1,7 @@ DELETE /v1/sites/{siteId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/get-deployment-download.md b/docs/examples/1.8.x/server-rest/examples/sites/get-deployment-download.md index d81a7dfc56..3ce065f600 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/get-deployment-download.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/get-deployment-download.md @@ -1,6 +1,6 @@ GET /v1/sites/{siteId}/deployments/{deploymentId}/download HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/get-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/get-deployment.md index 381c20db77..2ad95813d9 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/get-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/get-deployment.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/get-log.md b/docs/examples/1.8.x/server-rest/examples/sites/get-log.md index 6b8366461e..41dd30dc8f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/get-log.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/get-log.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/logs/{logId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/get-variable.md b/docs/examples/1.8.x/server-rest/examples/sites/get-variable.md index 7c9703ef88..c6d5e70211 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/get-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/get-variable.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/get.md b/docs/examples/1.8.x/server-rest/examples/sites/get.md index f13b46ecab..da7b67883f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/get.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/get.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-rest/examples/sites/list-deployments.md index 22512f809d..0bc5467894 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list-deployments.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/deployments HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list-frameworks.md b/docs/examples/1.8.x/server-rest/examples/sites/list-frameworks.md index 0007a7cd78..8c5f7ff318 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list-frameworks.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list-frameworks.md @@ -1,5 +1,5 @@ GET /v1/sites/frameworks HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list-logs.md b/docs/examples/1.8.x/server-rest/examples/sites/list-logs.md index 7e77b7e755..57b35c4ef5 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list-logs.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list-specifications.md b/docs/examples/1.8.x/server-rest/examples/sites/list-specifications.md index 17e8d281c6..cf31760070 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list-specifications.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list-specifications.md @@ -1,5 +1,5 @@ GET /v1/sites/specifications HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list-variables.md b/docs/examples/1.8.x/server-rest/examples/sites/list-variables.md index 4f99a74984..7e12fdfd02 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list-variables.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list-variables.md @@ -1,5 +1,5 @@ GET /v1/sites/{siteId}/variables HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/list.md b/docs/examples/1.8.x/server-rest/examples/sites/list.md index d1800f05e5..dc4dc3695f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/list.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/list.md @@ -1,5 +1,5 @@ GET /v1/sites HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/update-deployment-status.md b/docs/examples/1.8.x/server-rest/examples/sites/update-deployment-status.md index 697d9ac371..d4f251c20f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/update-deployment-status.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/update-deployment-status.md @@ -1,7 +1,7 @@ PATCH /v1/sites/{siteId}/deployments/{deploymentId}/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/update-site-deployment.md b/docs/examples/1.8.x/server-rest/examples/sites/update-site-deployment.md index 51d8736df5..c288b2bf00 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/update-site-deployment.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/update-site-deployment.md @@ -1,7 +1,7 @@ PATCH /v1/sites/{siteId}/deployment HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/update-variable.md b/docs/examples/1.8.x/server-rest/examples/sites/update-variable.md index 61902ee02f..c7fe824ac4 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/update-variable.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/update-variable.md @@ -1,7 +1,7 @@ PUT /v1/sites/{siteId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/sites/update.md b/docs/examples/1.8.x/server-rest/examples/sites/update.md index ab3c4dddd1..370984721f 100644 --- a/docs/examples/1.8.x/server-rest/examples/sites/update.md +++ b/docs/examples/1.8.x/server-rest/examples/sites/update.md @@ -1,7 +1,7 @@ PUT /v1/sites/{siteId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/create-bucket.md b/docs/examples/1.8.x/server-rest/examples/storage/create-bucket.md index 8ca9c5701b..59f1c4f403 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/create-bucket.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ POST /v1/storage/buckets HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/create-file.md b/docs/examples/1.8.x/server-rest/examples/storage/create-file.md index e8a54e723b..086fd6dc72 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/create-file.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/create-file.md @@ -1,7 +1,7 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/delete-bucket.md b/docs/examples/1.8.x/server-rest/examples/storage/delete-bucket.md index 3db8bfbb72..d6083186de 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/delete-bucket.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ DELETE /v1/storage/buckets/{bucketId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/delete-file.md b/docs/examples/1.8.x/server-rest/examples/storage/delete-file.md index cc8a2481f7..467fdf96d1 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/delete-file.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/delete-file.md @@ -1,7 +1,7 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/get-bucket.md b/docs/examples/1.8.x/server-rest/examples/storage/get-bucket.md index b7def1d44b..2ad1e577c5 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/get-bucket.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/get-bucket.md @@ -1,5 +1,5 @@ GET /v1/storage/buckets/{bucketId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/get-file-download.md b/docs/examples/1.8.x/server-rest/examples/storage/get-file-download.md index 4d9c691ba9..af382d3a9a 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/get-file-download.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/get-file-preview.md b/docs/examples/1.8.x/server-rest/examples/storage/get-file-preview.md index e8a1bdeedf..e00f0ff76f 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/get-file-preview.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/get-file-view.md b/docs/examples/1.8.x/server-rest/examples/storage/get-file-view.md index d41b8a3512..79f47dcabc 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/get-file-view.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/get-file.md b/docs/examples/1.8.x/server-rest/examples/storage/get-file.md index e11aaa9f05..4a479a78fc 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/get-file.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/get-file.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-rest/examples/storage/list-buckets.md index 3061208d75..bd61c61082 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/list-buckets.md @@ -1,5 +1,5 @@ GET /v1/storage/buckets HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/list-files.md b/docs/examples/1.8.x/server-rest/examples/storage/list-files.md index 7cf8616335..b040ad3a65 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/list-files.md @@ -1,6 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/update-bucket.md b/docs/examples/1.8.x/server-rest/examples/storage/update-bucket.md index adf12647e2..0f966da0b5 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/update-bucket.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ PUT /v1/storage/buckets/{bucketId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/storage/update-file.md b/docs/examples/1.8.x/server-rest/examples/storage/update-file.md index d91ab4c2d6..1b0137a7de 100644 --- a/docs/examples/1.8.x/server-rest/examples/storage/update-file.md +++ b/docs/examples/1.8.x/server-rest/examples/storage/update-file.md @@ -1,7 +1,7 @@ PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/create-membership.md b/docs/examples/1.8.x/server-rest/examples/teams/create-membership.md index f52f796d90..773208cb45 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/create-membership.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/create-membership.md @@ -1,7 +1,7 @@ POST /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/create.md b/docs/examples/1.8.x/server-rest/examples/teams/create.md index 27e7429464..2e1881b5ff 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/create.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/create.md @@ -1,7 +1,7 @@ POST /v1/teams HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/delete-membership.md b/docs/examples/1.8.x/server-rest/examples/teams/delete-membership.md index e897d84a12..454a3f6f4a 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/delete-membership.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/delete.md b/docs/examples/1.8.x/server-rest/examples/teams/delete.md index 213489c7fb..1bdf2a89ac 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/delete.md @@ -1,7 +1,7 @@ DELETE /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/get-membership.md b/docs/examples/1.8.x/server-rest/examples/teams/get-membership.md index 1d10cfe437..8a90498292 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/get-membership.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/get-membership.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/get-prefs.md b/docs/examples/1.8.x/server-rest/examples/teams/get-prefs.md index ddb863181d..e541fd3fd8 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/get-prefs.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +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/teams/get.md b/docs/examples/1.8.x/server-rest/examples/teams/get.md index 4ecf74596b..491e04dc55 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/get.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/get.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-rest/examples/teams/list-memberships.md index 38cc17b71a..9b0fa00492 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/list-memberships.md @@ -1,6 +1,6 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/list.md b/docs/examples/1.8.x/server-rest/examples/teams/list.md index c67b429008..95b6178e31 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/list.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/list.md @@ -1,6 +1,6 @@ GET /v1/teams HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/update-membership-status.md b/docs/examples/1.8.x/server-rest/examples/teams/update-membership-status.md index 9d828118f0..da2c9189cd 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/update-membership-status.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId}/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/teams/update-membership.md b/docs/examples/1.8.x/server-rest/examples/teams/update-membership.md index 6730d5c27c..a5b8c28723 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/update-membership.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/update-membership.md @@ -1,7 +1,7 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/update-name.md b/docs/examples/1.8.x/server-rest/examples/teams/update-name.md index fa811a2438..1d32b77d39 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/update-name.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/update-name.md @@ -1,7 +1,7 @@ PUT /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Session: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/teams/update-prefs.md b/docs/examples/1.8.x/server-rest/examples/teams/update-prefs.md index 1db6300350..e17dcdb260 100644 --- a/docs/examples/1.8.x/server-rest/examples/teams/update-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ PUT /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +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/tokens/create-file-token.md b/docs/examples/1.8.x/server-rest/examples/tokens/create-file-token.md index c1fbb63d2d..3d884e2c5d 100644 --- a/docs/examples/1.8.x/server-rest/examples/tokens/create-file-token.md +++ b/docs/examples/1.8.x/server-rest/examples/tokens/create-file-token.md @@ -1,7 +1,7 @@ POST /v1/tokens/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tokens/delete.md b/docs/examples/1.8.x/server-rest/examples/tokens/delete.md index ee564b01c4..a955b4aef5 100644 --- a/docs/examples/1.8.x/server-rest/examples/tokens/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/tokens/delete.md @@ -1,7 +1,7 @@ DELETE /v1/tokens/{tokenId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tokens/get.md b/docs/examples/1.8.x/server-rest/examples/tokens/get.md index b39c8390e3..381945f58f 100644 --- a/docs/examples/1.8.x/server-rest/examples/tokens/get.md +++ b/docs/examples/1.8.x/server-rest/examples/tokens/get.md @@ -1,5 +1,5 @@ GET /v1/tokens/{tokenId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tokens/list.md b/docs/examples/1.8.x/server-rest/examples/tokens/list.md index 8909d05572..3b0782a81a 100644 --- a/docs/examples/1.8.x/server-rest/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-rest/examples/tokens/list.md @@ -1,5 +1,5 @@ GET /v1/tokens/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tokens/update.md b/docs/examples/1.8.x/server-rest/examples/tokens/update.md index 8ab9d60555..ab58a4842a 100644 --- a/docs/examples/1.8.x/server-rest/examples/tokens/update.md +++ b/docs/examples/1.8.x/server-rest/examples/tokens/update.md @@ -1,7 +1,7 @@ PATCH /v1/tokens/{tokenId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-argon2user.md b/docs/examples/1.8.x/server-rest/examples/users/create-argon2user.md index d557cf6d5f..4985ecefd0 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-argon2user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ POST /v1/users/argon2 HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-bcrypt-user.md b/docs/examples/1.8.x/server-rest/examples/users/create-bcrypt-user.md index cda7491160..eaf1628252 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ POST /v1/users/bcrypt HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-j-w-t.md b/docs/examples/1.8.x/server-rest/examples/users/create-j-w-t.md index 83208adadb..8342089042 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-j-w-t.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ POST /v1/users/{userId}/jwts HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-m-d5user.md b/docs/examples/1.8.x/server-rest/examples/users/create-m-d5user.md index d4896133a1..6e82969f00 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-m-d5user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ POST /v1/users/md5 HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/create-mfa-recovery-codes.md index 2f6524646d..bef314b585 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-p-h-pass-user.md b/docs/examples/1.8.x/server-rest/examples/users/create-p-h-pass-user.md index 4c10b1a82d..b75c9e23c5 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ POST /v1/users/phpass HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-s-h-a-user.md b/docs/examples/1.8.x/server-rest/examples/users/create-s-h-a-user.md index 5c6467a2fe..7757b44500 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ POST /v1/users/sha HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-modified-user.md b/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-modified-user.md index 19d0650840..9fb5f8de0f 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ POST /v1/users/scrypt-modified HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-user.md b/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-user.md index 008eab6848..ee8828f294 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-user.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ POST /v1/users/scrypt HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-session.md b/docs/examples/1.8.x/server-rest/examples/users/create-session.md index ec71d421e0..955e253d39 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-session.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-session.md @@ -1,7 +1,7 @@ POST /v1/users/{userId}/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-target.md b/docs/examples/1.8.x/server-rest/examples/users/create-target.md index fced935c1b..08147220b2 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-target.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-target.md @@ -1,7 +1,7 @@ POST /v1/users/{userId}/targets HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-token.md b/docs/examples/1.8.x/server-rest/examples/users/create-token.md index 4339252660..2d3b58435a 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create-token.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create-token.md @@ -1,7 +1,7 @@ POST /v1/users/{userId}/tokens HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/create.md b/docs/examples/1.8.x/server-rest/examples/users/create.md index 67d377255b..b638e6511e 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/create.md +++ b/docs/examples/1.8.x/server-rest/examples/users/create.md @@ -1,7 +1,7 @@ POST /v1/users HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-identity.md b/docs/examples/1.8.x/server-rest/examples/users/delete-identity.md index c2aa5eed16..a9b2cd04f6 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete-identity.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-identity.md @@ -1,7 +1,7 @@ DELETE /v1/users/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-mfa-authenticator.md b/docs/examples/1.8.x/server-rest/examples/users/delete-mfa-authenticator.md index 9d9e2e950f..92d51fefb5 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-session.md b/docs/examples/1.8.x/server-rest/examples/users/delete-session.md index be204911a2..1ae56081ab 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete-session.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-session.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-sessions.md b/docs/examples/1.8.x/server-rest/examples/users/delete-sessions.md index 54f3a8d4f1..f620f1addc 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete-sessions.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-target.md b/docs/examples/1.8.x/server-rest/examples/users/delete-target.md index 77e2c23dd8..4ea75b979b 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete-target.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-target.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/targets/{targetId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete.md b/docs/examples/1.8.x/server-rest/examples/users/delete.md index c31212aa71..be2533f442 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/delete.md +++ b/docs/examples/1.8.x/server-rest/examples/users/delete.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/get-mfa-recovery-codes.md index 58dd32d2a4..1f561f02ad 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/users/get-mfa-recovery-codes.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/get-prefs.md b/docs/examples/1.8.x/server-rest/examples/users/get-prefs.md index ac04cc5c44..4d55589a73 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/get-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/users/get-prefs.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/prefs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/get-target.md b/docs/examples/1.8.x/server-rest/examples/users/get-target.md index 2f19db7c7a..3613d7acb6 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/get-target.md +++ b/docs/examples/1.8.x/server-rest/examples/users/get-target.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/targets/{targetId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/get.md b/docs/examples/1.8.x/server-rest/examples/users/get.md index f654676d9b..53357720cf 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/get.md +++ b/docs/examples/1.8.x/server-rest/examples/users/get.md @@ -1,5 +1,5 @@ GET /v1/users/{userId} HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-identities.md b/docs/examples/1.8.x/server-rest/examples/users/list-identities.md index 180a2127a4..40eed8beec 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-identities.md @@ -1,5 +1,5 @@ GET /v1/users/identities HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-logs.md b/docs/examples/1.8.x/server-rest/examples/users/list-logs.md index 7149f50abe..526615b80f 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-logs.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/logs HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-memberships.md b/docs/examples/1.8.x/server-rest/examples/users/list-memberships.md index 7d32f2f726..24de2cdc59 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-memberships.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/memberships HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-mfa-factors.md b/docs/examples/1.8.x/server-rest/examples/users/list-mfa-factors.md index a75b26e1c5..eb2d3691de 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-mfa-factors.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-mfa-factors.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-sessions.md b/docs/examples/1.8.x/server-rest/examples/users/list-sessions.md index 1ef39b835b..33efecd536 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-sessions.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/sessions HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-targets.md b/docs/examples/1.8.x/server-rest/examples/users/list-targets.md index e9542c0da0..229559c958 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list-targets.md @@ -1,5 +1,5 @@ GET /v1/users/{userId}/targets HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list.md b/docs/examples/1.8.x/server-rest/examples/users/list.md index a92f71439b..2938255449 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/list.md +++ b/docs/examples/1.8.x/server-rest/examples/users/list.md @@ -1,5 +1,5 @@ GET /v1/users HTTP/1.1 Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-email-verification.md b/docs/examples/1.8.x/server-rest/examples/users/update-email-verification.md index cf65c72b0c..1db5556964 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-email-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/verification HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-email.md b/docs/examples/1.8.x/server-rest/examples/users/update-email.md index 10ccafb079..48d871d8d4 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-email.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-email.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/email HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-labels.md b/docs/examples/1.8.x/server-rest/examples/users/update-labels.md index f01603f1f4..d6acca5c7a 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-labels.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-labels.md @@ -1,7 +1,7 @@ PUT /v1/users/{userId}/labels HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/update-mfa-recovery-codes.md index aa3bb3f6e6..91e657aec7 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PUT /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-mfa.md b/docs/examples/1.8.x/server-rest/examples/users/update-mfa.md index fce9198887..8a5d1f5052 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-mfa.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-mfa.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/mfa HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-name.md b/docs/examples/1.8.x/server-rest/examples/users/update-name.md index c8988dfb1d..ae1472387a 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-name.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-name.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/name HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-password.md b/docs/examples/1.8.x/server-rest/examples/users/update-password.md index fb796d5619..40220f80d5 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-password.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-password.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/password HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-phone-verification.md b/docs/examples/1.8.x/server-rest/examples/users/update-phone-verification.md index ca3958605b..837874a1e2 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-phone-verification.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/verification/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-phone.md b/docs/examples/1.8.x/server-rest/examples/users/update-phone.md index 5bc196d668..a36f0cc656 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-phone.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-phone.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/phone HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-prefs.md b/docs/examples/1.8.x/server-rest/examples/users/update-prefs.md index 1db82743e8..5de942c081 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-prefs.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-prefs.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/prefs HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-status.md b/docs/examples/1.8.x/server-rest/examples/users/update-status.md index 6d07f2e15f..95e29fb66e 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-status.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-status.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/status HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-target.md b/docs/examples/1.8.x/server-rest/examples/users/update-target.md index 926fb166a4..c5f92f342e 100644 --- a/docs/examples/1.8.x/server-rest/examples/users/update-target.md +++ b/docs/examples/1.8.x/server-rest/examples/users/update-target.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/targets/{targetId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 +X-Appwrite-Response-Format: 1.8.0 X-Appwrite-Project: X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.8.x/server-ruby/examples/databases/create-document.md index ce8dea79ef..e6831084a1 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/create-document.md @@ -4,9 +4,8 @@ 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 - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token databases = Databases.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/create-documents.md b/docs/examples/1.8.x/server-ruby/examples/databases/create-documents.md index ecccdf5b21..16abc5e465 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/create-documents.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # + .set_project('') # Your project ID .set_key('') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md index d165e1e6cd..238081864f 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-document.md @@ -4,14 +4,15 @@ 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 - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token databases = Databases.new(client) result = databases.upsert_document( database_id: '', collection_id: '', - document_id: '' + document_id: '', + data: {}, + permissions: ["read("any")"] # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-documents.md index 8e404e684e..30c42aa439 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/upsert-documents.md @@ -4,12 +4,13 @@ include Appwrite client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # + .set_project('') # Your project ID .set_key('') # Your secret API key databases = Databases.new(client) result = databases.upsert_documents( database_id: '', - collection_id: '' + collection_id: '', + documents: [] ) diff --git a/docs/examples/1.8.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.8.x/server-ruby/examples/functions/create-execution.md index b64b1d5c57..666b995d77 100644 --- a/docs/examples/1.8.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-ruby/examples/functions/create-execution.md @@ -16,5 +16,5 @@ result = functions.create_execution( path: '', # optional method: ExecutionMethod::GET, # optional headers: {}, # optional - scheduled_at: '' # optional + scheduled_at: '' # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..592f6028aa --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-boolean-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_boolean_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: false, # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-database.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-database.md new file mode 100644 index 0000000000..db94d2386e --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-database.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_database( + database_id: '', + name: '', + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..4bc97b94ae --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-datetime-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_datetime_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: '', # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-email-column.md new file mode 100644 index 0000000000..4a1687d405 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-email-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_email_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: 'email@example.com', # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..2a9b6de5de --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-enum-column.md @@ -0,0 +1,20 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_enum_column( + database_id: '', + table_id: '', + key: '', + elements: [], + required: false, + default: '', # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-float-column.md new file mode 100644 index 0000000000..0cd3bee568 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-float-column.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_float_column( + database_id: '', + table_id: '', + key: '', + required: false, + min: null, # optional + max: null, # optional + default: null, # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-index.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-index.md new file mode 100644 index 0000000000..7ef4c2c790 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-index.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_index( + database_id: '', + table_id: '', + key: '', + type: IndexType::KEY, + columns: [], + orders: [], # optional + lengths: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..ae7c416965 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-integer-column.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_integer_column( + database_id: '', + table_id: '', + key: '', + required: false, + min: null, # optional + max: null, # optional + default: null, # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..e407abaee8 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-ip-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_ip_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: '', # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..3aecd5757d --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-relationship-column.md @@ -0,0 +1,22 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_relationship_column( + database_id: '', + table_id: '', + related_table_id: '', + type: RelationshipType::ONETOONE, + two_way: false, # optional + key: '', # optional + two_way_key: '', # optional + on_delete: RelationMutate::CASCADE # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-row.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-row.md new file mode 100644 index 0000000000..4c4433bd10 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-row.md @@ -0,0 +1,18 @@ +require 'appwrite' + +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 + +grids = Grids.new(client) + +result = grids.create_row( + database_id: '', + table_id: '', + row_id: '', + data: {}, + permissions: ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-rows.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-rows.md new file mode 100644 index 0000000000..1e619d25ce --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-rows.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_rows( + database_id: '', + table_id: '', + rows: [] +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-string-column.md new file mode 100644 index 0000000000..7808c6cfa2 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-string-column.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_string_column( + database_id: '', + table_id: '', + key: '', + size: 1, + required: false, + default: '', # optional + array: false, # optional + encrypt: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-table.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-table.md new file mode 100644 index 0000000000..ef3bc4b5cf --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-table.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_table( + database_id: '', + table_id: '', + name: '', + permissions: ["read("any")"], # optional + row_security: false, # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/create-url-column.md new file mode 100644 index 0000000000..55ff12a1c0 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/create-url-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.create_url_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: 'https://example.com', # optional + array: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..fcbc6efedc --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/decrement-row-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.decrement_row_column( + database_id: '', + table_id: '', + row_id: '', + column: '', + value: null, # optional + min: null # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-column.md new file mode 100644 index 0000000000..79cf84f3fd --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-column.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.delete_column( + database_id: '', + table_id: '', + key: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-database.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-database.md new file mode 100644 index 0000000000..54d3660b9f --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-database.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.delete_database( + database_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-index.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-index.md new file mode 100644 index 0000000000..3968cfb675 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-index.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.delete_index( + database_id: '', + table_id: '', + key: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-row.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-row.md new file mode 100644 index 0000000000..183f02c5d3 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-row.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +grids = Grids.new(client) + +result = grids.delete_row( + database_id: '', + table_id: '', + row_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-rows.md new file mode 100644 index 0000000000..560d63b033 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-rows.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.delete_rows( + database_id: '', + table_id: '', + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/delete-table.md b/docs/examples/1.8.x/server-ruby/examples/grids/delete-table.md new file mode 100644 index 0000000000..d0c15da17c --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/delete-table.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.delete_table( + database_id: '', + table_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/get-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/get-column.md new file mode 100644 index 0000000000..6288772e65 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/get-column.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.get_column( + database_id: '', + table_id: '', + key: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/get-database.md b/docs/examples/1.8.x/server-ruby/examples/grids/get-database.md new file mode 100644 index 0000000000..49a5cde300 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/get-database.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.get_database( + database_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/get-index.md b/docs/examples/1.8.x/server-ruby/examples/grids/get-index.md new file mode 100644 index 0000000000..78a923c0ff --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/get-index.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.get_index( + database_id: '', + table_id: '', + key: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/get-row.md b/docs/examples/1.8.x/server-ruby/examples/grids/get-row.md new file mode 100644 index 0000000000..e8dc2cb6b1 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/get-row.md @@ -0,0 +1,17 @@ +require 'appwrite' + +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 + +grids = Grids.new(client) + +result = grids.get_row( + database_id: '', + table_id: '', + row_id: '', + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/get-table.md b/docs/examples/1.8.x/server-ruby/examples/grids/get-table.md new file mode 100644 index 0000000000..bafdfe1140 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/get-table.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.get_table( + database_id: '', + table_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..d09f72080c --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/increment-row-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.increment_row_column( + database_id: '', + table_id: '', + row_id: '', + column: '', + value: null, # optional + max: null # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/list-columns.md b/docs/examples/1.8.x/server-ruby/examples/grids/list-columns.md new file mode 100644 index 0000000000..343775300b --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/list-columns.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.list_columns( + database_id: '', + table_id: '', + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/list-databases.md b/docs/examples/1.8.x/server-ruby/examples/grids/list-databases.md new file mode 100644 index 0000000000..21e54951ee --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/list-databases.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.list_databases( + queries: [], # optional + search: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/grids/list-indexes.md new file mode 100644 index 0000000000..2229c87249 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/list-indexes.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.list_indexes( + database_id: '', + table_id: '', + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/list-rows.md b/docs/examples/1.8.x/server-ruby/examples/grids/list-rows.md new file mode 100644 index 0000000000..40b7be88a7 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/list-rows.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +grids = Grids.new(client) + +result = grids.list_rows( + database_id: '', + table_id: '', + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/list-tables.md b/docs/examples/1.8.x/server-ruby/examples/grids/list-tables.md new file mode 100644 index 0000000000..69b213d3f3 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/list-tables.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.list_tables( + database_id: '', + queries: [], # optional + search: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..78055c777f --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-boolean-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_boolean_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: false, + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-database.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-database.md new file mode 100644 index 0000000000..79216c3fd3 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-database.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_database( + database_id: '', + name: '', + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..1737c5a020 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-datetime-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_datetime_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: '', + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-email-column.md new file mode 100644 index 0000000000..bc1f4cd7b6 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-email-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_email_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: 'email@example.com', + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..5012002e29 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-enum-column.md @@ -0,0 +1,20 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_enum_column( + database_id: '', + table_id: '', + key: '', + elements: [], + required: false, + default: '', + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-float-column.md new file mode 100644 index 0000000000..e05037f10c --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-float-column.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_float_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: null, + min: null, # optional + max: null, # optional + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..3ec34bd2f2 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-integer-column.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_integer_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: null, + min: null, # optional + max: null, # optional + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..5394075ae5 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-ip-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_ip_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: '', + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..2c730048de --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-relationship-column.md @@ -0,0 +1,18 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_relationship_column( + database_id: '', + table_id: '', + key: '', + on_delete: RelationMutate::CASCADE, # optional + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-row.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-row.md new file mode 100644 index 0000000000..57dd5cd381 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-row.md @@ -0,0 +1,18 @@ +require 'appwrite' + +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 + +grids = Grids.new(client) + +result = grids.update_row( + database_id: '', + table_id: '', + row_id: '', + data: {}, # optional + permissions: ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-rows.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-rows.md new file mode 100644 index 0000000000..602670d67f --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-rows.md @@ -0,0 +1,17 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_rows( + database_id: '', + table_id: '', + data: {}, # optional + queries: [] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-string-column.md new file mode 100644 index 0000000000..09de9ba697 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-string-column.md @@ -0,0 +1,20 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_string_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: '', + size: 1, # optional + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-table.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-table.md new file mode 100644 index 0000000000..742a0c9829 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-table.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_table( + database_id: '', + table_id: '', + name: '', + permissions: ["read("any")"], # optional + row_security: false, # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-ruby/examples/grids/update-url-column.md new file mode 100644 index 0000000000..fc3f055708 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/update-url-column.md @@ -0,0 +1,19 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.update_url_column( + database_id: '', + table_id: '', + key: '', + required: false, + default: 'https://example.com', + new_key: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-ruby/examples/grids/upsert-row.md new file mode 100644 index 0000000000..2cf50d92d9 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/upsert-row.md @@ -0,0 +1,18 @@ +require 'appwrite' + +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 + +grids = Grids.new(client) + +result = grids.upsert_row( + database_id: '', + table_id: '', + row_id: '', + data: {}, # optional + permissions: ["read("any")"] # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-ruby/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..af3a7e1dbf --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/grids/upsert-rows.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +grids = Grids.new(client) + +result = grids.upsert_rows( + database_id: '', + table_id: '', + rows: [] +) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/create-document.md b/docs/examples/1.8.x/server-swift/examples/databases/create-document.md index 4ee21048ab..daeaf144e1 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/create-document.md @@ -2,9 +2,8 @@ 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 - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token let databases = Databases(client) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/create-documents.md b/docs/examples/1.8.x/server-swift/examples/databases/create-documents.md index e4f8582f49..2e992d9e3a 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/create-documents.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/create-documents.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey("") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md b/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md index 9c9684e42d..e78bd458a0 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/upsert-document.md @@ -2,15 +2,16 @@ 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 - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token let databases = Databases(client) let document = try await databases.upsertDocument( databaseId: "", collectionId: "", - documentId: "" + documentId: "", + data: [:], + permissions: ["read("any")"] // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/upsert-documents.md b/docs/examples/1.8.x/server-swift/examples/databases/upsert-documents.md index e63b9a3e67..544f02f9c0 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/upsert-documents.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/upsert-documents.md @@ -2,13 +2,14 @@ import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // + .setProject("") // Your project ID .setKey("") // Your secret API key let databases = Databases(client) let documentList = try await databases.upsertDocuments( databaseId: "", - collectionId: "" + collectionId: "", + documents: [] ) diff --git a/docs/examples/1.8.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.8.x/server-swift/examples/functions/create-execution.md index aae7a0f52f..46c9d69087 100644 --- a/docs/examples/1.8.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-swift/examples/functions/create-execution.md @@ -15,6 +15,6 @@ let execution = try await functions.createExecution( path: "", // optional method: .gET, // optional headers: [:], // optional - scheduledAt: "" // optional + scheduledAt: "" // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-boolean-column.md new file mode 100644 index 0000000000..4d0a226eb2 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-boolean-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnBoolean = try await grids.createBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-database.md b/docs/examples/1.8.x/server-swift/examples/grids/create-database.md new file mode 100644 index 0000000000..75ec62df4b --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-database.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let database = try await grids.createDatabase( + databaseId: "", + name: "", + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-datetime-column.md new file mode 100644 index 0000000000..8271b44c9f --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-datetime-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnDatetime = try await grids.createDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-email-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-email-column.md new file mode 100644 index 0000000000..ca99534c78 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-email-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnEmail = try await grids.createEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-enum-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-enum-column.md new file mode 100644 index 0000000000..3d52e94a96 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-enum-column.md @@ -0,0 +1,19 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnEnum = try await grids.createEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: [], + required: false, + default: "", // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-float-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-float-column.md new file mode 100644 index 0000000000..f0abdc7b9f --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-float-column.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnFloat = try await grids.createFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, // optional + max: 0, // optional + default: 0, // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-index.md b/docs/examples/1.8.x/server-swift/examples/grids/create-index.md new file mode 100644 index 0000000000..2d0c1272b2 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-index.md @@ -0,0 +1,20 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnIndex = try await grids.createIndex( + databaseId: "", + tableId: "", + key: "", + type: .key, + columns: [], + orders: [], // optional + lengths: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-integer-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-integer-column.md new file mode 100644 index 0000000000..dca7968bfb --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-integer-column.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnInteger = try await grids.createIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + min: 0, // optional + max: 0, // optional + default: 0, // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-ip-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-ip-column.md new file mode 100644 index 0000000000..9517ed960f --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-ip-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnIp = try await grids.createIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-relationship-column.md new file mode 100644 index 0000000000..1ead20f97d --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-relationship-column.md @@ -0,0 +1,21 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnRelationship = try await grids.createRelationshipColumn( + databaseId: "", + tableId: "", + relatedTableId: "", + type: .oneToOne, + twoWay: false, // optional + key: "", // optional + twoWayKey: "", // optional + onDelete: .cascade // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-row.md b/docs/examples/1.8.x/server-swift/examples/grids/create-row.md new file mode 100644 index 0000000000..9d042b4034 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-row.md @@ -0,0 +1,17 @@ +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 grids = Grids(client) + +let row = try await grids.createRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-rows.md b/docs/examples/1.8.x/server-swift/examples/grids/create-rows.md new file mode 100644 index 0000000000..3e1aced6e7 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-rows.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let rowList = try await grids.createRows( + databaseId: "", + tableId: "", + rows: [] +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-string-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-string-column.md new file mode 100644 index 0000000000..74eea86fe4 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-string-column.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnString = try await grids.createStringColumn( + databaseId: "", + tableId: "", + key: "", + size: 1, + required: false, + default: "", // optional + array: false, // optional + encrypt: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-table.md b/docs/examples/1.8.x/server-swift/examples/grids/create-table.md new file mode 100644 index 0000000000..3792c0aee4 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-table.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let table = try await grids.createTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/create-url-column.md b/docs/examples/1.8.x/server-swift/examples/grids/create-url-column.md new file mode 100644 index 0000000000..7ea729aa1a --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/create-url-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnUrl = try await grids.createUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", // optional + array: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/decrement-row-column.md b/docs/examples/1.8.x/server-swift/examples/grids/decrement-row-column.md new file mode 100644 index 0000000000..9445843d71 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/decrement-row-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let row = try await grids.decrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, // optional + min: 0 // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-column.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-column.md new file mode 100644 index 0000000000..b58a4d0890 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-column.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let result = try await grids.deleteColumn( + databaseId: "", + tableId: "", + key: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-database.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-database.md new file mode 100644 index 0000000000..e7600d7726 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-database.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let result = try await grids.deleteDatabase( + databaseId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-index.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-index.md new file mode 100644 index 0000000000..d83cd551da --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-index.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let result = try await grids.deleteIndex( + databaseId: "", + tableId: "", + key: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-row.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-row.md new file mode 100644 index 0000000000..d2d77234a3 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-row.md @@ -0,0 +1,15 @@ +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 grids = Grids(client) + +let result = try await grids.deleteRow( + databaseId: "", + tableId: "", + rowId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-rows.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-rows.md new file mode 100644 index 0000000000..6a3f145526 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-rows.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let rowList = try await grids.deleteRows( + databaseId: "", + tableId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/delete-table.md b/docs/examples/1.8.x/server-swift/examples/grids/delete-table.md new file mode 100644 index 0000000000..8abdfcae2d --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/delete-table.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let result = try await grids.deleteTable( + databaseId: "", + tableId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/get-column.md b/docs/examples/1.8.x/server-swift/examples/grids/get-column.md new file mode 100644 index 0000000000..68c0d3933d --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/get-column.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let result = try await grids.getColumn( + databaseId: "", + tableId: "", + key: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/get-database.md b/docs/examples/1.8.x/server-swift/examples/grids/get-database.md new file mode 100644 index 0000000000..f3936ae4ba --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/get-database.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let database = try await grids.getDatabase( + databaseId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/get-index.md b/docs/examples/1.8.x/server-swift/examples/grids/get-index.md new file mode 100644 index 0000000000..24c3be9e27 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/get-index.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnIndex = try await grids.getIndex( + databaseId: "", + tableId: "", + key: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/get-row.md b/docs/examples/1.8.x/server-swift/examples/grids/get-row.md new file mode 100644 index 0000000000..4d3e53cba6 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/get-row.md @@ -0,0 +1,16 @@ +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 grids = Grids(client) + +let row = try await grids.getRow( + databaseId: "", + tableId: "", + rowId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/get-table.md b/docs/examples/1.8.x/server-swift/examples/grids/get-table.md new file mode 100644 index 0000000000..9ad5e0c202 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/get-table.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let table = try await grids.getTable( + databaseId: "", + tableId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/increment-row-column.md b/docs/examples/1.8.x/server-swift/examples/grids/increment-row-column.md new file mode 100644 index 0000000000..00d9663c22 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/increment-row-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let row = try await grids.incrementRowColumn( + databaseId: "", + tableId: "", + rowId: "", + column: "", + value: 0, // optional + max: 0 // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/list-columns.md b/docs/examples/1.8.x/server-swift/examples/grids/list-columns.md new file mode 100644 index 0000000000..facf87f9a3 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/list-columns.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnList = try await grids.listColumns( + databaseId: "", + tableId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/list-databases.md b/docs/examples/1.8.x/server-swift/examples/grids/list-databases.md new file mode 100644 index 0000000000..26d50a24b1 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/list-databases.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let databaseList = try await grids.listDatabases( + queries: [], // optional + search: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/grids/list-indexes.md new file mode 100644 index 0000000000..c31f162d5d --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/list-indexes.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnIndexList = try await grids.listIndexes( + databaseId: "", + tableId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/list-rows.md b/docs/examples/1.8.x/server-swift/examples/grids/list-rows.md new file mode 100644 index 0000000000..01dd6637fc --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/list-rows.md @@ -0,0 +1,15 @@ +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 grids = Grids(client) + +let rowList = try await grids.listRows( + databaseId: "", + tableId: "", + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/list-tables.md b/docs/examples/1.8.x/server-swift/examples/grids/list-tables.md new file mode 100644 index 0000000000..af8cdd1264 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/list-tables.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let tableList = try await grids.listTables( + databaseId: "", + queries: [], // optional + search: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-boolean-column.md new file mode 100644 index 0000000000..8994b79e7c --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-boolean-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnBoolean = try await grids.updateBooleanColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: false, + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-database.md b/docs/examples/1.8.x/server-swift/examples/grids/update-database.md new file mode 100644 index 0000000000..827245bd97 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-database.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let database = try await grids.updateDatabase( + databaseId: "", + name: "", + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-datetime-column.md new file mode 100644 index 0000000000..7a59cd1ef1 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-datetime-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnDatetime = try await grids.updateDatetimeColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-email-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-email-column.md new file mode 100644 index 0000000000..3704401fa5 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-email-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnEmail = try await grids.updateEmailColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "email@example.com", + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-enum-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-enum-column.md new file mode 100644 index 0000000000..946804a88c --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-enum-column.md @@ -0,0 +1,19 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnEnum = try await grids.updateEnumColumn( + databaseId: "", + tableId: "", + key: "", + elements: [], + required: false, + default: "", + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-float-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-float-column.md new file mode 100644 index 0000000000..10f0babb2c --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-float-column.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnFloat = try await grids.updateFloatColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-integer-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-integer-column.md new file mode 100644 index 0000000000..60e145e3b0 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-integer-column.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnInteger = try await grids.updateIntegerColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-ip-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-ip-column.md new file mode 100644 index 0000000000..17f490d644 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-ip-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnIp = try await grids.updateIpColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-relationship-column.md new file mode 100644 index 0000000000..994feefa92 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-relationship-column.md @@ -0,0 +1,18 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnRelationship = try await grids.updateRelationshipColumn( + databaseId: "", + tableId: "", + key: "", + onDelete: .cascade, // optional + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-row.md b/docs/examples/1.8.x/server-swift/examples/grids/update-row.md new file mode 100644 index 0000000000..3e4408f700 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-row.md @@ -0,0 +1,17 @@ +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 grids = Grids(client) + +let row = try await grids.updateRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], // optional + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-rows.md b/docs/examples/1.8.x/server-swift/examples/grids/update-rows.md new file mode 100644 index 0000000000..c57463cc8a --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-rows.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let rowList = try await grids.updateRows( + databaseId: "", + tableId: "", + data: [:], // optional + queries: [] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-string-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-string-column.md new file mode 100644 index 0000000000..e9e2d71c62 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-string-column.md @@ -0,0 +1,19 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnString = try await grids.updateStringColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "", + size: 1, // optional + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-table.md b/docs/examples/1.8.x/server-swift/examples/grids/update-table.md new file mode 100644 index 0000000000..8b3fa5e12e --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-table.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let table = try await grids.updateTable( + databaseId: "", + tableId: "", + name: "", + permissions: ["read("any")"], // optional + rowSecurity: false, // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/update-url-column.md b/docs/examples/1.8.x/server-swift/examples/grids/update-url-column.md new file mode 100644 index 0000000000..b72666e240 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/update-url-column.md @@ -0,0 +1,18 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let columnUrl = try await grids.updateUrlColumn( + databaseId: "", + tableId: "", + key: "", + required: false, + default: "https://example.com", + newKey: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/upsert-row.md b/docs/examples/1.8.x/server-swift/examples/grids/upsert-row.md new file mode 100644 index 0000000000..1d09e7b767 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/upsert-row.md @@ -0,0 +1,17 @@ +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 grids = Grids(client) + +let row = try await grids.upsertRow( + databaseId: "", + tableId: "", + rowId: "", + data: [:], // optional + permissions: ["read("any")"] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/grids/upsert-rows.md b/docs/examples/1.8.x/server-swift/examples/grids/upsert-rows.md new file mode 100644 index 0000000000..84173c9c0f --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/grids/upsert-rows.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let grids = Grids(client) + +let rowList = try await grids.upsertRows( + databaseId: "", + tableId: "", + rows: [] +) + diff --git a/docs/references/grids/create-boolean-column.md b/docs/references/grids/create-boolean-column.md new file mode 100644 index 0000000000..c528ede1a2 --- /dev/null +++ b/docs/references/grids/create-boolean-column.md @@ -0,0 +1 @@ +Create a boolean column. diff --git a/docs/references/grids/create-database.md b/docs/references/grids/create-database.md new file mode 100644 index 0000000000..b608485341 --- /dev/null +++ b/docs/references/grids/create-database.md @@ -0,0 +1 @@ +Create a new Database. diff --git a/docs/references/grids/create-datetime-column.md b/docs/references/grids/create-datetime-column.md new file mode 100644 index 0000000000..ad92750639 --- /dev/null +++ b/docs/references/grids/create-datetime-column.md @@ -0,0 +1 @@ +Create a date time column according to the ISO 8601 standard. \ No newline at end of file diff --git a/docs/references/grids/create-email-column.md b/docs/references/grids/create-email-column.md new file mode 100644 index 0000000000..91aa5c9326 --- /dev/null +++ b/docs/references/grids/create-email-column.md @@ -0,0 +1 @@ +Create an email column. diff --git a/docs/references/grids/create-enum-column.md b/docs/references/grids/create-enum-column.md new file mode 100644 index 0000000000..b9e5a3ebe4 --- /dev/null +++ b/docs/references/grids/create-enum-column.md @@ -0,0 +1 @@ +Create an enumeration column. The `elements` param acts as a white-list of accepted values for this column. \ No newline at end of file diff --git a/docs/references/grids/create-float-column.md b/docs/references/grids/create-float-column.md new file mode 100644 index 0000000000..0b133eef28 --- /dev/null +++ b/docs/references/grids/create-float-column.md @@ -0,0 +1 @@ +Create a float column. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/grids/create-index.md b/docs/references/grids/create-index.md new file mode 100644 index 0000000000..6ce853a217 --- /dev/null +++ b/docs/references/grids/create-index.md @@ -0,0 +1,2 @@ +Creates an index on the columns listed. Your index should include all the columns you will query in a single request. +Columns can be `key`, `fulltext`, and `unique`. \ No newline at end of file diff --git a/docs/references/grids/create-integer-column.md b/docs/references/grids/create-integer-column.md new file mode 100644 index 0000000000..5f51b3965a --- /dev/null +++ b/docs/references/grids/create-integer-column.md @@ -0,0 +1 @@ +Create an integer column. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/grids/create-ip-column.md b/docs/references/grids/create-ip-column.md new file mode 100644 index 0000000000..012431dbae --- /dev/null +++ b/docs/references/grids/create-ip-column.md @@ -0,0 +1 @@ +Create IP address column. diff --git a/docs/references/grids/create-relationship-column.md b/docs/references/grids/create-relationship-column.md new file mode 100644 index 0000000000..d87d8bccf8 --- /dev/null +++ b/docs/references/grids/create-relationship-column.md @@ -0,0 +1 @@ +Create relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns). diff --git a/docs/references/grids/create-row.md b/docs/references/grids/create-row.md new file mode 100644 index 0000000000..a07abfa04d --- /dev/null +++ b/docs/references/grids/create-row.md @@ -0,0 +1 @@ +Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/grids/create-rows.md b/docs/references/grids/create-rows.md new file mode 100644 index 0000000000..cea67913b4 --- /dev/null +++ b/docs/references/grids/create-rows.md @@ -0,0 +1 @@ +Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/grids/create-string-column.md b/docs/references/grids/create-string-column.md new file mode 100644 index 0000000000..7395e26a11 --- /dev/null +++ b/docs/references/grids/create-string-column.md @@ -0,0 +1 @@ +Create a string column. diff --git a/docs/references/grids/create-table.md b/docs/references/grids/create-table.md new file mode 100644 index 0000000000..263638ea00 --- /dev/null +++ b/docs/references/grids/create-table.md @@ -0,0 +1 @@ +Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/grids/create-url-column.md b/docs/references/grids/create-url-column.md new file mode 100644 index 0000000000..e731d758ce --- /dev/null +++ b/docs/references/grids/create-url-column.md @@ -0,0 +1 @@ +Create a URL column. diff --git a/docs/references/grids/decrement-row-column.md b/docs/references/grids/decrement-row-column.md new file mode 100644 index 0000000000..b7b32d6148 --- /dev/null +++ b/docs/references/grids/decrement-row-column.md @@ -0,0 +1 @@ +Decrement a specific column of a row by a given value. \ No newline at end of file diff --git a/docs/references/grids/delete-column.md b/docs/references/grids/delete-column.md new file mode 100644 index 0000000000..efba8b1d77 --- /dev/null +++ b/docs/references/grids/delete-column.md @@ -0,0 +1 @@ +Deletes a column. \ No newline at end of file diff --git a/docs/references/grids/delete-database.md b/docs/references/grids/delete-database.md new file mode 100644 index 0000000000..605fa290d3 --- /dev/null +++ b/docs/references/grids/delete-database.md @@ -0,0 +1 @@ +Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database. \ No newline at end of file diff --git a/docs/references/grids/delete-index.md b/docs/references/grids/delete-index.md new file mode 100644 index 0000000000..c5b8f49e5f --- /dev/null +++ b/docs/references/grids/delete-index.md @@ -0,0 +1 @@ +Delete an index. \ No newline at end of file diff --git a/docs/references/grids/delete-row.md b/docs/references/grids/delete-row.md new file mode 100644 index 0000000000..c0b9dfbdaf --- /dev/null +++ b/docs/references/grids/delete-row.md @@ -0,0 +1 @@ +Delete a row by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/delete-rows.md b/docs/references/grids/delete-rows.md new file mode 100644 index 0000000000..9d5189ce76 --- /dev/null +++ b/docs/references/grids/delete-rows.md @@ -0,0 +1 @@ +Bulk delete rows using queries, if no queries are passed then all rows are deleted. \ No newline at end of file diff --git a/docs/references/grids/delete-table.md b/docs/references/grids/delete-table.md new file mode 100644 index 0000000000..ad74ca3233 --- /dev/null +++ b/docs/references/grids/delete-table.md @@ -0,0 +1 @@ +Delete a table by its unique ID. Only users with write permissions have access to delete this resource. \ No newline at end of file diff --git a/docs/references/grids/get-column.md b/docs/references/grids/get-column.md new file mode 100644 index 0000000000..cd8b8797a9 --- /dev/null +++ b/docs/references/grids/get-column.md @@ -0,0 +1 @@ +Get column by ID. \ No newline at end of file diff --git a/docs/references/grids/get-database-usage.md b/docs/references/grids/get-database-usage.md new file mode 100644 index 0000000000..d9298f4814 --- /dev/null +++ b/docs/references/grids/get-database-usage.md @@ -0,0 +1 @@ +Get usage metrics and statistics for a database. You can view the total number of tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days. \ No newline at end of file diff --git a/docs/references/grids/get-database.md b/docs/references/grids/get-database.md new file mode 100644 index 0000000000..24183f6f6b --- /dev/null +++ b/docs/references/grids/get-database.md @@ -0,0 +1 @@ +Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata. \ No newline at end of file diff --git a/docs/references/grids/get-index.md b/docs/references/grids/get-index.md new file mode 100644 index 0000000000..cdea5b4f27 --- /dev/null +++ b/docs/references/grids/get-index.md @@ -0,0 +1 @@ +Get index by ID. \ No newline at end of file diff --git a/docs/references/grids/get-logs.md b/docs/references/grids/get-logs.md new file mode 100644 index 0000000000..8e49da4603 --- /dev/null +++ b/docs/references/grids/get-logs.md @@ -0,0 +1 @@ +Get the database activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/get-row-logs.md b/docs/references/grids/get-row-logs.md new file mode 100644 index 0000000000..1d494ed53e --- /dev/null +++ b/docs/references/grids/get-row-logs.md @@ -0,0 +1 @@ +Get the row activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/get-row.md b/docs/references/grids/get-row.md new file mode 100644 index 0000000000..6a30fa472c --- /dev/null +++ b/docs/references/grids/get-row.md @@ -0,0 +1 @@ +Get a row by its unique ID. This endpoint response returns a JSON object with the row data. \ No newline at end of file diff --git a/docs/references/grids/get-table-logs.md b/docs/references/grids/get-table-logs.md new file mode 100644 index 0000000000..8b00c7f317 --- /dev/null +++ b/docs/references/grids/get-table-logs.md @@ -0,0 +1 @@ +Get the table activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/get-table-usage.md b/docs/references/grids/get-table-usage.md new file mode 100644 index 0000000000..08e28af0a6 --- /dev/null +++ b/docs/references/grids/get-table-usage.md @@ -0,0 +1 @@ +Get usage metrics and statistics for a table. Returning the total number of rows. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days. \ No newline at end of file diff --git a/docs/references/grids/get-table.md b/docs/references/grids/get-table.md new file mode 100644 index 0000000000..67b8428431 --- /dev/null +++ b/docs/references/grids/get-table.md @@ -0,0 +1 @@ +Get a table by its unique ID. This endpoint response returns a JSON object with the table metadata. \ No newline at end of file diff --git a/docs/references/grids/increment-row-column.md b/docs/references/grids/increment-row-column.md new file mode 100644 index 0000000000..7a19b3fbc7 --- /dev/null +++ b/docs/references/grids/increment-row-column.md @@ -0,0 +1 @@ +Increment a specific column of a row by a given value. \ No newline at end of file diff --git a/docs/references/grids/list-columns.md b/docs/references/grids/list-columns.md new file mode 100644 index 0000000000..aacf373082 --- /dev/null +++ b/docs/references/grids/list-columns.md @@ -0,0 +1 @@ +List columns in the table. \ No newline at end of file diff --git a/docs/references/grids/list-database-usage.md b/docs/references/grids/list-database-usage.md new file mode 100644 index 0000000000..2bf5ed81e1 --- /dev/null +++ b/docs/references/grids/list-database-usage.md @@ -0,0 +1 @@ +List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days. \ No newline at end of file diff --git a/docs/references/grids/list-databases.md b/docs/references/grids/list-databases.md new file mode 100644 index 0000000000..d93fb9d7a8 --- /dev/null +++ b/docs/references/grids/list-databases.md @@ -0,0 +1 @@ +Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results. \ No newline at end of file diff --git a/docs/references/grids/list-indexes.md b/docs/references/grids/list-indexes.md new file mode 100644 index 0000000000..a0c7b2f861 --- /dev/null +++ b/docs/references/grids/list-indexes.md @@ -0,0 +1 @@ +List indexes in the table. \ No newline at end of file diff --git a/docs/references/grids/list-rows.md b/docs/references/grids/list-rows.md new file mode 100644 index 0000000000..68185fc192 --- /dev/null +++ b/docs/references/grids/list-rows.md @@ -0,0 +1 @@ +Get a list of all the user's rows in a given table. You can use the query params to filter your results. \ No newline at end of file diff --git a/docs/references/grids/list-tables.md b/docs/references/grids/list-tables.md new file mode 100644 index 0000000000..e14795eeac --- /dev/null +++ b/docs/references/grids/list-tables.md @@ -0,0 +1 @@ +Get a list of all tables that belong to the provided databaseId. You can use the search parameter to filter your results. \ No newline at end of file diff --git a/docs/references/grids/update-boolean-column.md b/docs/references/grids/update-boolean-column.md new file mode 100644 index 0000000000..f5167d97b6 --- /dev/null +++ b/docs/references/grids/update-boolean-column.md @@ -0,0 +1 @@ +Update a boolean column. Changing the `default` value will not update already existing rows. \ No newline at end of file diff --git a/docs/references/grids/update-database.md b/docs/references/grids/update-database.md new file mode 100644 index 0000000000..4e99bf2e07 --- /dev/null +++ b/docs/references/grids/update-database.md @@ -0,0 +1 @@ +Update a database by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/update-datetime-column.md b/docs/references/grids/update-datetime-column.md new file mode 100644 index 0000000000..e793b41921 --- /dev/null +++ b/docs/references/grids/update-datetime-column.md @@ -0,0 +1 @@ +Update a date time column. Changing the `default` value will not update already existing rows. \ No newline at end of file diff --git a/docs/references/grids/update-email-column.md b/docs/references/grids/update-email-column.md new file mode 100644 index 0000000000..0db17e29bd --- /dev/null +++ b/docs/references/grids/update-email-column.md @@ -0,0 +1 @@ +Update an email column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-enum-column.md b/docs/references/grids/update-enum-column.md new file mode 100644 index 0000000000..df172cbc38 --- /dev/null +++ b/docs/references/grids/update-enum-column.md @@ -0,0 +1 @@ +Update an enum column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-float-column.md b/docs/references/grids/update-float-column.md new file mode 100644 index 0000000000..4e0eb9ddb2 --- /dev/null +++ b/docs/references/grids/update-float-column.md @@ -0,0 +1 @@ +Update a float column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-integer-column.md b/docs/references/grids/update-integer-column.md new file mode 100644 index 0000000000..0f2a07ea6e --- /dev/null +++ b/docs/references/grids/update-integer-column.md @@ -0,0 +1 @@ +Update an integer column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-ip-column.md b/docs/references/grids/update-ip-column.md new file mode 100644 index 0000000000..115c87a7e1 --- /dev/null +++ b/docs/references/grids/update-ip-column.md @@ -0,0 +1 @@ +Update an ip column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-relationship-column.md b/docs/references/grids/update-relationship-column.md new file mode 100644 index 0000000000..dfdcd8ae5a --- /dev/null +++ b/docs/references/grids/update-relationship-column.md @@ -0,0 +1 @@ +Update relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns). diff --git a/docs/references/grids/update-row.md b/docs/references/grids/update-row.md new file mode 100644 index 0000000000..b532ea411d --- /dev/null +++ b/docs/references/grids/update-row.md @@ -0,0 +1 @@ +Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated. \ No newline at end of file diff --git a/docs/references/grids/update-rows.md b/docs/references/grids/update-rows.md new file mode 100644 index 0000000000..334b91aec1 --- /dev/null +++ b/docs/references/grids/update-rows.md @@ -0,0 +1 @@ +Update all rows that match your queries, if no queries are submitted then all rows are updated. You can pass only specific fields to be updated. \ No newline at end of file diff --git a/docs/references/grids/update-string-column.md b/docs/references/grids/update-string-column.md new file mode 100644 index 0000000000..617214b4c9 --- /dev/null +++ b/docs/references/grids/update-string-column.md @@ -0,0 +1 @@ +Update a string column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/update-table.md b/docs/references/grids/update-table.md new file mode 100644 index 0000000000..bbd676d3b8 --- /dev/null +++ b/docs/references/grids/update-table.md @@ -0,0 +1 @@ +Update a table by its unique ID. \ No newline at end of file diff --git a/docs/references/grids/update-url-column.md b/docs/references/grids/update-url-column.md new file mode 100644 index 0000000000..6080d71509 --- /dev/null +++ b/docs/references/grids/update-url-column.md @@ -0,0 +1 @@ +Update an url column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/grids/upsert-row.md b/docs/references/grids/upsert-row.md new file mode 100644 index 0000000000..1132afd53c --- /dev/null +++ b/docs/references/grids/upsert-row.md @@ -0,0 +1 @@ +Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/grids/upsert-rows.md b/docs/references/grids/upsert-rows.md new file mode 100644 index 0000000000..21aa3da1ef --- /dev/null +++ b/docs/references/grids/upsert-rows.md @@ -0,0 +1 @@ +Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. From 0023d5afc2154efbf62a5c49a8d16d77f0b6983a Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 30 Jul 2025 14:35:25 +0530 Subject: [PATCH 23/23] update: sdk-gen. --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index cae0976158..3fc23b8dcf 100644 --- a/composer.lock +++ b/composer.lock @@ -4810,16 +4810,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.41.24", + "version": "0.41.26", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "c9ebf8daa25332ca701515d42e8d0c4a7be6a489" + "reference": "5a13191a5a4bdec8fe1b1180ff67f75c4ff6ac0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/c9ebf8daa25332ca701515d42e8d0c4a7be6a489", - "reference": "c9ebf8daa25332ca701515d42e8d0c4a7be6a489", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/5a13191a5a4bdec8fe1b1180ff67f75c4ff6ac0b", + "reference": "5a13191a5a4bdec8fe1b1180ff67f75c4ff6ac0b", "shasum": "" }, "require": { @@ -4855,9 +4855,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.41.24" + "source": "https://github.com/appwrite/sdk-generator/tree/0.41.26" }, - "time": "2025-07-28T06:27:00+00:00" + "time": "2025-07-30T06:53:12+00:00" }, { "name": "doctrine/annotations",