From 8a734293f04106705e9aa2590273f2bc17b1f43f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 4 Sep 2025 10:22:51 +0530 Subject: [PATCH 01/45] feat: add requestBody param examples in specs --- app/controllers/api/account.php | 2 +- composer.json | 2 +- composer.lock | 250 +++++++++--------- .../Collections/Documents/Create.php | 2 +- .../SDK/Specification/Format/OpenAPI3.php | 5 +- .../SDK/Specification/Format/Swagger2.php | 5 +- 6 files changed, 142 insertions(+), 124 deletions(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 24cc116aed..7f76e39cd9 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3168,7 +3168,7 @@ App::patch('/v1/account/prefs') ], contentType: ContentType::JSON )) - ->param('prefs', [], new Assoc(), 'Prefs key-value JSON object.') + ->param('prefs', [], new Assoc(), 'Prefs key-value JSON object.', example: '{"language":"en","timezone":"UTC","darkTheme":true}') ->inject('requestTimestamp') ->inject('response') ->inject('user') diff --git a/composer.json b/composer.json index 0c662c775f..c4e5e72305 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.11.0", + "utopia-php/queue": "0.12.0", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", diff --git a/composer.lock b/composer.lock index c22b7f4b05..2df83b171c 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": "0da713ee5642eba1d30bc51c1a04a723", + "content-hash": "afc8b2b314887779f507fd6a101ef6af", "packages": [ { "name": "adhocore/jwt", @@ -67,6 +67,99 @@ ], "time": "2025-02-18T01:00:50+00:00" }, + { + "name": "appwrite-labs/php-amqplib", + "version": "0.1.2", + "source": { + "type": "git", + "url": "https://github.com/appwrite-labs/php-amqplib.git", + "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/appwrite-labs/php-amqplib/zipball/c8e043045388ddad5ddab5f48df2b9046ca6873f", + "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-sockets": "*", + "php": "^7.2||^8.0", + "phpseclib/phpseclib": "^2.0|^3.0" + }, + "conflict": { + "php": "7.4.0 - 7.4.1" + }, + "replace": { + "php-amqplib/php-amqplib": "self.version", + "videlalvaro/php-amqplib": "self.version" + }, + "require-dev": { + "ext-curl": "*", + "nategood/httpful": "^0.2.20", + "phpunit/phpunit": "^7.5|^9.5", + "squizlabs/php_codesniffer": "^3.6", + "swoole/ide-helper": "^5.0" + }, + "suggest": { + "ext-swoole": "For Swoole coroutine support" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpAmqpLib\\": "PhpAmqpLib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Appwrite Labs", + "email": "team@appwrite.io", + "role": "Fork Maintainer" + }, + { + "name": "Alvaro Videla", + "role": "Original Maintainer" + }, + { + "name": "Raúl Araya", + "email": "nubeiro@gmail.com", + "role": "Maintainer" + }, + { + "name": "Luke Bakken", + "email": "luke@bakken.io", + "role": "Maintainer" + }, + { + "name": "Ramūnas Dronga", + "email": "github@ramuno.lt", + "role": "Maintainer" + } + ], + "description": "Fork of php-amqplib with Swoole coroutine support. A pure PHP implementation of the AMQP protocol tested against RabbitMQ.", + "homepage": "https://github.com/appwrite-labs/php-amqplib/", + "keywords": [ + "async", + "coroutine", + "message", + "queue", + "rabbitmq", + "swoole" + ], + "support": { + "source": "https://github.com/appwrite-labs/php-amqplib/tree/0.1.2" + }, + "time": "2025-07-04T20:54:22+00:00" + }, { "name": "appwrite/appwrite", "version": "15.1.0", @@ -1515,16 +1608,16 @@ }, { "name": "open-telemetry/sem-conv", - "version": "1.36.0", + "version": "1.37.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "60dd18fd21d45e6f4234ecab89c14021b6e3de9a" + "reference": "8da7ec497c881e39afa6657d72586e27efbd29a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/60dd18fd21d45e6f4234ecab89c14021b6e3de9a", - "reference": "60dd18fd21d45e6f4234ecab89c14021b6e3de9a", + "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/8da7ec497c881e39afa6657d72586e27efbd29a1", + "reference": "8da7ec497c881e39afa6657d72586e27efbd29a1", "shasum": "" }, "require": { @@ -1568,7 +1661,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-08-04T03:22:08+00:00" + "time": "2025-09-03T12:08:10+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -1687,87 +1780,6 @@ }, "time": "2020-10-15T08:29:30+00:00" }, - { - "name": "php-amqplib/php-amqplib", - "version": "v3.7.3", - "source": { - "type": "git", - "url": "https://github.com/php-amqplib/php-amqplib.git", - "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/9f50fe69a9f1a19e2cb25596a354d705de36fe59", - "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "ext-sockets": "*", - "php": "^7.2||^8.0", - "phpseclib/phpseclib": "^2.0|^3.0" - }, - "conflict": { - "php": "7.4.0 - 7.4.1" - }, - "replace": { - "videlalvaro/php-amqplib": "self.version" - }, - "require-dev": { - "ext-curl": "*", - "nategood/httpful": "^0.2.20", - "phpunit/phpunit": "^7.5|^9.5", - "squizlabs/php_codesniffer": "^3.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "PhpAmqpLib\\": "PhpAmqpLib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1-or-later" - ], - "authors": [ - { - "name": "Alvaro Videla", - "role": "Original Maintainer" - }, - { - "name": "Raúl Araya", - "email": "nubeiro@gmail.com", - "role": "Maintainer" - }, - { - "name": "Luke Bakken", - "email": "luke@bakken.io", - "role": "Maintainer" - }, - { - "name": "Ramūnas Dronga", - "email": "github@ramuno.lt", - "role": "Maintainer" - } - ], - "description": "Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.", - "homepage": "https://github.com/php-amqplib/php-amqplib/", - "keywords": [ - "message", - "queue", - "rabbitmq" - ], - "support": { - "issues": "https://github.com/php-amqplib/php-amqplib/issues", - "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.3" - }, - "time": "2025-02-18T20:11:13+00:00" - }, { "name": "php-http/discovery", "version": "1.20.0", @@ -3638,16 +3650,16 @@ }, { "name": "utopia-php/database", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "06ffa2b1c977f5451200a1ee82a500be1390a789" + "reference": "fcd166b715a14cfea11f7a9c47d4c0076bedcecd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/06ffa2b1c977f5451200a1ee82a500be1390a789", - "reference": "06ffa2b1c977f5451200a1ee82a500be1390a789", + "url": "https://api.github.com/repos/utopia-php/database/zipball/fcd166b715a14cfea11f7a9c47d4c0076bedcecd", + "reference": "fcd166b715a14cfea11f7a9c47d4c0076bedcecd", "shasum": "" }, "require": { @@ -3688,9 +3700,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.3.0" + "source": "https://github.com/utopia-php/database/tree/1.3.1" }, - "time": "2025-09-02T16:20:02+00:00" + "time": "2025-09-03T15:50:41+00:00" }, { "name": "utopia-php/detector", @@ -3942,16 +3954,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.22", + "version": "0.33.24", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "c01a815cb976c9255e045fc3bcc3f5fcf477e0bc" + "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/c01a815cb976c9255e045fc3bcc3f5fcf477e0bc", - "reference": "c01a815cb976c9255e045fc3bcc3f5fcf477e0bc", + "url": "https://api.github.com/repos/utopia-php/http/zipball/5112b1023342163e3fbedec99f38fc32c8700aa0", + "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0", "shasum": "" }, "require": { @@ -3983,9 +3995,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.22" + "source": "https://github.com/utopia-php/http/tree/0.33.24" }, - "time": "2025-08-26T10:29:50+00:00" + "time": "2025-09-04T04:18:39+00:00" }, { "name": "utopia-php/image", @@ -4296,16 +4308,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.8", + "version": "0.7.11", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854" + "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/e3a4536c46f10988b1a446ec6b8dd8a9914be854", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", + "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", "shasum": "" }, "require": { @@ -4314,7 +4326,7 @@ "php": ">=8.0", "utopia-php/cli": "0.15.*", "utopia-php/framework": "0.33.*", - "utopia-php/queue": "0.11.*" + "utopia-php/queue": "^0.12.0" }, "require-dev": { "laravel/pint": "1.*", @@ -4340,9 +4352,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.8" + "source": "https://github.com/utopia-php/platform/tree/0.7.11" }, - "time": "2025-05-30T10:05:43+00:00" + "time": "2025-09-04T04:38:38+00:00" }, { "name": "utopia-php/pools", @@ -4451,21 +4463,21 @@ }, { "name": "utopia-php/queue", - "version": "0.11.0", + "version": "0.12.0", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5" + "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5", - "reference": "06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/3a7603ee712c592bfc54af4a76f0426c428b5574", + "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574", "shasum": "" }, "require": { + "appwrite-labs/php-amqplib": "^0.1", "php": ">=8.3", - "php-amqplib/php-amqplib": "^3.7", "utopia-php/cli": "0.15.*", "utopia-php/fetch": "0.4.*", "utopia-php/framework": "0.33.*", @@ -4511,9 +4523,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.11.0" + "source": "https://github.com/utopia-php/queue/tree/0.12.0" }, - "time": "2025-05-30T09:52:38+00:00" + "time": "2025-06-24T18:58:38+00:00" }, { "name": "utopia-php/registry", @@ -5007,16 +5019,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.1.15", + "version": "1.1.16", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "8e8e39634ba7558704522959d88f3542563a5444" + "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/8e8e39634ba7558704522959d88f3542563a5444", - "reference": "8e8e39634ba7558704522959d88f3542563a5444", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/f8fbc4b1ba0e918825338f50cbdea4d887389c41", + "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41", "shasum": "" }, "require": { @@ -5052,9 +5064,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.1.15" + "source": "https://github.com/appwrite/sdk-generator/tree/1.1.16" }, - "time": "2025-08-27T04:59:35+00:00" + "time": "2025-09-03T06:50:04+00:00" }, { "name": "doctrine/annotations", diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php index d274e1f128..fe101c6eef 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php @@ -116,7 +116,7 @@ class Create extends Action ->param('databaseId', '', new UID(), 'Database ID.') ->param('documentId', '', new CustomId(), 'Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). Make sure to define attributes before creating documents.') - ->param('data', [], new JSON(), 'Document data as JSON object.', true) + ->param('data', [], new JSON(), 'Document data as JSON object.', true, example: '{"username":"john.doe","email":"john.doe@example.com","fullName":"John Doe","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('documents', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 4a492e4c00..6271ae7006 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -433,7 +433,10 @@ class OpenAPI3 extends Format case 'Utopia\Validator\Assoc': $param['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; $node['schema']['type'] = 'object'; - $node['schema']['x-example'] = '{}'; + + $example = $param['example'] ?? '{}'; + $decodedExample = json_decode($example, true); + $node['schema']['x-example'] = json_last_error() === JSON_ERROR_NONE ? $decodedExample : $example; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 313d46be8f..63b9f763f8 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -467,7 +467,10 @@ class Swagger2 extends Format case 'Utopia\Validator\Assoc': $node['type'] = 'object'; $node['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; - $node['x-example'] = '{}'; + + $example = $param['example'] ?? '{}'; + $decodedExample = json_decode($example, true); + $node['schema']['x-example'] = json_last_error() === JSON_ERROR_NONE ? $decodedExample : $example; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; From 27e2ec04eebe39a44d88895c07122a8fc3da3c46 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 4 Sep 2025 16:59:18 +0530 Subject: [PATCH 02/45] chore: keep it as a json string --- src/Appwrite/SDK/Specification/Format/OpenAPI3.php | 5 +---- src/Appwrite/SDK/Specification/Format/Swagger2.php | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 6271ae7006..39b03030fb 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -433,10 +433,7 @@ class OpenAPI3 extends Format case 'Utopia\Validator\Assoc': $param['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; $node['schema']['type'] = 'object'; - - $example = $param['example'] ?? '{}'; - $decodedExample = json_decode($example, true); - $node['schema']['x-example'] = json_last_error() === JSON_ERROR_NONE ? $decodedExample : $example; + $node['schema']['x-example'] = $param['example'] ?? '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 63b9f763f8..96271ef89c 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -467,10 +467,7 @@ class Swagger2 extends Format case 'Utopia\Validator\Assoc': $node['type'] = 'object'; $node['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; - - $example = $param['example'] ?? '{}'; - $decodedExample = json_decode($example, true); - $node['schema']['x-example'] = json_last_error() === JSON_ERROR_NONE ? $decodedExample : $example; + $node['schema']['x-example'] = $param['example'] ?? '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; From 8b271eb159a318481b7873d8d42c07338c7ee52f Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 14:47:59 +0300 Subject: [PATCH 03/45] Catch error --- app/controllers/api/teams.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index fe411d53ab..8aa041505c 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -36,6 +36,7 @@ use Utopia\Database\Exception\Authorization as AuthorizationException; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; +use Utopia\Database\Exception\Structure as StructureException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; @@ -357,6 +358,11 @@ App::put('/v1/teams/:teamId/prefs') ->inject('dbForProject') ->inject('queueForEvents') ->action(function (string $teamId, array $prefs, Response $response, Database $dbForProject, Event $queueForEvents) { + try { + $prefs = new Document($prefs); + } catch (StructureException $e) { + throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); + } $team = $dbForProject->getDocument('teams', $teamId); @@ -368,7 +374,7 @@ App::put('/v1/teams/:teamId/prefs') $queueForEvents->setParam('teamId', $team->getId()); - $response->dynamic(new Document($prefs), Response::MODEL_PREFERENCES); + $response->dynamic($prefs, Response::MODEL_PREFERENCES); }); App::delete('/v1/teams/:teamId') From 2e26ea3a1baa71b80adc272282e95eaa8dd67f90 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 14:54:22 +0300 Subject: [PATCH 04/45] $prefsDocument --- app/controllers/api/teams.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index ed2e2d2140..ae6ad686e0 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -359,7 +359,7 @@ App::put('/v1/teams/:teamId/prefs') ->inject('queueForEvents') ->action(function (string $teamId, array $prefs, Response $response, Database $dbForProject, Event $queueForEvents) { try { - $prefs = new Document($prefs); + $prefsDocument = new Document($prefs); } catch (StructureException $e) { throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); } @@ -374,7 +374,7 @@ App::put('/v1/teams/:teamId/prefs') $queueForEvents->setParam('teamId', $team->getId()); - $response->dynamic($prefs, Response::MODEL_PREFERENCES); + $response->dynamic($prefsDocument, Response::MODEL_PREFERENCES); }); App::delete('/v1/teams/:teamId') From 3fc05c54fb0bf76a18de4ecf16e5f7abe465aec9 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 14:59:59 +0300 Subject: [PATCH 05/45] Fix get prefs --- app/controllers/api/teams.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index ae6ad686e0..7b297fb17b 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -283,7 +283,13 @@ App::get('/v1/teams/:teamId/prefs') $prefs = $team->getAttribute('prefs', []); - $response->dynamic(new Document($prefs), Response::MODEL_PREFERENCES); + try { + $prefs = new Document($prefs); + } catch (StructureException $e) { + throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); + } + + $response->dynamic($prefs, Response::MODEL_PREFERENCES); }); App::put('/v1/teams/:teamId') From 8cc5efa2cb6ec26710b8bbd063951857828bb13a Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 15:06:38 +0300 Subject: [PATCH 06/45] Use Document --- app/controllers/api/teams.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 7b297fb17b..c15d91a3bb 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -365,7 +365,7 @@ App::put('/v1/teams/:teamId/prefs') ->inject('queueForEvents') ->action(function (string $teamId, array $prefs, Response $response, Database $dbForProject, Event $queueForEvents) { try { - $prefsDocument = new Document($prefs); + $prefs = new Document($prefs); } catch (StructureException $e) { throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); } @@ -376,11 +376,12 @@ App::put('/v1/teams/:teamId/prefs') throw new Exception(Exception::TEAM_NOT_FOUND); } - $team = $dbForProject->updateDocument('teams', $team->getId(), $team->setAttribute('prefs', $prefs)); + $team->setAttribute('prefs', $prefs->getArrayCopy()); + $team = $dbForProject->updateDocument('teams', $team->getId(), $team); $queueForEvents->setParam('teamId', $team->getId()); - $response->dynamic($prefsDocument, Response::MODEL_PREFERENCES); + $response->dynamic($prefs, Response::MODEL_PREFERENCES); }); App::delete('/v1/teams/:teamId') From ac9181a2e6236329bc99785a4768035491dcdf82 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 15:06:58 +0300 Subject: [PATCH 07/45] Line --- app/controllers/api/teams.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index c15d91a3bb..e7857b0f01 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -377,6 +377,7 @@ App::put('/v1/teams/:teamId/prefs') } $team->setAttribute('prefs', $prefs->getArrayCopy()); + $team = $dbForProject->updateDocument('teams', $team->getId(), $team); $queueForEvents->setParam('teamId', $team->getId()); From 15b56593f4436764f772b5a43427cc77b03e0f8c Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 4 Sep 2025 15:28:59 +0300 Subject: [PATCH 08/45] Partial update --- app/controllers/api/teams.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index e7857b0f01..7398e451b5 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -376,9 +376,9 @@ App::put('/v1/teams/:teamId/prefs') throw new Exception(Exception::TEAM_NOT_FOUND); } - $team->setAttribute('prefs', $prefs->getArrayCopy()); - - $team = $dbForProject->updateDocument('teams', $team->getId(), $team); + $team = $dbForProject->updateDocument('teams', $team->getId(), new Document([ + 'prefs' => $prefs->getArrayCopy() + ])); $queueForEvents->setParam('teamId', $team->getId()); From a47d581eea67972a837f3ff722c987a47eebcce2 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 4 Sep 2025 22:45:46 +0530 Subject: [PATCH 09/45] fix: specs --- app/config/specs/open-api3-1.8.x-client.json | 4 ++-- app/config/specs/open-api3-1.8.x-console.json | 6 +++--- app/config/specs/open-api3-1.8.x-server.json | 6 +++--- app/config/specs/swagger2-1.8.x-client.json | 4 ++-- app/config/specs/swagger2-1.8.x-console.json | 6 +++--- app/config/specs/swagger2-1.8.x-server.json | 6 +++--- src/Appwrite/SDK/Specification/Format/OpenAPI3.php | 2 +- src/Appwrite/SDK/Specification/Format/Swagger2.php | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index c72300e004..003b53df5d 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -1891,7 +1891,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index b39181e025..b55e2c0c58 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -1911,7 +1911,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9575,7 +9575,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -15150,7 +15150,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 22f0affafa..ef8b8cf39f 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -1926,7 +1926,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9057,7 +9057,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -13887,7 +13887,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index ea98bd764b..a4b548805a 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -1979,7 +1979,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 03435662b0..edf229b565 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -2009,7 +2009,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 5fb2c27cb9..f75d25238f 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -2023,7 +2023,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 39b03030fb..db95f984c8 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -433,7 +433,7 @@ class OpenAPI3 extends Format case 'Utopia\Validator\Assoc': $param['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; $node['schema']['type'] = 'object'; - $node['schema']['x-example'] = $param['example'] ?? '{}'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 96271ef89c..c734d37f0e 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -467,7 +467,7 @@ class Swagger2 extends Format case 'Utopia\Validator\Assoc': $node['type'] = 'object'; $node['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; - $node['schema']['x-example'] = $param['example'] ?? '{}'; + $node['x-example'] = ($param['example'] ?? '') ?: '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; From 586f4dff6fbdfb22746e9bc12f2f8cc494144482 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 5 Sep 2025 09:34:34 +0530 Subject: [PATCH 10/45] chore: update createRow as well --- app/config/specs/open-api3-1.8.x-client.json | 2 +- app/config/specs/open-api3-1.8.x-console.json | 2 +- app/config/specs/open-api3-1.8.x-server.json | 2 +- app/config/specs/open-api3-latest-client.json | 6 +++--- app/config/specs/open-api3-latest-console.json | 8 ++++---- app/config/specs/open-api3-latest-server.json | 8 ++++---- app/config/specs/swagger2-1.8.x-client.json | 2 +- app/config/specs/swagger2-1.8.x-console.json | 2 +- app/config/specs/swagger2-1.8.x-server.json | 2 +- app/config/specs/swagger2-latest-client.json | 6 +++--- app/config/specs/swagger2-latest-console.json | 8 ++++---- app/config/specs/swagger2-latest-server.json | 8 ++++---- .../Databases/Http/TablesDB/Tables/Rows/Create.php | 2 +- 13 files changed, 29 insertions(+), 29 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index 003b53df5d..d782408679 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index b55e2c0c58..67eda14f0c 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -37474,7 +37474,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index ef8b8cf39f..6028487515 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -27845,7 +27845,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index c72300e004..d782408679 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -1891,7 +1891,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index b39181e025..67eda14f0c 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -1911,7 +1911,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9575,7 +9575,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -15150,7 +15150,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -37474,7 +37474,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 22f0affafa..6028487515 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -1926,7 +1926,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9057,7 +9057,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -13887,7 +13887,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -27845,7 +27845,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index a4b548805a..59c07f8985 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index edf229b565..8ea3fb49b0 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index f75d25238f..8fbc824421 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index ea98bd764b..59c07f8985 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -1979,7 +1979,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 03435662b0..8ea3fb49b0 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -2009,7 +2009,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 5fb2c27cb9..8fbc824421 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -2023,7 +2023,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php index 5290131dd1..11e2596b99 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php @@ -95,7 +95,7 @@ class Create extends DocumentCreate ->param('databaseId', '', new UID(), 'Database ID.') ->param('rowId', '', new CustomId(), 'Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.') - ->param('data', [], new JSON(), 'Row data as JSON object.', true) + ->param('data', [], new JSON(), 'Row data as JSON object.', true, example: '{"username":"john.doe","email":"john.doe@example.com","fullName":"John Doe","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('rows', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') From 4cf3d0b87bb40624314defca5ba2050460e97b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 09:12:35 +0200 Subject: [PATCH 11/45] move projects.list() to module --- app/controllers/api/projects.php | 74 ------------ docs/references/projects/list.md | 1 - .../Projects/Http/DevKeys/Projects/XList.php | 110 ++++++++++++++++++ .../Modules/Projects/Services/Http.php | 3 + 4 files changed, 113 insertions(+), 75 deletions(-) delete mode 100644 docs/references/projects/list.md create mode 100644 src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 4f34156115..ea3a00dcb6 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -30,14 +30,11 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; -use Utopia\Database\Exception\Order as OrderException; -use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; use Utopia\Database\Query; use Utopia\Database\Validator\Datetime as DatetimeValidator; -use Utopia\Database\Validator\Query\Cursor; use Utopia\Database\Validator\UID; use Utopia\Domains\Validator\PublicDomain; use Utopia\DSN\DSN; @@ -304,77 +301,6 @@ App::post('/v1/projects') ->dynamic($project, Response::MODEL_PROJECT); }); -App::get('/v1/projects') - ->desc('List projects') - ->groups(['api', 'projects']) - ->label('scope', 'projects.read') - ->label('sdk', new Method( - namespace: 'projects', - group: 'projects', - name: 'list', - description: '/docs/references/projects/list.md', - auth: [AuthType::ADMIN], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_PROJECT_LIST, - ) - ] - )) - ->param('queries', [], new Projects(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) - ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) - ->inject('response') - ->inject('dbForPlatform') - ->action(function (array $queries, string $search, Response $response, Database $dbForPlatform) { - - try { - $queries = Query::parseQueries($queries); - } catch (QueryException $e) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); - } - - if (!empty($search)) { - $queries[] = Query::search('search', $search); - } - - /** - * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries - */ - $cursor = \array_filter($queries, function ($query) { - return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); - }); - $cursor = reset($cursor); - if ($cursor) { - /** @var Query $cursor */ - - $validator = new Cursor(); - if (!$validator->isValid($cursor)) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); - } - - $projectId = $cursor->getValue(); - $cursorDocument = $dbForPlatform->getDocument('projects', $projectId); - - if ($cursorDocument->isEmpty()) { - throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Project '{$projectId}' for the 'cursor' value not found."); - } - - $cursor->setValue($cursorDocument); - } - - $filterQueries = Query::groupByType($queries)['filters']; - try { - $projects = $dbForPlatform->find('projects', $queries); - $total = $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT); - } catch (OrderException $e) { - throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); - } - $response->dynamic(new Document([ - 'projects' => $projects, - 'total' => $total, - ]), Response::MODEL_PROJECT_LIST); - }); - App::get('/v1/projects/:projectId') ->desc('Get project') ->groups(['api', 'projects']) diff --git a/docs/references/projects/list.md b/docs/references/projects/list.md deleted file mode 100644 index 576a4b79ae..0000000000 --- a/docs/references/projects/list.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all projects. You can use the query params to filter your results. \ No newline at end of file diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php new file mode 100644 index 0000000000..c42b847a19 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php @@ -0,0 +1,110 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/projects') + ->desc('List projects') + ->groups(['api', 'projects']) + ->label('scope', 'projects.read') + ->label('sdk', new Method( + namespace: 'projects', + group: 'projects', + name: 'list', + description: <<param('queries', [], new Projects(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) + ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) + ->inject('response') + ->inject('dbForPlatform') + ->callback($this->action(...)); + } + + public function action(array $queries, string $search, Response $response, Database $dbForPlatform) + { + try { + $queries = Query::parseQueries($queries); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + + if (!empty($search)) { + $queries[] = Query::search('search', $search); + } + + /** + * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries + */ + $cursor = \array_filter($queries, function ($query) { + return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); + }); + $cursor = reset($cursor); + if ($cursor) { + /** @var Query $cursor */ + + $validator = new Cursor(); + if (!$validator->isValid($cursor)) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); + } + + $projectId = $cursor->getValue(); + $cursorDocument = $dbForPlatform->getDocument('projects', $projectId); + + if ($cursorDocument->isEmpty()) { + throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Project '{$projectId}' for the 'cursor' value not found."); + } + + $cursor->setValue($cursorDocument); + } + + $filterQueries = Query::groupByType($queries)['filters']; + try { + $projects = $dbForPlatform->find('projects', $queries); + $total = $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT); + } catch (Order $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } + $response->dynamic(new Document([ + 'projects' => $projects, + 'total' => $total, + ]), Response::MODEL_PROJECT_LIST); + } +} diff --git a/src/Appwrite/Platform/Modules/Projects/Services/Http.php b/src/Appwrite/Platform/Modules/Projects/Services/Http.php index cec8ed6d16..2a0dd0aa60 100644 --- a/src/Appwrite/Platform/Modules/Projects/Services/Http.php +++ b/src/Appwrite/Platform/Modules/Projects/Services/Http.php @@ -7,6 +7,7 @@ use Appwrite\Platform\Modules\Projects\Http\DevKeys\Delete as DeleteDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\Get as GetDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\Update as UpdateDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\XList as ListDevKeys; +use Appwrite\Platform\Modules\Projects\Http\Projects\XList as ListProjects; use Utopia\Platform\Service; class Http extends Service @@ -19,5 +20,7 @@ class Http extends Service $this->addAction(GetDevKey::getName(), new GetDevKey()); $this->addAction(ListDevKeys::getName(), new ListDevKeys()); $this->addAction(DeleteDevKey::getName(), new DeleteDevKey()); + + $this->addAction(ListProjects::getName(), new ListProjects()); } } From c894b0ab6a12fa6162626cf177ab68aa00cb1f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 09:25:13 +0200 Subject: [PATCH 12/45] Simplify validator override --- .../Modules/Projects/Http/DevKeys/Projects/XList.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php index c42b847a19..9a140cbdf8 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php @@ -17,6 +17,7 @@ use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; +use Utopia\Validator; use Utopia\Validator\Text; class XList extends Action @@ -26,9 +27,14 @@ class XList extends Action { return 'listProjects'; } + + // Stored as property intentionally for extensibility + protected Validator $queriesValidator; public function __construct() { + $this->queriesValidator = new Projects(); + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/projects') @@ -51,7 +57,7 @@ class XList extends Action ], contentType: ContentType::JSON )) - ->param('queries', [], new Projects(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) + ->param('queries', [], $this->queriesValidator, 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) ->inject('response') ->inject('dbForPlatform') From cc50302530226c8c586873278320c3ac22dc25f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 09:25:45 +0200 Subject: [PATCH 13/45] Formatting fix --- .../Platform/Modules/Projects/Http/DevKeys/Projects/XList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php index 9a140cbdf8..f190990e00 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php @@ -27,14 +27,14 @@ class XList extends Action { return 'listProjects'; } - + // Stored as property intentionally for extensibility protected Validator $queriesValidator; public function __construct() { $this->queriesValidator = new Projects(); - + $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/projects') From bf59f1ba7d777bc1ccbc49c09a563186c4264b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 09:30:07 +0200 Subject: [PATCH 14/45] Fix path structure --- .../Modules/Projects/Http/{DevKeys => }/Projects/XList.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/Appwrite/Platform/Modules/Projects/Http/{DevKeys => }/Projects/XList.php (100%) diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php similarity index 100% rename from src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Projects/XList.php rename to src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php From ca6cf01773b49b9ca16659ccc8b92b5b6de0a849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 10:12:07 +0200 Subject: [PATCH 15/45] Improve customization of queries validator --- .../Platform/Modules/Projects/Http/Projects/XList.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php index f190990e00..3d06103e75 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php @@ -28,13 +28,13 @@ class XList extends Action return 'listProjects'; } - // Stored as property intentionally for extensibility - protected Validator $queriesValidator; + protected function getQueriesValidator(): Validator + { + return new Projects(); + } public function __construct() { - $this->queriesValidator = new Projects(); - $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/projects') @@ -57,7 +57,7 @@ class XList extends Action ], contentType: ContentType::JSON )) - ->param('queries', [], $this->queriesValidator, 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) + ->param('queries', [], $this->getQueriesValidator(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) ->inject('response') ->inject('dbForPlatform') From b1ffdb1c229d40f5cff43585d23e076e35b6dc60 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 5 Sep 2025 14:29:17 +0530 Subject: [PATCH 16/45] chore: update cli to 9.1.0 --- app/config/platforms.php | 2 +- composer.lock | 66 +++++++++---------- .../databases/create-line-attribute.md | 5 ++ .../databases/create-point-attribute.md | 5 ++ .../databases/create-polygon-attribute.md | 5 ++ .../databases/update-line-attribute.md | 5 ++ .../databases/update-point-attribute.md | 5 ++ .../databases/update-polygon-attribute.md | 5 ++ .../examples/tablesdb/create-line-column.md | 5 ++ .../examples/tablesdb/create-point-column.md | 5 ++ .../tablesdb/create-polygon-column.md | 5 ++ .../examples/tablesdb/update-line-column.md | 5 ++ .../examples/tablesdb/update-point-column.md | 5 ++ .../tablesdb/update-polygon-column.md | 5 ++ 14 files changed, 94 insertions(+), 34 deletions(-) create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md create mode 100644 docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md diff --git a/app/config/platforms.php b/app/config/platforms.php index a67381b596..beed6c0b54 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -226,7 +226,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '9.0.2', + 'version' => '9.1.0', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, diff --git a/composer.lock b/composer.lock index bd1e62dac2..683bb58e93 100644 --- a/composer.lock +++ b/composer.lock @@ -283,25 +283,25 @@ }, { "name": "brick/math", - "version": "0.13.1", + "version": "0.14.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04" + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/fc7ed316430118cc7836bf45faff18d5dfc8de04", - "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04", + "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22", + "phpunit/phpunit": "^11.5" }, "type": "library", "autoload": { @@ -331,7 +331,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.13.1" + "source": "https://github.com/brick/math/tree/0.14.0" }, "funding": [ { @@ -339,7 +339,7 @@ "type": "github" } ], - "time": "2025-03-29T13:50:30+00:00" + "time": "2025-08-29T12:40:03+00:00" }, { "name": "chillerlan/php-qrcode", @@ -1162,16 +1162,16 @@ }, { "name": "open-telemetry/api", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/api.git", - "reference": "b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7" + "reference": "7692075f486c14d8cfd37fba98a08a5667f089e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7", - "reference": "b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7", + "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/7692075f486c14d8cfd37fba98a08a5667f089e5", + "reference": "7692075f486c14d8cfd37fba98a08a5667f089e5", "shasum": "" }, "require": { @@ -1228,7 +1228,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-06-19T23:36:51+00:00" + "time": "2025-08-07T23:07:38+00:00" }, { "name": "open-telemetry/context", @@ -1418,22 +1418,22 @@ }, { "name": "open-telemetry/sdk", - "version": "1.7.0", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "86287cf30fd6549444d7b8f7d8758d92e24086ac" + "reference": "52690d4b37ae4f091af773eef3c238ed2bc0aa06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/86287cf30fd6549444d7b8f7d8758d92e24086ac", - "reference": "86287cf30fd6549444d7b8f7d8758d92e24086ac", + "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/52690d4b37ae4f091af773eef3c238ed2bc0aa06", + "reference": "52690d4b37ae4f091af773eef3c238ed2bc0aa06", "shasum": "" }, "require": { "ext-json": "*", "nyholm/psr7-server": "^1.1", - "open-telemetry/api": "~1.4.0", + "open-telemetry/api": "^1.4", "open-telemetry/context": "^1.0", "open-telemetry/sem-conv": "^1.0", "php": "^8.1", @@ -1511,7 +1511,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-08-06T03:07:06+00:00" + "time": "2025-09-05T07:17:06+00:00" }, { "name": "open-telemetry/sem-conv", @@ -2379,20 +2379,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.0", + "version": "4.9.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0" + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -2451,9 +2451,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.0" + "source": "https://github.com/ramsey/uuid/tree/4.9.1" }, - "time": "2025-06-25T14:20:11+00:00" + "time": "2025-09-04T20:59:21+00:00" }, { "name": "spomky-labs/otphp", @@ -5007,16 +5007,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.1.16", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41" + "reference": "db229faf442a64094ebdea7d4b66f48184a7106f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/f8fbc4b1ba0e918825338f50cbdea4d887389c41", - "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/db229faf442a64094ebdea7d4b66f48184a7106f", + "reference": "db229faf442a64094ebdea7d4b66f48184a7106f", "shasum": "" }, "require": { @@ -5052,9 +5052,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.1.16" + "source": "https://github.com/appwrite/sdk-generator/tree/1.2.2" }, - "time": "2025-09-03T06:50:04+00:00" + "time": "2025-09-05T08:28:53+00:00" }, { "name": "doctrine/annotations", diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md new file mode 100644 index 0000000000..f0d81ede67 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-line-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md new file mode 100644 index 0000000000..926c7318e0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-point-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md new file mode 100644 index 0000000000..f0a00c744f --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-polygon-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md new file mode 100644 index 0000000000..37059ecef1 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-line-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md new file mode 100644 index 0000000000..bcc983a432 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-point-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md new file mode 100644 index 0000000000..6e1e1001da --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-polygon-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md new file mode 100644 index 0000000000..cd6db93ea9 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-line-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md new file mode 100644 index 0000000000..0e7d2320d1 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-point-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md new file mode 100644 index 0000000000..060323b152 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-polygon-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md new file mode 100644 index 0000000000..203ebd64db --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-line-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md new file mode 100644 index 0000000000..676a37ef49 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-point-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md new file mode 100644 index 0000000000..24e1f01f91 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-polygon-column \ + --database-id \ + --table-id \ + --key '' \ + --required false From 18445945d60a8acee9deccdee1c04fee7448e9a1 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 5 Sep 2025 15:01:05 +0530 Subject: [PATCH 17/45] switch to walter o brien --- app/config/specs/open-api3-1.8.x-client.json | 4 ++-- app/config/specs/open-api3-1.8.x-console.json | 4 ++-- app/config/specs/open-api3-1.8.x-server.json | 4 ++-- app/config/specs/open-api3-latest-client.json | 4 ++-- app/config/specs/open-api3-latest-console.json | 4 ++-- app/config/specs/open-api3-latest-server.json | 4 ++-- app/config/specs/swagger2-1.8.x-client.json | 4 ++-- app/config/specs/swagger2-1.8.x-console.json | 4 ++-- app/config/specs/swagger2-1.8.x-server.json | 4 ++-- app/config/specs/swagger2-latest-client.json | 4 ++-- app/config/specs/swagger2-latest-console.json | 4 ++-- app/config/specs/swagger2-latest-server.json | 4 ++-- .../Databases/Http/Databases/Collections/Documents/Create.php | 2 +- .../Modules/Databases/Http/TablesDB/Tables/Rows/Create.php | 2 +- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index d782408679..61543c2853 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 67eda14f0c..3f0dcc0e2d 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -9575,7 +9575,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37474,7 +37474,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 6028487515..fd039be84a 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -9057,7 +9057,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -27845,7 +27845,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index d782408679..61543c2853 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 67eda14f0c..3f0dcc0e2d 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -9575,7 +9575,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37474,7 +37474,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 6028487515..fd039be84a 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -9057,7 +9057,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -27845,7 +27845,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 59c07f8985..7982031e95 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8ea3fb49b0..53edc8c93e 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 8fbc824421..abb141ae66 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 59c07f8985..7982031e95 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 8ea3fb49b0..53edc8c93e 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 8fbc824421..abb141ae66 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{\"username\":\"john.doe\",\"email\":\"john.doe@example.com\",\"fullName\":\"John Doe\",\"age\":30,\"isAdmin\":false}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php index fe101c6eef..c03daabd4f 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php @@ -116,7 +116,7 @@ class Create extends Action ->param('databaseId', '', new UID(), 'Database ID.') ->param('documentId', '', new CustomId(), 'Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). Make sure to define attributes before creating documents.') - ->param('data', [], new JSON(), 'Document data as JSON object.', true, example: '{"username":"john.doe","email":"john.doe@example.com","fullName":"John Doe","age":30,"isAdmin":false}') + ->param('data', [], new JSON(), 'Document data as JSON object.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('documents', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php index 11e2596b99..a7aa2607e5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php @@ -95,7 +95,7 @@ class Create extends DocumentCreate ->param('databaseId', '', new UID(), 'Database ID.') ->param('rowId', '', new CustomId(), 'Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.') - ->param('data', [], new JSON(), 'Row data as JSON object.', true, example: '{"username":"john.doe","email":"john.doe@example.com","fullName":"John Doe","age":30,"isAdmin":false}') + ->param('data', [], new JSON(), 'Row data as JSON object.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('rows', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') From 4ed42d33045b0e43cd5501322c9a3f9445e4f27d Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 16:15:17 +0530 Subject: [PATCH 18/45] updated request and response model --- app/config/specs/open-api3-1.8.x-console.json | 4 +-- app/config/specs/open-api3-1.8.x-server.json | 4 +-- .../specs/open-api3-latest-console.json | 4 +-- app/config/specs/open-api3-latest-server.json | 4 +-- app/config/specs/swagger2-1.8.x-console.json | 8 ++--- app/config/specs/swagger2-1.8.x-server.json | 8 ++--- app/config/specs/swagger2-latest-console.json | 8 ++--- app/config/specs/swagger2-latest-server.json | 8 ++--- .../Collections/Attributes/Line/Create.php | 4 +-- .../Collections/Attributes/Line/Update.php | 4 +-- .../Collections/Attributes/Point/Create.php | 4 +-- .../Collections/Attributes/Point/Update.php | 4 +-- .../Collections/Attributes/Polygon/Create.php | 4 +-- .../Collections/Attributes/Polygon/Update.php | 4 +-- .../SDK/Specification/Format/OpenAPI3.php | 4 +++ .../SDK/Specification/Format/Swagger2.php | 4 +++ .../Utopia/Database/Validator/Spatial.php | 33 +++++++++++++++---- src/Appwrite/Utopia/Response/Model.php | 1 + .../Utopia/Response/Model/AttributeLine.php | 4 +++ .../Utopia/Response/Model/AttributePoint.php | 4 +++ .../Response/Model/AttributePolygon.php | 4 +++ .../Utopia/Response/Model/ColumnLine.php | 4 +++ .../Utopia/Response/Model/ColumnPoint.php | 6 +++- .../Utopia/Response/Model/ColumnPolygon.php | 4 +++ .../Databases/Legacy/DatabasesBase.php | 4 +-- .../Databases/TablesDB/DatabasesBase.php | 4 +-- 26 files changed, 95 insertions(+), 53 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index b39181e025..96ca4acd8a 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -15150,7 +15150,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -48544,7 +48544,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "[0, 0]", "nullable": true diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 22f0affafa..92e7e34afe 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -13887,7 +13887,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -37414,7 +37414,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "[0, 0]", "nullable": true diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index b39181e025..96ca4acd8a 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -15150,7 +15150,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -48544,7 +48544,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "[0, 0]", "nullable": true diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 22f0affafa..92e7e34afe 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -13887,7 +13887,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -37414,7 +37414,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "[0, 0]", "nullable": true diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 03435662b0..16efdf2bcb 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -48566,10 +48566,10 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": "[0, 0]", + "x-nullable": true } }, "required": [ diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 5fb2c27cb9..70bbf64fe0 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -37527,10 +37527,10 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": "[0, 0]", + "x-nullable": true } }, "required": [ diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 03435662b0..16efdf2bcb 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -48566,10 +48566,10 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": "[0, 0]", + "x-nullable": true } }, "required": [ diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 5fb2c27cb9..70bbf64fe0 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -37527,10 +37527,10 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": "[0, 0]", + "x-nullable": true } }, "required": [ diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index cfc46a97df..2ad905c516 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_LINESTRING, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index b1aa827091..af6f6ca113 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index 4cc520f34e..64de63a8bb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_POINT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index 222da133b2..efc6657c49 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 99ef5fda88..0fd6d13560 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_POLYGON, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index 0b056a26fb..90c8996f60 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 4a492e4c00..f4487db829 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -666,6 +666,10 @@ class OpenAPI3 extends Format $type = 'string'; break; + case 'array': + $type = 'array'; + break; + case 'json': $type = 'object'; $output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 313d46be8f..d3505f3129 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -674,6 +674,10 @@ class Swagger2 extends Format $type = 'string'; break; + case 'array': + $type = 'array'; + break; + case 'json': $type = 'object'; break; diff --git a/src/Appwrite/Utopia/Database/Validator/Spatial.php b/src/Appwrite/Utopia/Database/Validator/Spatial.php index 65ba9b83b8..5d99868a58 100644 --- a/src/Appwrite/Utopia/Database/Validator/Spatial.php +++ b/src/Appwrite/Utopia/Database/Validator/Spatial.php @@ -3,9 +3,9 @@ namespace Appwrite\Utopia\Database\Validator; use Utopia\Database\Validator\Spatial as SpatialValidator; -use Utopia\Validator\JSON; +use Utopia\Validator; -class Spatial extends JSON +class Spatial extends Validator { private string $spatialAttributeType; @@ -21,6 +21,31 @@ class Spatial extends JSON { $this->spatialAttributeType = $spatialAttributeType; } + + /** + * Is array + * + * Function will return true if object is array. + * + * @return bool + */ + public function isArray(): bool + { + return false; + } + + /** + * Get Type + * + * Returns validator type + * + * @return string + */ + public function getType(): string + { + return self::TYPE_ARRAY; + } + /** * Is valid. * @@ -32,10 +57,6 @@ class Spatial extends JSON */ public function isValid($value): bool { - if (!parent::isValid($value)) { - return false; - } - $value = \json_decode($value, true); $validator = new SpatialValidator($this->spatialAttributeType); return $validator->isValid($value); } diff --git a/src/Appwrite/Utopia/Response/Model.php b/src/Appwrite/Utopia/Response/Model.php index 80c2c4d620..04468521b6 100644 --- a/src/Appwrite/Utopia/Response/Model.php +++ b/src/Appwrite/Utopia/Response/Model.php @@ -15,6 +15,7 @@ abstract class Model public const TYPE_DATETIME_EXAMPLE = '2020-10-15T06:38:00.000+00:00'; public const TYPE_RELATIONSHIP = 'relationship'; public const TYPE_PAYLOAD = 'payload'; + public const TYPE_ARRAY = 'array'; /** * @var bool diff --git a/src/Appwrite/Utopia/Response/Model/AttributeLine.php b/src/Appwrite/Utopia/Response/Model/AttributeLine.php index d5eab30ca6..0097025850 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeLine.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeLine.php @@ -21,6 +21,10 @@ class AttributeLine extends Attribute ; } + public array $conditions = [ + 'type' => 'linestring', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePoint.php b/src/Appwrite/Utopia/Response/Model/AttributePoint.php index e44ecf96d0..33355267d7 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePoint.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePoint.php @@ -21,6 +21,10 @@ class AttributePoint extends Attribute ; } + public array $conditions = [ + 'type' => 'point', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php index 32708f6470..5804502af5 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php @@ -21,6 +21,10 @@ class AttributePolygon extends Attribute ; } + public array $conditions = [ + 'type' => 'polygon', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnLine.php b/src/Appwrite/Utopia/Response/Model/ColumnLine.php index 951e787086..ea77c24e6b 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnLine.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnLine.php @@ -21,6 +21,10 @@ class ColumnLine extends Column ; } + public array $conditions = [ + 'type' => 'linestring', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php index 2e548976aa..b3e70f9888 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php @@ -12,7 +12,7 @@ class ColumnPoint extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, @@ -21,6 +21,10 @@ class ColumnPoint extends Column ; } + public array $conditions = [ + 'type' => 'point', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php index 1efcd1199e..77460f63cc 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php @@ -21,6 +21,10 @@ class ColumnPolygon extends Column ; } + public array $conditions = [ + 'type' => 'polygon', + ]; + /** * Get Name * diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index e461ae6621..32413ddfd0 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -6537,7 +6537,7 @@ trait DatabasesBase 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ 'required' => false, - 'default' => json_encode([[0, 0], [1, 1]]), + 'default' => [[0, 0], [1, 1]], ]); $this->assertEquals(200, $response['headers']['status-code']); @@ -6564,7 +6564,7 @@ trait DatabasesBase 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ - 'default' => json_encode([0, 0]), + 'default' => [0, 0], 'required' => false ]); diff --git a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php index ada7a73301..25595ac068 100644 --- a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php +++ b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php @@ -8254,7 +8254,7 @@ trait DatabasesBase 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ 'required' => false, - 'default' => json_encode([[0, 0], [1, 1]]), + 'default' => [[0, 0], [1, 1]], ]); $this->assertEquals(200, $response['headers']['status-code']); @@ -8281,7 +8281,7 @@ trait DatabasesBase 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ - 'default' => json_encode([0, 0]), + 'default' => [0, 0], 'required' => false ]); $this->assertEquals(200, $response['headers']['status-code']); From 7a9faf524392a584c1e771ae4f307f200542b427 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 16:19:59 +0530 Subject: [PATCH 19/45] changed json to array --- src/Appwrite/Utopia/Response/Model/AttributeLine.php | 4 ++-- src/Appwrite/Utopia/Response/Model/AttributePoint.php | 4 ++-- src/Appwrite/Utopia/Response/Model/AttributePolygon.php | 4 ++-- src/Appwrite/Utopia/Response/Model/ColumnLine.php | 4 ++-- src/Appwrite/Utopia/Response/Model/ColumnPoint.php | 2 +- src/Appwrite/Utopia/Response/Model/ColumnPolygon.php | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Appwrite/Utopia/Response/Model/AttributeLine.php b/src/Appwrite/Utopia/Response/Model/AttributeLine.php index 0097025850..4f8ed60e89 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeLine.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeLine.php @@ -12,11 +12,11 @@ class AttributeLine extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[[0, 0], [1, 1]]' + 'example' => [[0, 0], [1, 1]] ]) ; } diff --git a/src/Appwrite/Utopia/Response/Model/AttributePoint.php b/src/Appwrite/Utopia/Response/Model/AttributePoint.php index 33355267d7..19f7056b41 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePoint.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePoint.php @@ -12,11 +12,11 @@ class AttributePoint extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[0, 0]' + 'example' => [0, 0] ]) ; } diff --git a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php index 5804502af5..13caa19ccf 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php @@ -12,11 +12,11 @@ class AttributePolygon extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]' + 'example' => [[[0, 0], [0, 10]], [[10, 10], [0, 0]]] ]) ; } diff --git a/src/Appwrite/Utopia/Response/Model/ColumnLine.php b/src/Appwrite/Utopia/Response/Model/ColumnLine.php index ea77c24e6b..e46741d0f3 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnLine.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnLine.php @@ -12,11 +12,11 @@ class ColumnLine extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[[0, 0], [1, 1]]' + 'example' => [[0, 0], [1, 1]] ]) ; } diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php index b3e70f9888..ccc68b283b 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php @@ -16,7 +16,7 @@ class ColumnPoint extends Column 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[0, 0]' + 'example' => [0, 0] ]) ; } diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php index 77460f63cc..811b51fdc1 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php @@ -12,11 +12,11 @@ class ColumnPolygon extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]' + 'example' => [[[0, 0], [0, 10]], [[10, 10], [0, 0]]] ]) ; } From 22e83d227f069e473069137ade46ad7ff7d9b6a4 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 16:22:51 +0530 Subject: [PATCH 20/45] updated specs --- app/config/specs/open-api3-1.8.x-client.json | 82 +- app/config/specs/open-api3-1.8.x-console.json | 818 +++++++++-------- app/config/specs/open-api3-1.8.x-server.json | 614 ++++++++----- app/config/specs/open-api3-latest-client.json | 82 +- .../specs/open-api3-latest-console.json | 818 +++++++++-------- app/config/specs/open-api3-latest-server.json | 614 ++++++++----- app/config/specs/swagger2-1.8.x-client.json | 82 +- app/config/specs/swagger2-1.8.x-console.json | 828 ++++++++++-------- app/config/specs/swagger2-1.8.x-server.json | 624 +++++++------ app/config/specs/swagger2-latest-client.json | 82 +- app/config/specs/swagger2-latest-console.json | 828 ++++++++++-------- app/config/specs/swagger2-latest-server.json | 624 +++++++------ 12 files changed, 3576 insertions(+), 2520 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index 61543c2853..81530d8ecd 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -4830,7 +4830,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -4919,7 +4919,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5069,7 +5069,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5168,7 +5168,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5316,7 +5316,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5419,7 +5419,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5507,7 +5507,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5626,7 +5626,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6010,7 +6010,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6062,7 +6062,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6530,7 +6530,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6613,7 +6613,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6688,7 +6688,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6774,7 +6774,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6872,7 +6872,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -6944,7 +6944,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7033,7 +7033,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7100,7 +7100,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7178,7 +7178,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7406,7 +7406,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7491,7 +7491,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7579,7 +7579,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7724,7 +7724,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7822,7 +7822,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -7961,7 +7961,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8063,7 +8063,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8150,7 +8150,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8268,7 +8268,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8386,7 +8386,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8462,7 +8462,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8547,7 +8547,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8609,7 +8609,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8683,7 +8683,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8747,7 +8747,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8833,7 +8833,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8944,7 +8944,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9016,7 +9016,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9103,7 +9103,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9177,7 +9177,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9275,7 +9275,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9336,7 +9336,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 20d91cfe2d..6b9101b8c4 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -4828,7 +4828,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -4963,7 +4963,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5011,7 +5011,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5115,7 +5115,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5229,7 +5229,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5331,7 +5331,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5422,7 +5422,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5533,7 +5533,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5625,7 +5625,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5712,7 +5712,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5820,7 +5820,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5893,7 +5893,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5996,7 +5996,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6071,7 +6071,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6159,7 +6159,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6269,7 +6269,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6384,7 +6384,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6494,7 +6494,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6609,7 +6609,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6719,7 +6719,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6834,7 +6834,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6953,7 +6953,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7077,7 +7077,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7197,7 +7197,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7322,7 +7322,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7442,7 +7442,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7567,7 +7567,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7677,7 +7677,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7792,7 +7792,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7898,7 +7898,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8012,7 +8012,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8118,7 +8118,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8232,7 +8232,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8338,7 +8338,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8452,7 +8452,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8587,7 +8587,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8708,7 +8708,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8828,7 +8828,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8938,7 +8938,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9084,7 +9084,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9159,7 +9159,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9243,7 +9243,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9355,7 +9355,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9444,7 +9444,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9622,7 +9622,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9750,7 +9750,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9848,7 +9848,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9943,7 +9943,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10042,7 +10042,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10190,7 +10190,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10293,7 +10293,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10381,7 +10381,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10478,7 +10478,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10597,7 +10597,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10716,7 +10716,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10802,7 +10802,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10935,7 +10935,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11010,7 +11010,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11094,7 +11094,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11181,7 +11181,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11277,7 +11277,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11383,7 +11383,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14106,7 +14106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14158,7 +14158,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15921,7 +15921,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -15997,7 +15997,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16141,7 +16141,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16287,7 +16287,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16461,7 +16461,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16639,7 +16639,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16816,7 +16816,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -16994,7 +16994,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17047,7 +17047,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17109,7 +17109,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17184,7 +17184,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17259,7 +17259,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17335,7 +17335,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17510,7 +17510,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17686,7 +17686,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17833,7 +17833,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -17981,7 +17981,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18096,7 +18096,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18214,7 +18214,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18309,7 +18309,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18407,7 +18407,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18512,7 +18512,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18620,7 +18620,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -18847,7 +18847,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19072,7 +19072,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19167,7 +19167,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19265,7 +19265,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19360,7 +19360,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19458,7 +19458,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19553,7 +19553,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19651,7 +19651,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19746,7 +19746,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -19844,7 +19844,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -19897,7 +19897,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19959,7 +19959,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20034,7 +20034,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20109,7 +20109,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20183,7 +20183,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20266,7 +20266,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20326,7 +20326,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20403,7 +20403,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20465,7 +20465,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20540,7 +20540,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20714,7 +20714,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20777,7 +20777,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -20852,7 +20852,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -20926,7 +20926,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21014,7 +21014,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21107,7 +21107,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21191,7 +21191,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21267,7 +21267,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21339,7 +21339,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21450,7 +21450,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21583,7 +21583,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21688,7 +21688,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -21812,7 +21812,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -21870,7 +21870,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -21921,7 +21921,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -21981,7 +21981,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22115,7 +22115,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22193,7 +22193,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22251,7 +22251,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22331,7 +22331,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22391,11 +22391,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22597,7 +22597,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22655,7 +22655,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22770,7 +22770,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -22830,7 +22830,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -22984,7 +22984,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23121,7 +23121,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23200,7 +23200,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23279,7 +23279,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23358,7 +23358,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23449,7 +23449,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23531,7 +23531,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23610,7 +23610,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23689,7 +23689,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23768,7 +23768,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -23847,7 +23847,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -23926,7 +23926,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24026,7 +24026,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24094,7 +24094,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24179,7 +24179,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24247,7 +24247,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24333,7 +24333,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24403,7 +24403,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24490,7 +24490,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24548,7 +24548,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24641,7 +24641,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24709,7 +24709,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -24803,7 +24803,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -24873,7 +24873,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25011,7 +25011,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25069,7 +25069,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25188,7 +25188,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25256,7 +25256,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25351,7 +25351,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25421,7 +25421,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25523,7 +25523,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25602,7 +25602,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -25794,7 +25794,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26003,7 +26003,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26082,7 +26082,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26306,7 +26306,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26570,7 +26570,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26796,7 +26796,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27079,7 +27079,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27385,7 +27385,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27670,7 +27670,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27728,7 +27728,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -27843,7 +27843,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -27911,7 +27911,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28027,7 +28027,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28097,7 +28097,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28167,7 +28167,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28577,7 +28577,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28628,7 +28628,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28688,7 +28688,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31262,7 +31262,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31335,7 +31335,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31462,7 +31462,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31521,7 +31521,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31645,7 +31645,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31706,7 +31706,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -31792,7 +31792,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -31890,7 +31890,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -31962,7 +31962,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32051,7 +32051,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32118,7 +32118,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32424,7 +32424,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32509,7 +32509,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32581,7 +32581,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32663,7 +32663,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32736,7 +32736,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32815,7 +32815,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -32912,7 +32912,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -32971,7 +32971,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33047,7 +33047,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33108,7 +33108,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33194,7 +33194,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33301,7 +33301,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33373,7 +33373,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33475,7 +33475,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33549,7 +33549,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33636,7 +33636,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33745,7 +33745,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -33859,7 +33859,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -33968,7 +33968,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34082,7 +34082,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34191,7 +34191,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34305,7 +34305,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34423,7 +34423,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34546,7 +34546,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34665,7 +34665,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34789,7 +34789,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -34908,7 +34908,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35032,7 +35032,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35141,7 +35141,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35255,7 +35255,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35360,7 +35360,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35473,7 +35473,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35578,7 +35578,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35691,7 +35691,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35796,7 +35796,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -35909,7 +35909,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36043,7 +36043,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36163,7 +36163,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36282,7 +36282,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36391,7 +36391,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36536,7 +36536,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36610,7 +36610,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36693,7 +36693,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36804,7 +36804,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -36889,7 +36889,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37021,7 +37021,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37095,7 +37095,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37178,7 +37178,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37264,7 +37264,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37352,7 +37352,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37521,7 +37521,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37644,7 +37644,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37741,7 +37741,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37835,7 +37835,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -37933,7 +37933,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38072,7 +38072,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38174,7 +38174,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38261,7 +38261,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38357,7 +38357,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38475,7 +38475,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38593,7 +38593,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38688,7 +38688,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38798,7 +38798,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38874,7 +38874,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -38959,7 +38959,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39021,7 +39021,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39095,7 +39095,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39159,7 +39159,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39232,7 +39232,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39318,7 +39318,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39429,7 +39429,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39501,7 +39501,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39588,7 +39588,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39662,7 +39662,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39759,7 +39759,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39819,7 +39819,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40261,7 +40261,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40334,7 +40334,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40422,7 +40422,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40507,7 +40507,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40592,7 +40592,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40660,7 +40660,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40721,7 +40721,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40806,7 +40806,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40891,7 +40891,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41006,7 +41006,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41109,7 +41109,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41214,7 +41214,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41286,7 +41286,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41338,7 +41338,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41399,7 +41399,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41479,7 +41479,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41561,7 +41561,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41644,7 +41644,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41718,7 +41718,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41803,7 +41803,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41934,7 +41934,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42066,7 +42066,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42181,7 +42181,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42294,7 +42294,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42407,7 +42407,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42522,7 +42522,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42602,7 +42602,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42682,7 +42682,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42762,7 +42762,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42821,7 +42821,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42901,7 +42901,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -42960,7 +42960,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43012,7 +43012,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43066,7 +43066,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43137,7 +43137,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43217,7 +43217,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43290,7 +43290,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43400,7 +43400,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43470,7 +43470,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43559,7 +43559,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43631,7 +43631,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43713,7 +43713,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43793,7 +43793,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43873,7 +43873,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -43969,7 +43969,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44054,7 +44054,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44139,7 +44139,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44209,7 +44209,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44279,7 +44279,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44364,7 +44364,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44453,7 +44453,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44527,7 +44527,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44578,7 +44578,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47265,9 +47265,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -47289,7 +47292,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47338,9 +47344,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -47362,7 +47377,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47411,9 +47435,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -47435,7 +47480,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48546,7 +48612,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -48568,7 +48637,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48617,9 +48689,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -48641,7 +48722,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48690,9 +48780,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -48714,7 +48825,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 092891015e..b46509386d 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -4545,7 +4545,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4651,7 +4651,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4767,7 +4767,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -4860,7 +4860,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -4973,7 +4973,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5067,7 +5067,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5155,7 +5155,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5264,7 +5264,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5338,7 +5338,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5442,7 +5442,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5518,7 +5518,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5607,7 +5607,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5718,7 +5718,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5834,7 +5834,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -5945,7 +5945,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6061,7 +6061,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6172,7 +6172,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6288,7 +6288,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6408,7 +6408,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6533,7 +6533,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6654,7 +6654,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6780,7 +6780,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -6901,7 +6901,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7027,7 +7027,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7138,7 +7138,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7254,7 +7254,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7361,7 +7361,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7476,7 +7476,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7583,7 +7583,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7698,7 +7698,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7805,7 +7805,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7920,7 +7920,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8056,7 +8056,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8178,7 +8178,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8299,7 +8299,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8410,7 +8410,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8557,7 +8557,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8633,7 +8633,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8718,7 +8718,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8831,7 +8831,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -8922,7 +8922,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9104,7 +9104,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9234,7 +9234,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9333,7 +9333,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9429,7 +9429,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9530,7 +9530,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9681,7 +9681,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9786,7 +9786,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9876,7 +9876,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -9997,7 +9997,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10118,7 +10118,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10205,7 +10205,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10339,7 +10339,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10415,7 +10415,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12823,7 +12823,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12877,7 +12877,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14680,7 +14680,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14757,7 +14757,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14902,7 +14902,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15049,7 +15049,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15224,7 +15224,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15403,7 +15403,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15583,7 +15583,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15764,7 +15764,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15818,7 +15818,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -15881,7 +15881,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -15957,7 +15957,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16033,7 +16033,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16110,7 +16110,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16288,7 +16288,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16467,7 +16467,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16617,7 +16617,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16768,7 +16768,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -16884,7 +16884,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17003,7 +17003,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17099,7 +17099,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17198,7 +17198,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17304,7 +17304,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17413,7 +17413,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17643,7 +17643,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -17871,7 +17871,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -17967,7 +17967,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18066,7 +18066,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18162,7 +18162,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18261,7 +18261,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18357,7 +18357,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18456,7 +18456,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18552,7 +18552,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18651,7 +18651,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18705,7 +18705,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -18768,7 +18768,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -18844,7 +18844,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -18920,7 +18920,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -18995,7 +18995,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19079,7 +19079,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19140,7 +19140,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19218,7 +19218,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19281,7 +19281,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19357,7 +19357,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19442,7 +19442,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19534,7 +19534,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19598,7 +19598,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -21974,7 +21974,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22102,7 +22102,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22162,7 +22162,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22287,7 +22287,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22349,7 +22349,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22437,7 +22437,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22537,7 +22537,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22611,7 +22611,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22702,7 +22702,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -22771,7 +22771,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -22851,7 +22851,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23081,7 +23081,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23168,7 +23168,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23242,7 +23242,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23322,7 +23322,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23382,7 +23382,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23459,7 +23459,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23521,7 +23521,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23608,7 +23608,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23716,7 +23716,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -23789,7 +23789,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -23892,7 +23892,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -23967,7 +23967,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24055,7 +24055,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24165,7 +24165,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24280,7 +24280,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24390,7 +24390,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24505,7 +24505,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24615,7 +24615,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24730,7 +24730,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -24849,7 +24849,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -24973,7 +24973,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25093,7 +25093,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25218,7 +25218,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25338,7 +25338,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25463,7 +25463,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25573,7 +25573,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25688,7 +25688,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25794,7 +25794,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -25908,7 +25908,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26014,7 +26014,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26128,7 +26128,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26234,7 +26234,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26348,7 +26348,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26483,7 +26483,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26604,7 +26604,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26724,7 +26724,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -26834,7 +26834,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -26980,7 +26980,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27055,7 +27055,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27139,7 +27139,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27251,7 +27251,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27337,7 +27337,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27470,7 +27470,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27545,7 +27545,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27629,7 +27629,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27719,7 +27719,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -27892,7 +27892,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28017,7 +28017,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28115,7 +28115,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28210,7 +28210,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28310,7 +28310,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28452,7 +28452,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28556,7 +28556,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28645,7 +28645,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28765,7 +28765,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -28885,7 +28885,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -28963,7 +28963,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29050,7 +29050,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29114,7 +29114,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29190,7 +29190,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29256,7 +29256,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29344,7 +29344,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29457,7 +29457,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29531,7 +29531,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29620,7 +29620,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29696,7 +29696,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29795,7 +29795,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29857,7 +29857,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30306,7 +30306,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30380,7 +30380,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30555,7 +30555,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30641,7 +30641,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30710,7 +30710,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30772,7 +30772,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30858,7 +30858,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -30944,7 +30944,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31060,7 +31060,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31164,7 +31164,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31270,7 +31270,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31323,7 +31323,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31385,7 +31385,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31549,7 +31549,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31633,7 +31633,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31708,7 +31708,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31794,7 +31794,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -31928,7 +31928,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32063,7 +32063,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32181,7 +32181,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32297,7 +32297,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32413,7 +32413,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32531,7 +32531,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32612,7 +32612,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32693,7 +32693,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32774,7 +32774,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32834,7 +32834,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -32915,7 +32915,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -32975,7 +32975,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33028,7 +33028,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33083,7 +33083,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33155,7 +33155,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33236,7 +33236,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33310,7 +33310,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33421,7 +33421,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33492,7 +33492,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33582,7 +33582,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33655,7 +33655,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33738,7 +33738,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33819,7 +33819,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36135,9 +36135,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -36159,7 +36162,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36208,9 +36214,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -36232,7 +36247,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36281,9 +36305,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -36305,7 +36350,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37416,7 +37482,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -37438,7 +37507,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37487,9 +37559,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -37511,7 +37592,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37560,9 +37650,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -37584,7 +37695,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 61543c2853..81530d8ecd 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -4830,7 +4830,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -4919,7 +4919,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5069,7 +5069,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5168,7 +5168,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5316,7 +5316,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5419,7 +5419,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5507,7 +5507,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5626,7 +5626,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6010,7 +6010,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6062,7 +6062,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6530,7 +6530,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6613,7 +6613,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6688,7 +6688,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6774,7 +6774,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6872,7 +6872,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -6944,7 +6944,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7033,7 +7033,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7100,7 +7100,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7178,7 +7178,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7406,7 +7406,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7491,7 +7491,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7579,7 +7579,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7724,7 +7724,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7822,7 +7822,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -7961,7 +7961,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8063,7 +8063,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8150,7 +8150,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8268,7 +8268,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8386,7 +8386,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8462,7 +8462,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8547,7 +8547,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8609,7 +8609,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8683,7 +8683,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8747,7 +8747,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8833,7 +8833,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8944,7 +8944,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9016,7 +9016,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9103,7 +9103,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9177,7 +9177,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9275,7 +9275,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9336,7 +9336,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 20d91cfe2d..6b9101b8c4 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -4828,7 +4828,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -4963,7 +4963,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5011,7 +5011,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5115,7 +5115,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5229,7 +5229,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5331,7 +5331,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5422,7 +5422,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5533,7 +5533,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5625,7 +5625,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5712,7 +5712,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5820,7 +5820,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5893,7 +5893,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5996,7 +5996,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6071,7 +6071,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6159,7 +6159,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6269,7 +6269,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6384,7 +6384,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6494,7 +6494,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6609,7 +6609,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6719,7 +6719,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6834,7 +6834,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6953,7 +6953,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7077,7 +7077,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7197,7 +7197,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7322,7 +7322,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7442,7 +7442,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7567,7 +7567,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7677,7 +7677,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7792,7 +7792,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7898,7 +7898,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8012,7 +8012,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8118,7 +8118,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8232,7 +8232,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8338,7 +8338,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8452,7 +8452,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8587,7 +8587,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8708,7 +8708,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8828,7 +8828,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8938,7 +8938,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9084,7 +9084,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9159,7 +9159,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9243,7 +9243,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9355,7 +9355,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9444,7 +9444,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9622,7 +9622,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9750,7 +9750,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9848,7 +9848,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9943,7 +9943,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10042,7 +10042,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10190,7 +10190,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10293,7 +10293,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10381,7 +10381,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10478,7 +10478,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10597,7 +10597,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10716,7 +10716,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10802,7 +10802,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10935,7 +10935,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11010,7 +11010,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11094,7 +11094,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11181,7 +11181,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11277,7 +11277,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11383,7 +11383,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14106,7 +14106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14158,7 +14158,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15921,7 +15921,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -15997,7 +15997,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16141,7 +16141,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16287,7 +16287,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16461,7 +16461,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16639,7 +16639,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16816,7 +16816,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -16994,7 +16994,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17047,7 +17047,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17109,7 +17109,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17184,7 +17184,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17259,7 +17259,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17335,7 +17335,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17510,7 +17510,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17686,7 +17686,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17833,7 +17833,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -17981,7 +17981,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18096,7 +18096,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18214,7 +18214,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18309,7 +18309,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18407,7 +18407,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18512,7 +18512,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18620,7 +18620,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -18847,7 +18847,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19072,7 +19072,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19167,7 +19167,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19265,7 +19265,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19360,7 +19360,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19458,7 +19458,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19553,7 +19553,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19651,7 +19651,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19746,7 +19746,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -19844,7 +19844,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -19897,7 +19897,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19959,7 +19959,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20034,7 +20034,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20109,7 +20109,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20183,7 +20183,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20266,7 +20266,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20326,7 +20326,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20403,7 +20403,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20465,7 +20465,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20540,7 +20540,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20714,7 +20714,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20777,7 +20777,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -20852,7 +20852,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -20926,7 +20926,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21014,7 +21014,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21107,7 +21107,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21191,7 +21191,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21267,7 +21267,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21339,7 +21339,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21450,7 +21450,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21583,7 +21583,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21688,7 +21688,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -21812,7 +21812,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -21870,7 +21870,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -21921,7 +21921,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -21981,7 +21981,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22115,7 +22115,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22193,7 +22193,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22251,7 +22251,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22331,7 +22331,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22391,11 +22391,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22597,7 +22597,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22655,7 +22655,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22770,7 +22770,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -22830,7 +22830,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -22984,7 +22984,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23121,7 +23121,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23200,7 +23200,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23279,7 +23279,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23358,7 +23358,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23449,7 +23449,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23531,7 +23531,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23610,7 +23610,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23689,7 +23689,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23768,7 +23768,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -23847,7 +23847,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -23926,7 +23926,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24026,7 +24026,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24094,7 +24094,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24179,7 +24179,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24247,7 +24247,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24333,7 +24333,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24403,7 +24403,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24490,7 +24490,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24548,7 +24548,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24641,7 +24641,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24709,7 +24709,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -24803,7 +24803,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -24873,7 +24873,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25011,7 +25011,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25069,7 +25069,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25188,7 +25188,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25256,7 +25256,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25351,7 +25351,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25421,7 +25421,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25523,7 +25523,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25602,7 +25602,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -25794,7 +25794,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26003,7 +26003,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26082,7 +26082,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26306,7 +26306,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26570,7 +26570,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26796,7 +26796,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27079,7 +27079,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27385,7 +27385,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27670,7 +27670,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27728,7 +27728,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -27843,7 +27843,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -27911,7 +27911,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28027,7 +28027,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28097,7 +28097,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28167,7 +28167,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28577,7 +28577,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28628,7 +28628,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28688,7 +28688,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31262,7 +31262,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31335,7 +31335,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31462,7 +31462,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31521,7 +31521,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31645,7 +31645,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31706,7 +31706,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -31792,7 +31792,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -31890,7 +31890,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -31962,7 +31962,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32051,7 +32051,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32118,7 +32118,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32424,7 +32424,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32509,7 +32509,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32581,7 +32581,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32663,7 +32663,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32736,7 +32736,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32815,7 +32815,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -32912,7 +32912,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -32971,7 +32971,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33047,7 +33047,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33108,7 +33108,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33194,7 +33194,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33301,7 +33301,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33373,7 +33373,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33475,7 +33475,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33549,7 +33549,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33636,7 +33636,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33745,7 +33745,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -33859,7 +33859,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -33968,7 +33968,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34082,7 +34082,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34191,7 +34191,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34305,7 +34305,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34423,7 +34423,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34546,7 +34546,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34665,7 +34665,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34789,7 +34789,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -34908,7 +34908,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35032,7 +35032,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35141,7 +35141,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35255,7 +35255,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35360,7 +35360,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35473,7 +35473,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35578,7 +35578,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35691,7 +35691,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35796,7 +35796,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -35909,7 +35909,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36043,7 +36043,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36163,7 +36163,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36282,7 +36282,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36391,7 +36391,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36536,7 +36536,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36610,7 +36610,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36693,7 +36693,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36804,7 +36804,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -36889,7 +36889,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37021,7 +37021,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37095,7 +37095,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37178,7 +37178,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37264,7 +37264,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37352,7 +37352,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37521,7 +37521,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37644,7 +37644,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37741,7 +37741,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37835,7 +37835,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -37933,7 +37933,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38072,7 +38072,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38174,7 +38174,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38261,7 +38261,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38357,7 +38357,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38475,7 +38475,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38593,7 +38593,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38688,7 +38688,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38798,7 +38798,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38874,7 +38874,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -38959,7 +38959,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39021,7 +39021,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39095,7 +39095,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39159,7 +39159,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39232,7 +39232,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39318,7 +39318,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39429,7 +39429,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39501,7 +39501,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39588,7 +39588,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39662,7 +39662,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39759,7 +39759,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39819,7 +39819,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40261,7 +40261,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40334,7 +40334,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40422,7 +40422,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40507,7 +40507,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40592,7 +40592,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40660,7 +40660,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40721,7 +40721,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40806,7 +40806,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40891,7 +40891,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41006,7 +41006,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41109,7 +41109,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41214,7 +41214,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41286,7 +41286,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41338,7 +41338,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41399,7 +41399,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41479,7 +41479,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41561,7 +41561,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41644,7 +41644,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41718,7 +41718,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41803,7 +41803,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41934,7 +41934,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42066,7 +42066,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42181,7 +42181,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42294,7 +42294,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42407,7 +42407,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42522,7 +42522,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42602,7 +42602,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42682,7 +42682,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42762,7 +42762,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42821,7 +42821,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42901,7 +42901,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -42960,7 +42960,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43012,7 +43012,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43066,7 +43066,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43137,7 +43137,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43217,7 +43217,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43290,7 +43290,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43400,7 +43400,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43470,7 +43470,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43559,7 +43559,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43631,7 +43631,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43713,7 +43713,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43793,7 +43793,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43873,7 +43873,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -43969,7 +43969,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44054,7 +44054,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44139,7 +44139,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44209,7 +44209,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44279,7 +44279,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44364,7 +44364,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44453,7 +44453,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44527,7 +44527,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44578,7 +44578,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47265,9 +47265,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -47289,7 +47292,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47338,9 +47344,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -47362,7 +47377,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47411,9 +47435,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -47435,7 +47480,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48546,7 +48612,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -48568,7 +48637,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48617,9 +48689,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -48641,7 +48722,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48690,9 +48780,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -48714,7 +48825,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 092891015e..b46509386d 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -4545,7 +4545,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4651,7 +4651,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4767,7 +4767,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -4860,7 +4860,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -4973,7 +4973,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5067,7 +5067,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5155,7 +5155,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5264,7 +5264,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5338,7 +5338,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5442,7 +5442,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5518,7 +5518,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5607,7 +5607,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5718,7 +5718,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5834,7 +5834,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -5945,7 +5945,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6061,7 +6061,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6172,7 +6172,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6288,7 +6288,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6408,7 +6408,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6533,7 +6533,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6654,7 +6654,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6780,7 +6780,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -6901,7 +6901,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7027,7 +7027,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7138,7 +7138,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7254,7 +7254,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7361,7 +7361,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7476,7 +7476,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7583,7 +7583,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7698,7 +7698,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7805,7 +7805,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7920,7 +7920,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8056,7 +8056,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8178,7 +8178,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8299,7 +8299,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8410,7 +8410,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8557,7 +8557,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8633,7 +8633,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8718,7 +8718,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8831,7 +8831,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -8922,7 +8922,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9104,7 +9104,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9234,7 +9234,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9333,7 +9333,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9429,7 +9429,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9530,7 +9530,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9681,7 +9681,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9786,7 +9786,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9876,7 +9876,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -9997,7 +9997,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10118,7 +10118,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10205,7 +10205,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10339,7 +10339,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10415,7 +10415,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12823,7 +12823,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12877,7 +12877,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14680,7 +14680,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14757,7 +14757,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14902,7 +14902,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15049,7 +15049,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15224,7 +15224,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15403,7 +15403,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15583,7 +15583,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15764,7 +15764,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15818,7 +15818,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -15881,7 +15881,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -15957,7 +15957,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16033,7 +16033,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16110,7 +16110,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16288,7 +16288,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16467,7 +16467,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16617,7 +16617,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16768,7 +16768,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -16884,7 +16884,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17003,7 +17003,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17099,7 +17099,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17198,7 +17198,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17304,7 +17304,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17413,7 +17413,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17643,7 +17643,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -17871,7 +17871,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -17967,7 +17967,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18066,7 +18066,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18162,7 +18162,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18261,7 +18261,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18357,7 +18357,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18456,7 +18456,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18552,7 +18552,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18651,7 +18651,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18705,7 +18705,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -18768,7 +18768,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -18844,7 +18844,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -18920,7 +18920,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -18995,7 +18995,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19079,7 +19079,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19140,7 +19140,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19218,7 +19218,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19281,7 +19281,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19357,7 +19357,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19442,7 +19442,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19534,7 +19534,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19598,7 +19598,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -21974,7 +21974,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22102,7 +22102,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22162,7 +22162,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22287,7 +22287,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22349,7 +22349,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22437,7 +22437,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22537,7 +22537,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22611,7 +22611,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22702,7 +22702,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -22771,7 +22771,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -22851,7 +22851,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23081,7 +23081,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23168,7 +23168,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23242,7 +23242,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23322,7 +23322,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23382,7 +23382,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23459,7 +23459,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23521,7 +23521,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23608,7 +23608,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23716,7 +23716,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -23789,7 +23789,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -23892,7 +23892,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -23967,7 +23967,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24055,7 +24055,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24165,7 +24165,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24280,7 +24280,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24390,7 +24390,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24505,7 +24505,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24615,7 +24615,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24730,7 +24730,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -24849,7 +24849,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -24973,7 +24973,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25093,7 +25093,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25218,7 +25218,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25338,7 +25338,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25463,7 +25463,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25573,7 +25573,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25688,7 +25688,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25794,7 +25794,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -25908,7 +25908,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26014,7 +26014,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26128,7 +26128,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26234,7 +26234,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26348,7 +26348,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26483,7 +26483,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26604,7 +26604,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26724,7 +26724,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -26834,7 +26834,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -26980,7 +26980,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27055,7 +27055,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27139,7 +27139,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27251,7 +27251,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27337,7 +27337,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27470,7 +27470,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27545,7 +27545,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27629,7 +27629,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27719,7 +27719,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -27892,7 +27892,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28017,7 +28017,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28115,7 +28115,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28210,7 +28210,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28310,7 +28310,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28452,7 +28452,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28556,7 +28556,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28645,7 +28645,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28765,7 +28765,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -28885,7 +28885,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -28963,7 +28963,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29050,7 +29050,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29114,7 +29114,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29190,7 +29190,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29256,7 +29256,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29344,7 +29344,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29457,7 +29457,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29531,7 +29531,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29620,7 +29620,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29696,7 +29696,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29795,7 +29795,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29857,7 +29857,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30306,7 +30306,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30380,7 +30380,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30555,7 +30555,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30641,7 +30641,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30710,7 +30710,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30772,7 +30772,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30858,7 +30858,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -30944,7 +30944,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31060,7 +31060,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31164,7 +31164,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31270,7 +31270,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31323,7 +31323,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31385,7 +31385,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31549,7 +31549,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31633,7 +31633,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31708,7 +31708,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31794,7 +31794,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -31928,7 +31928,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32063,7 +32063,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32181,7 +32181,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32297,7 +32297,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32413,7 +32413,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32531,7 +32531,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32612,7 +32612,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32693,7 +32693,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32774,7 +32774,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32834,7 +32834,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -32915,7 +32915,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -32975,7 +32975,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33028,7 +33028,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33083,7 +33083,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33155,7 +33155,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33236,7 +33236,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33310,7 +33310,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33421,7 +33421,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33492,7 +33492,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33582,7 +33582,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33655,7 +33655,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33738,7 +33738,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33819,7 +33819,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36135,9 +36135,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -36159,7 +36162,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36208,9 +36214,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -36232,7 +36247,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36281,9 +36305,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -36305,7 +36350,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37416,7 +37482,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -37438,7 +37507,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37487,9 +37559,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -37511,7 +37592,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37560,9 +37650,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -37584,7 +37695,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 7982031e95..42ccc1b896 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -4972,7 +4972,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -5057,7 +5057,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5204,7 +5204,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5297,7 +5297,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5440,7 +5440,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5540,7 +5540,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5623,7 +5623,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5735,7 +5735,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6106,7 +6106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6179,7 +6179,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6660,7 +6660,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6744,7 +6744,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6814,7 +6814,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6896,7 +6896,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6985,7 +6985,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -7054,7 +7054,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7142,7 +7142,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7211,7 +7211,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7289,7 +7289,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7495,7 +7495,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7573,7 +7573,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7657,7 +7657,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7799,7 +7799,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7891,7 +7891,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -8025,7 +8025,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8124,7 +8124,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8206,7 +8206,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8317,7 +8317,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8426,7 +8426,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8500,7 +8500,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8589,7 +8589,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8650,7 +8650,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8724,7 +8724,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8785,7 +8785,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8867,7 +8867,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8979,7 +8979,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9048,7 +9048,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9133,7 +9133,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9204,7 +9204,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9298,7 +9298,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9359,7 +9359,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index d4f6ca9e70..3d17f18eb6 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -4989,7 +4989,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5123,7 +5123,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5171,7 +5171,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5274,7 +5274,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5391,7 +5391,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5491,7 +5491,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5582,7 +5582,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5695,7 +5695,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5785,7 +5785,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5869,7 +5869,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5978,7 +5978,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -6049,7 +6049,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -6154,7 +6154,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6225,7 +6225,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6310,7 +6310,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6532,7 +6532,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6642,7 +6642,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6754,7 +6754,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6864,7 +6864,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6976,7 +6976,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -7096,7 +7096,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7218,7 +7218,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7340,7 +7340,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7464,7 +7464,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7586,7 +7586,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7710,7 +7710,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7932,7 +7932,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -8037,7 +8037,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8148,7 +8148,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8253,7 +8253,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8364,7 +8364,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8469,7 +8469,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8580,7 +8580,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8717,7 +8717,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8840,7 +8840,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8958,7 +8958,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -9068,7 +9068,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9209,7 +9209,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9282,7 +9282,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9362,7 +9362,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9468,7 +9468,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9553,7 +9553,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9730,7 +9730,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9855,7 +9855,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9951,7 +9951,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -10041,7 +10041,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10134,7 +10134,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10277,7 +10277,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10377,7 +10377,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10458,7 +10458,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10550,7 +10550,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10662,7 +10662,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10772,7 +10772,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10855,7 +10855,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10987,7 +10987,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11060,7 +11060,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11138,7 +11138,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11220,7 +11220,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11310,7 +11310,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11413,7 +11413,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14128,7 +14128,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14201,7 +14201,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15943,7 +15943,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16018,7 +16018,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16176,7 +16176,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16331,7 +16331,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16526,7 +16526,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16720,7 +16720,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16906,7 +16906,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17086,7 +17086,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17141,7 +17141,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17201,7 +17201,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17273,7 +17273,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17345,7 +17345,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17420,7 +17420,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17605,7 +17605,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17786,7 +17786,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17939,7 +17939,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18088,7 +18088,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18215,7 +18215,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18340,7 +18340,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18443,7 +18443,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18544,7 +18544,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18659,7 +18659,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18772,7 +18772,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19015,7 +19015,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19251,7 +19251,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19354,7 +19354,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19455,7 +19455,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19558,7 +19558,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19659,7 +19659,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19762,7 +19762,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19863,7 +19863,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19966,7 +19966,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20065,7 +20065,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20120,7 +20120,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20180,7 +20180,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20252,7 +20252,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20324,7 +20324,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20397,7 +20397,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20485,7 +20485,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20545,7 +20545,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20684,7 +20684,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20756,7 +20756,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20837,7 +20837,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20924,7 +20924,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20987,7 +20987,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21057,7 +21057,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -21130,7 +21130,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21222,7 +21222,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21310,7 +21310,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21400,7 +21400,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21478,7 +21478,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21549,7 +21549,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21668,7 +21668,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21788,7 +21788,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -22011,7 +22011,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -22122,7 +22122,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -22180,7 +22180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22262,7 +22262,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22310,7 +22310,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22391,7 +22391,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22449,7 +22449,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22532,7 +22532,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22590,11 +22590,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22808,7 +22808,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22866,7 +22866,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22991,7 +22991,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -23051,7 +23051,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -23205,7 +23205,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23341,7 +23341,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23419,7 +23419,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23497,7 +23497,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23575,7 +23575,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23667,7 +23667,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23748,7 +23748,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23826,7 +23826,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23904,7 +23904,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23982,7 +23982,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -24060,7 +24060,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -24138,7 +24138,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24233,7 +24233,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24303,7 +24303,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24386,7 +24386,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24452,7 +24452,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24538,7 +24538,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24606,7 +24606,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24691,7 +24691,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24749,7 +24749,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24841,7 +24841,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24907,7 +24907,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -25002,7 +25002,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -25070,7 +25070,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25208,7 +25208,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25266,7 +25266,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25386,7 +25386,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25452,7 +25452,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25549,7 +25549,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25617,7 +25617,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25719,7 +25719,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25797,7 +25797,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -26000,7 +26000,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26216,7 +26216,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26292,7 +26292,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26512,7 +26512,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26775,7 +26775,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26995,7 +26995,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27274,7 +27274,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27575,7 +27575,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27854,7 +27854,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27912,7 +27912,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -28030,7 +28030,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -28096,7 +28096,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28217,7 +28217,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28285,7 +28285,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28351,7 +28351,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28778,7 +28778,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28831,7 +28831,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28891,7 +28891,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31538,7 +31538,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31675,7 +31675,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31734,7 +31734,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31867,7 +31867,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31926,7 +31926,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -32008,7 +32008,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -32097,7 +32097,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -32166,7 +32166,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32254,7 +32254,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32323,7 +32323,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32401,7 +32401,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32607,7 +32607,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32685,7 +32685,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32755,7 +32755,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32833,7 +32833,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32905,7 +32905,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32987,7 +32987,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -33082,7 +33082,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -33141,7 +33141,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33219,7 +33219,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33278,7 +33278,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33361,7 +33361,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33469,7 +33469,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33539,7 +33539,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33643,7 +33643,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33713,7 +33713,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33797,7 +33797,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33906,7 +33906,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -34017,7 +34017,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -34126,7 +34126,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34237,7 +34237,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34346,7 +34346,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34457,7 +34457,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34576,7 +34576,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34697,7 +34697,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34818,7 +34818,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34941,7 +34941,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -35062,7 +35062,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35185,7 +35185,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35294,7 +35294,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35405,7 +35405,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35509,7 +35509,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35619,7 +35619,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35723,7 +35723,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35833,7 +35833,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35937,7 +35937,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -36047,7 +36047,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36183,7 +36183,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36305,7 +36305,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36422,7 +36422,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36531,7 +36531,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36671,7 +36671,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36743,7 +36743,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36822,7 +36822,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36927,7 +36927,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -37009,7 +37009,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37140,7 +37140,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37212,7 +37212,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37289,7 +37289,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37370,7 +37370,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37454,7 +37454,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37622,7 +37622,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37742,7 +37742,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37837,7 +37837,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37926,7 +37926,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -38018,7 +38018,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38152,7 +38152,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38251,7 +38251,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38331,7 +38331,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38422,7 +38422,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38533,7 +38533,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38642,7 +38642,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38731,7 +38731,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38837,7 +38837,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38911,7 +38911,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -39000,7 +39000,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39061,7 +39061,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39135,7 +39135,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39196,7 +39196,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39266,7 +39266,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39348,7 +39348,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39460,7 +39460,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39529,7 +39529,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39614,7 +39614,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39685,7 +39685,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39778,7 +39778,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39838,7 +39838,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40271,7 +40271,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40343,7 +40343,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40438,7 +40438,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40529,7 +40529,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40618,7 +40618,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40687,7 +40687,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40748,7 +40748,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40839,7 +40839,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40930,7 +40930,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41056,7 +41056,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41168,7 +41168,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41278,7 +41278,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41348,7 +41348,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41402,7 +41402,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41463,7 +41463,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41542,7 +41542,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41624,7 +41624,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41704,7 +41704,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41775,7 +41775,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41857,7 +41857,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41989,7 +41989,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42117,7 +42117,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42230,7 +42230,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42343,7 +42343,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42456,7 +42456,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42571,7 +42571,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42650,7 +42650,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42729,7 +42729,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42806,7 +42806,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42865,7 +42865,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42942,7 +42942,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -43001,7 +43001,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43055,7 +43055,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43111,7 +43111,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43180,7 +43180,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43257,7 +43257,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43329,7 +43329,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43440,7 +43440,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43508,7 +43508,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43598,7 +43598,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43668,7 +43668,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43750,7 +43750,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43829,7 +43829,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43908,7 +43908,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -44003,7 +44003,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44084,7 +44084,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44167,7 +44167,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44233,7 +44233,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44299,7 +44299,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44382,7 +44382,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44466,7 +44466,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44537,7 +44537,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44590,7 +44590,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47286,10 +47286,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -47310,7 +47313,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47359,10 +47365,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -47383,7 +47398,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47432,10 +47456,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -47456,7 +47501,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48568,7 +48634,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "x-nullable": true } }, @@ -48590,7 +48659,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48639,10 +48711,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -48663,7 +48744,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48712,10 +48802,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -48736,7 +48847,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 91ab50f189..c26f0c06b3 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -4693,7 +4693,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4798,7 +4798,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4917,7 +4917,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5010,7 +5010,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5125,7 +5125,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5217,7 +5217,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5302,7 +5302,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5412,7 +5412,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5484,7 +5484,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5590,7 +5590,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5662,7 +5662,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5748,7 +5748,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5859,7 +5859,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5972,7 +5972,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6083,7 +6083,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6196,7 +6196,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6307,7 +6307,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6541,7 +6541,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6664,7 +6664,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6787,7 +6787,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6912,7 +6912,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7035,7 +7035,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7160,7 +7160,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7271,7 +7271,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7384,7 +7384,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7490,7 +7490,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7602,7 +7602,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7708,7 +7708,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7926,7 +7926,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8038,7 +8038,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8176,7 +8176,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8300,7 +8300,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8419,7 +8419,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8530,7 +8530,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8672,7 +8672,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8746,7 +8746,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8827,7 +8827,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8934,7 +8934,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9021,7 +9021,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9202,7 +9202,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9329,7 +9329,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9426,7 +9426,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9517,7 +9517,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9612,7 +9612,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9758,7 +9758,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9860,7 +9860,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9945,7 +9945,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10059,7 +10059,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10171,7 +10171,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10255,7 +10255,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10388,7 +10388,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10462,7 +10462,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12874,7 +12874,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12949,7 +12949,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14731,7 +14731,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14807,7 +14807,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14966,7 +14966,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15122,7 +15122,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15318,7 +15318,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15513,7 +15513,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15702,7 +15702,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15885,7 +15885,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15941,7 +15941,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -16002,7 +16002,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -16075,7 +16075,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16148,7 +16148,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16224,7 +16224,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16412,7 +16412,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16596,7 +16596,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16752,7 +16752,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16904,7 +16904,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -17032,7 +17032,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17158,7 +17158,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17262,7 +17262,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17364,7 +17364,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17480,7 +17480,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17594,7 +17594,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17840,7 +17840,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -18079,7 +18079,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -18183,7 +18183,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18285,7 +18285,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18389,7 +18389,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18491,7 +18491,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18595,7 +18595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18697,7 +18697,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18801,7 +18801,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18901,7 +18901,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18957,7 +18957,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19018,7 +19018,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -19091,7 +19091,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -19164,7 +19164,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -19238,7 +19238,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19327,7 +19327,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19388,7 +19388,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19468,7 +19468,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19529,7 +19529,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19602,7 +19602,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19684,7 +19684,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19773,7 +19773,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19837,7 +19837,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22151,7 +22151,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -22224,7 +22224,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22362,7 +22362,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22422,7 +22422,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22556,7 +22556,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22616,7 +22616,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22700,7 +22700,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22791,7 +22791,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22862,7 +22862,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22952,7 +22952,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -23023,7 +23023,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -23103,7 +23103,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23311,7 +23311,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23391,7 +23391,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23464,7 +23464,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23547,7 +23547,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23607,7 +23607,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23686,7 +23686,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23746,7 +23746,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23830,7 +23830,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23939,7 +23939,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -24010,7 +24010,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -24115,7 +24115,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -24186,7 +24186,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24271,7 +24271,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24381,7 +24381,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24493,7 +24493,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24603,7 +24603,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24715,7 +24715,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24825,7 +24825,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24937,7 +24937,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -25057,7 +25057,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -25179,7 +25179,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25301,7 +25301,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25425,7 +25425,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25547,7 +25547,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25671,7 +25671,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25781,7 +25781,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25893,7 +25893,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25998,7 +25998,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -26109,7 +26109,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26214,7 +26214,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26325,7 +26325,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26430,7 +26430,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26541,7 +26541,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26678,7 +26678,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26801,7 +26801,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26919,7 +26919,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -27029,7 +27029,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -27170,7 +27170,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27243,7 +27243,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27323,7 +27323,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27429,7 +27429,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27512,7 +27512,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27644,7 +27644,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27717,7 +27717,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27795,7 +27795,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27881,7 +27881,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -28053,7 +28053,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28175,7 +28175,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28271,7 +28271,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28361,7 +28361,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28455,7 +28455,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28592,7 +28592,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28693,7 +28693,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28777,7 +28777,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28890,7 +28890,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -29001,7 +29001,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -29077,7 +29077,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29168,7 +29168,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29231,7 +29231,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29307,7 +29307,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29370,7 +29370,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29454,7 +29454,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29568,7 +29568,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29639,7 +29639,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29726,7 +29726,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29799,7 +29799,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29894,7 +29894,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29956,7 +29956,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30396,7 +30396,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30565,7 +30565,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30657,7 +30657,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30747,7 +30747,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30817,7 +30817,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30879,7 +30879,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30971,7 +30971,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -31063,7 +31063,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31190,7 +31190,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31303,7 +31303,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31414,7 +31414,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31469,7 +31469,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31531,7 +31531,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31611,7 +31611,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31694,7 +31694,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31775,7 +31775,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31847,7 +31847,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31930,7 +31930,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -32065,7 +32065,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32312,7 +32312,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32428,7 +32428,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32544,7 +32544,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32662,7 +32662,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32742,7 +32742,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32822,7 +32822,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32900,7 +32900,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32960,7 +32960,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -33038,7 +33038,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -33098,7 +33098,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33153,7 +33153,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33210,7 +33210,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33280,7 +33280,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33358,7 +33358,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33431,7 +33431,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33543,7 +33543,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33612,7 +33612,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33703,7 +33703,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33774,7 +33774,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33857,7 +33857,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33937,7 +33937,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36247,10 +36247,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -36271,7 +36274,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36320,10 +36326,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -36344,7 +36359,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36393,10 +36417,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -36417,7 +36462,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37529,7 +37595,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "x-nullable": true } }, @@ -37551,7 +37620,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37600,10 +37672,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -37624,7 +37705,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37673,10 +37763,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -37697,7 +37808,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 7982031e95..42ccc1b896 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -4972,7 +4972,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -5057,7 +5057,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5204,7 +5204,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5297,7 +5297,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5440,7 +5440,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5540,7 +5540,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5623,7 +5623,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5735,7 +5735,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6106,7 +6106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6179,7 +6179,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6660,7 +6660,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6744,7 +6744,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6814,7 +6814,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6896,7 +6896,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6985,7 +6985,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -7054,7 +7054,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7142,7 +7142,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7211,7 +7211,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7289,7 +7289,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7495,7 +7495,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7573,7 +7573,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7657,7 +7657,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7799,7 +7799,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7891,7 +7891,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -8025,7 +8025,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8124,7 +8124,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8206,7 +8206,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8317,7 +8317,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8426,7 +8426,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8500,7 +8500,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8589,7 +8589,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8650,7 +8650,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8724,7 +8724,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8785,7 +8785,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8867,7 +8867,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8979,7 +8979,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9048,7 +9048,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9133,7 +9133,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9204,7 +9204,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9298,7 +9298,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9359,7 +9359,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index d4f6ca9e70..3d17f18eb6 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -4989,7 +4989,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5123,7 +5123,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5171,7 +5171,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5274,7 +5274,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5391,7 +5391,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5491,7 +5491,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5582,7 +5582,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5695,7 +5695,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5785,7 +5785,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5869,7 +5869,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5978,7 +5978,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -6049,7 +6049,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -6154,7 +6154,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6225,7 +6225,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6310,7 +6310,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6532,7 +6532,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6642,7 +6642,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6754,7 +6754,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6864,7 +6864,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6976,7 +6976,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -7096,7 +7096,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7218,7 +7218,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7340,7 +7340,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7464,7 +7464,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7586,7 +7586,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7710,7 +7710,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7932,7 +7932,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -8037,7 +8037,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8148,7 +8148,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8253,7 +8253,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8364,7 +8364,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8469,7 +8469,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8580,7 +8580,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8717,7 +8717,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8840,7 +8840,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8958,7 +8958,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -9068,7 +9068,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9209,7 +9209,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9282,7 +9282,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9362,7 +9362,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9468,7 +9468,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9553,7 +9553,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9730,7 +9730,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9855,7 +9855,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9951,7 +9951,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -10041,7 +10041,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10134,7 +10134,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10277,7 +10277,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10377,7 +10377,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10458,7 +10458,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10550,7 +10550,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10662,7 +10662,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10772,7 +10772,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10855,7 +10855,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10987,7 +10987,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11060,7 +11060,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11138,7 +11138,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11220,7 +11220,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11310,7 +11310,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11413,7 +11413,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14128,7 +14128,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14201,7 +14201,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15943,7 +15943,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16018,7 +16018,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16176,7 +16176,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16331,7 +16331,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16526,7 +16526,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16720,7 +16720,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16906,7 +16906,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17086,7 +17086,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17141,7 +17141,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17201,7 +17201,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17273,7 +17273,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17345,7 +17345,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17420,7 +17420,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17605,7 +17605,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17786,7 +17786,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17939,7 +17939,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18088,7 +18088,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18215,7 +18215,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18340,7 +18340,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18443,7 +18443,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18544,7 +18544,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18659,7 +18659,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18772,7 +18772,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19015,7 +19015,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19251,7 +19251,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19354,7 +19354,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19455,7 +19455,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19558,7 +19558,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19659,7 +19659,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19762,7 +19762,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19863,7 +19863,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19966,7 +19966,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20065,7 +20065,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20120,7 +20120,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20180,7 +20180,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20252,7 +20252,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20324,7 +20324,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20397,7 +20397,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20485,7 +20485,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20545,7 +20545,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20684,7 +20684,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20756,7 +20756,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20837,7 +20837,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20924,7 +20924,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20987,7 +20987,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21057,7 +21057,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -21130,7 +21130,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21222,7 +21222,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21310,7 +21310,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21400,7 +21400,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21478,7 +21478,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21549,7 +21549,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21668,7 +21668,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21788,7 +21788,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -22011,7 +22011,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -22122,7 +22122,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -22180,7 +22180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22262,7 +22262,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22310,7 +22310,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22391,7 +22391,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22449,7 +22449,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22532,7 +22532,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22590,11 +22590,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22808,7 +22808,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22866,7 +22866,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22991,7 +22991,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -23051,7 +23051,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -23205,7 +23205,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23341,7 +23341,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23419,7 +23419,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23497,7 +23497,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23575,7 +23575,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23667,7 +23667,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23748,7 +23748,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23826,7 +23826,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23904,7 +23904,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23982,7 +23982,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -24060,7 +24060,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -24138,7 +24138,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24233,7 +24233,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24303,7 +24303,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24386,7 +24386,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24452,7 +24452,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24538,7 +24538,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24606,7 +24606,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24691,7 +24691,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24749,7 +24749,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24841,7 +24841,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24907,7 +24907,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -25002,7 +25002,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -25070,7 +25070,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25208,7 +25208,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25266,7 +25266,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25386,7 +25386,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25452,7 +25452,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25549,7 +25549,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25617,7 +25617,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25719,7 +25719,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25797,7 +25797,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -26000,7 +26000,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26216,7 +26216,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26292,7 +26292,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26512,7 +26512,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26775,7 +26775,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26995,7 +26995,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27274,7 +27274,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27575,7 +27575,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27854,7 +27854,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27912,7 +27912,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -28030,7 +28030,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -28096,7 +28096,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28217,7 +28217,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28285,7 +28285,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28351,7 +28351,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28778,7 +28778,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28831,7 +28831,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28891,7 +28891,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31538,7 +31538,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31675,7 +31675,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31734,7 +31734,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31867,7 +31867,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31926,7 +31926,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -32008,7 +32008,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -32097,7 +32097,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -32166,7 +32166,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32254,7 +32254,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32323,7 +32323,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32401,7 +32401,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32607,7 +32607,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32685,7 +32685,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32755,7 +32755,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32833,7 +32833,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32905,7 +32905,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32987,7 +32987,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -33082,7 +33082,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -33141,7 +33141,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33219,7 +33219,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33278,7 +33278,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33361,7 +33361,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33469,7 +33469,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33539,7 +33539,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33643,7 +33643,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33713,7 +33713,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33797,7 +33797,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33906,7 +33906,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -34017,7 +34017,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -34126,7 +34126,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34237,7 +34237,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34346,7 +34346,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34457,7 +34457,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34576,7 +34576,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34697,7 +34697,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34818,7 +34818,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34941,7 +34941,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -35062,7 +35062,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35185,7 +35185,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35294,7 +35294,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35405,7 +35405,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35509,7 +35509,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35619,7 +35619,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35723,7 +35723,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35833,7 +35833,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35937,7 +35937,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -36047,7 +36047,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36183,7 +36183,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36305,7 +36305,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36422,7 +36422,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36531,7 +36531,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36671,7 +36671,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36743,7 +36743,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36822,7 +36822,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36927,7 +36927,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -37009,7 +37009,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37140,7 +37140,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37212,7 +37212,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37289,7 +37289,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37370,7 +37370,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37454,7 +37454,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37622,7 +37622,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37742,7 +37742,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37837,7 +37837,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37926,7 +37926,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -38018,7 +38018,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38152,7 +38152,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38251,7 +38251,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38331,7 +38331,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38422,7 +38422,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38533,7 +38533,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38642,7 +38642,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38731,7 +38731,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38837,7 +38837,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38911,7 +38911,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -39000,7 +39000,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39061,7 +39061,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39135,7 +39135,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39196,7 +39196,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39266,7 +39266,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39348,7 +39348,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39460,7 +39460,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39529,7 +39529,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39614,7 +39614,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39685,7 +39685,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39778,7 +39778,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39838,7 +39838,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40271,7 +40271,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40343,7 +40343,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40438,7 +40438,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40529,7 +40529,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40618,7 +40618,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40687,7 +40687,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40748,7 +40748,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40839,7 +40839,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40930,7 +40930,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41056,7 +41056,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41168,7 +41168,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41278,7 +41278,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41348,7 +41348,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41402,7 +41402,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41463,7 +41463,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41542,7 +41542,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41624,7 +41624,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41704,7 +41704,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41775,7 +41775,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41857,7 +41857,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41989,7 +41989,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42117,7 +42117,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42230,7 +42230,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42343,7 +42343,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42456,7 +42456,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42571,7 +42571,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42650,7 +42650,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42729,7 +42729,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42806,7 +42806,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42865,7 +42865,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42942,7 +42942,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -43001,7 +43001,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43055,7 +43055,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43111,7 +43111,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43180,7 +43180,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43257,7 +43257,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43329,7 +43329,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43440,7 +43440,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43508,7 +43508,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43598,7 +43598,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43668,7 +43668,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43750,7 +43750,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43829,7 +43829,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43908,7 +43908,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -44003,7 +44003,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44084,7 +44084,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44167,7 +44167,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44233,7 +44233,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44299,7 +44299,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44382,7 +44382,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44466,7 +44466,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44537,7 +44537,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44590,7 +44590,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47286,10 +47286,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -47310,7 +47313,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47359,10 +47365,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -47383,7 +47398,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47432,10 +47456,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -47456,7 +47501,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48568,7 +48634,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "x-nullable": true } }, @@ -48590,7 +48659,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48639,10 +48711,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -48663,7 +48744,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48712,10 +48802,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -48736,7 +48847,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 91ab50f189..c26f0c06b3 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -4693,7 +4693,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4798,7 +4798,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4917,7 +4917,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5010,7 +5010,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5125,7 +5125,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5217,7 +5217,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5302,7 +5302,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5412,7 +5412,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5484,7 +5484,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5590,7 +5590,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5662,7 +5662,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5748,7 +5748,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5859,7 +5859,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5972,7 +5972,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6083,7 +6083,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6196,7 +6196,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6307,7 +6307,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6541,7 +6541,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6664,7 +6664,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6787,7 +6787,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6912,7 +6912,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7035,7 +7035,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7160,7 +7160,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7271,7 +7271,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7384,7 +7384,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7490,7 +7490,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7602,7 +7602,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7708,7 +7708,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7926,7 +7926,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8038,7 +8038,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8176,7 +8176,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8300,7 +8300,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8419,7 +8419,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8530,7 +8530,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8672,7 +8672,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8746,7 +8746,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8827,7 +8827,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8934,7 +8934,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9021,7 +9021,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9202,7 +9202,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9329,7 +9329,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9426,7 +9426,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9517,7 +9517,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9612,7 +9612,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9758,7 +9758,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9860,7 +9860,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9945,7 +9945,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10059,7 +10059,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10171,7 +10171,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10255,7 +10255,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10388,7 +10388,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10462,7 +10462,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12874,7 +12874,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12949,7 +12949,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14731,7 +14731,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14807,7 +14807,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14966,7 +14966,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15122,7 +15122,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15318,7 +15318,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15513,7 +15513,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15702,7 +15702,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15885,7 +15885,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15941,7 +15941,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -16002,7 +16002,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -16075,7 +16075,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16148,7 +16148,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16224,7 +16224,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16412,7 +16412,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16596,7 +16596,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16752,7 +16752,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16904,7 +16904,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -17032,7 +17032,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17158,7 +17158,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17262,7 +17262,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17364,7 +17364,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17480,7 +17480,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17594,7 +17594,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17840,7 +17840,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -18079,7 +18079,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -18183,7 +18183,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18285,7 +18285,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18389,7 +18389,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18491,7 +18491,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18595,7 +18595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18697,7 +18697,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18801,7 +18801,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18901,7 +18901,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18957,7 +18957,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19018,7 +19018,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -19091,7 +19091,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -19164,7 +19164,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -19238,7 +19238,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19327,7 +19327,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19388,7 +19388,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19468,7 +19468,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19529,7 +19529,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19602,7 +19602,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19684,7 +19684,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19773,7 +19773,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19837,7 +19837,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22151,7 +22151,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -22224,7 +22224,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22362,7 +22362,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22422,7 +22422,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22556,7 +22556,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22616,7 +22616,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22700,7 +22700,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22791,7 +22791,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22862,7 +22862,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22952,7 +22952,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -23023,7 +23023,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -23103,7 +23103,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23311,7 +23311,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23391,7 +23391,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23464,7 +23464,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23547,7 +23547,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23607,7 +23607,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23686,7 +23686,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23746,7 +23746,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23830,7 +23830,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23939,7 +23939,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -24010,7 +24010,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -24115,7 +24115,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -24186,7 +24186,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24271,7 +24271,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24381,7 +24381,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24493,7 +24493,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24603,7 +24603,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24715,7 +24715,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24825,7 +24825,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24937,7 +24937,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -25057,7 +25057,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -25179,7 +25179,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25301,7 +25301,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25425,7 +25425,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25547,7 +25547,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25671,7 +25671,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25781,7 +25781,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25893,7 +25893,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25998,7 +25998,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -26109,7 +26109,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26214,7 +26214,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26325,7 +26325,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26430,7 +26430,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26541,7 +26541,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26678,7 +26678,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26801,7 +26801,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26919,7 +26919,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -27029,7 +27029,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -27170,7 +27170,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27243,7 +27243,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27323,7 +27323,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27429,7 +27429,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27512,7 +27512,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27644,7 +27644,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27717,7 +27717,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27795,7 +27795,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27881,7 +27881,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -28053,7 +28053,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28175,7 +28175,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28271,7 +28271,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28361,7 +28361,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28455,7 +28455,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28592,7 +28592,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28693,7 +28693,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28777,7 +28777,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28890,7 +28890,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -29001,7 +29001,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -29077,7 +29077,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29168,7 +29168,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29231,7 +29231,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29307,7 +29307,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29370,7 +29370,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29454,7 +29454,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29568,7 +29568,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29639,7 +29639,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29726,7 +29726,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29799,7 +29799,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29894,7 +29894,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29956,7 +29956,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30396,7 +30396,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30565,7 +30565,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30657,7 +30657,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30747,7 +30747,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30817,7 +30817,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30879,7 +30879,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30971,7 +30971,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -31063,7 +31063,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31190,7 +31190,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31303,7 +31303,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31414,7 +31414,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31469,7 +31469,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31531,7 +31531,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31611,7 +31611,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31694,7 +31694,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31775,7 +31775,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31847,7 +31847,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31930,7 +31930,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -32065,7 +32065,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32312,7 +32312,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32428,7 +32428,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32544,7 +32544,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32662,7 +32662,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32742,7 +32742,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32822,7 +32822,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32900,7 +32900,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32960,7 +32960,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -33038,7 +33038,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -33098,7 +33098,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33153,7 +33153,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33210,7 +33210,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33280,7 +33280,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33358,7 +33358,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33431,7 +33431,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33543,7 +33543,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33612,7 +33612,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33703,7 +33703,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33774,7 +33774,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33857,7 +33857,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33937,7 +33937,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36247,10 +36247,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -36271,7 +36274,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36320,10 +36326,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -36344,7 +36359,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36393,10 +36417,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -36417,7 +36462,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37529,7 +37595,10 @@ "default": { "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "x-nullable": true } }, @@ -37551,7 +37620,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37600,10 +37672,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -37624,7 +37705,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37673,10 +37763,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -37697,7 +37808,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { From 4e164b0b3ea9009c61b352a9b62ece3701dc5939 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 16:42:26 +0530 Subject: [PATCH 21/45] updated graphql mapper --- src/Appwrite/GraphQL/Types/Mapper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/GraphQL/Types/Mapper.php b/src/Appwrite/GraphQL/Types/Mapper.php index 214dbbb976..f0394b2395 100644 --- a/src/Appwrite/GraphQL/Types/Mapper.php +++ b/src/Appwrite/GraphQL/Types/Mapper.php @@ -57,7 +57,8 @@ class Mapper 'datetime' => Type::string(), 'json' => Types::json(), 'none' => Types::json(), - 'any' => Types::json() + 'any' => Types::json(), + 'array' => Types::json() ]; foreach ($defaults as $type => $default) { From 0ca53304b7f82d3a95696d8eaae69eb9773b983e Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Sat, 6 Sep 2025 00:10:00 +1200 Subject: [PATCH 22/45] Fix boundary inclusive contains on mysql --- tests/e2e/Services/Databases/Legacy/DatabasesBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index e461ae6621..618af29012 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -6769,7 +6769,7 @@ trait DatabasesBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'queries' => [Query::contains('lineAttr', [[1.0, 1.0]])->toString()] + 'queries' => [Query::contains('lineAttr', [[1.1, 1.1]])->toString()] ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertCount(1, $response['body']['documents']); From 3f7d05ca8fede7903975c05a9257acf87bf44a42 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Sat, 6 Sep 2025 00:10:28 +1200 Subject: [PATCH 23/45] Remove invalid test for spatial order on MySQL --- .../e2e/Services/Databases/Legacy/DatabasesBase.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index 618af29012..e5a775c304 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -7635,19 +7635,6 @@ trait DatabasesBase ]); $this->assertEquals(202, $retriedIndex['headers']['status-code']); - // Passing orders to spatial index should not throw error(in case of mariadb) - $ordersIndex = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/indexes', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - 'x-appwrite-key' => $this->getProject()['apiKey'] - ]), [ - 'key' => 'idx_required_point_with_orders', - 'type' => Database::INDEX_SPATIAL, - 'attributes' => ['pRequired'], - 'orders' => ['ASC'] - ]); - $this->assertEquals(202, $ordersIndex['headers']['status-code']); - // Cleanup $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $collectionId, array_merge([ 'content-type' => 'application/json', From 489f8db376671449f29d02195ada5f0ec88a2200 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Sat, 6 Sep 2025 00:13:48 +1200 Subject: [PATCH 24/45] Apply to TablesDB tests --- .../Services/Databases/TablesDB/DatabasesBase.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php index 3b220e192e..8b8d3d8050 100644 --- a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php +++ b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php @@ -8230,7 +8230,7 @@ trait DatabasesBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'queries' => [Query::contains('lineAttr', [[1.0, 1.0]])->toString()] + 'queries' => [Query::contains('lineAttr', [[1.1, 1.1]])->toString()] ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertCount(1, $response['body']['rows']); @@ -8562,19 +8562,6 @@ trait DatabasesBase ]); $this->assertEquals(202, $retriedIndex['headers']['status-code']); - // Passing orders to spatial index should not throw error (in case of mariadb) - $ordersIndex = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/indexes', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - 'x-appwrite-key' => $this->getProject()['apiKey'] - ]), [ - 'key' => 'idx_required_point_with_orders', - 'type' => Database::INDEX_SPATIAL, - 'columns' => ['pRequired'], - 'orders' => ['ASC'] - ]); - $this->assertEquals(202, $ordersIndex['headers']['status-code']); - // Cleanup $this->client->call(Client::METHOD_DELETE, '/tablesdb/' . $databaseId . '/tables/' . $tableId, array_merge([ 'content-type' => 'application/json', From 00d208f1acc1fc89e9c2195c95bf9a0440eccd8e Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 17:53:42 +0530 Subject: [PATCH 25/45] added array to be true --- src/Appwrite/Utopia/Database/Validator/Spatial.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Utopia/Database/Validator/Spatial.php b/src/Appwrite/Utopia/Database/Validator/Spatial.php index 5d99868a58..98a15ed786 100644 --- a/src/Appwrite/Utopia/Database/Validator/Spatial.php +++ b/src/Appwrite/Utopia/Database/Validator/Spatial.php @@ -31,7 +31,7 @@ class Spatial extends Validator */ public function isArray(): bool { - return false; + return true; } /** @@ -43,7 +43,7 @@ class Spatial extends Validator */ public function getType(): string { - return self::TYPE_ARRAY; + return self::TYPE_FLOAT; } /** From 3b0d02e9b0c39261f2d68f6c887fd582537cd396 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 18:13:51 +0530 Subject: [PATCH 26/45] updated the spatial specs --- app/config/specs/open-api3-1.8.x-console.json | 48 +++++++++---------- app/config/specs/open-api3-1.8.x-server.json | 48 +++++++++---------- .../specs/open-api3-latest-console.json | 48 +++++++++---------- app/config/specs/open-api3-latest-server.json | 48 +++++++++---------- app/config/specs/swagger2-1.8.x-console.json | 48 +++++++++---------- app/config/specs/swagger2-1.8.x-server.json | 48 +++++++++---------- app/config/specs/swagger2-latest-console.json | 48 +++++++++---------- app/config/specs/swagger2-latest-server.json | 48 +++++++++---------- .../SDK/Specification/Format/OpenAPI3.php | 1 + .../SDK/Specification/Format/Swagger2.php | 1 + .../Utopia/Database/Validator/Spatial.php | 2 +- 11 files changed, 195 insertions(+), 193 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 6b9101b8c4..940cfb39d5 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7858,9 +7858,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7968,9 +7968,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8078,9 +8078,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8188,9 +8188,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8298,9 +8298,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8408,9 +8408,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35320,9 +35320,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35429,9 +35429,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35538,9 +35538,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35647,9 +35647,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35756,9 +35756,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35865,9 +35865,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index b46509386d..093a6c6d8e 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7321,9 +7321,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7432,9 +7432,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7543,9 +7543,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7654,9 +7654,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7765,9 +7765,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7876,9 +7876,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25754,9 +25754,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -25864,9 +25864,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25974,9 +25974,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26084,9 +26084,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26194,9 +26194,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26304,9 +26304,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 6b9101b8c4..940cfb39d5 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7858,9 +7858,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7968,9 +7968,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8078,9 +8078,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8188,9 +8188,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8298,9 +8298,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8408,9 +8408,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35320,9 +35320,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35429,9 +35429,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35538,9 +35538,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35647,9 +35647,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35756,9 +35756,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35865,9 +35865,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index b46509386d..093a6c6d8e 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7321,9 +7321,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7432,9 +7432,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7543,9 +7543,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7654,9 +7654,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7765,9 +7765,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7876,9 +7876,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25754,9 +25754,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -25864,9 +25864,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25974,9 +25974,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26084,9 +26084,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26194,9 +26194,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26304,9 +26304,9 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 3d17f18eb6..8c8b2d3bbd 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7995,10 +7995,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8101,10 +8101,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8211,10 +8211,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8317,10 +8317,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8427,10 +8427,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8533,10 +8533,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35467,10 +35467,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35572,10 +35572,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35681,10 +35681,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35786,10 +35786,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35895,10 +35895,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -36000,10 +36000,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index c26f0c06b3..cf517db7ad 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7448,10 +7448,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7555,10 +7555,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7666,10 +7666,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7773,10 +7773,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7884,10 +7884,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7991,10 +7991,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25956,10 +25956,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26062,10 +26062,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26172,10 +26172,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26278,10 +26278,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26388,10 +26388,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26494,10 +26494,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 3d17f18eb6..8c8b2d3bbd 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7995,10 +7995,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8101,10 +8101,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8211,10 +8211,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8317,10 +8317,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -8427,10 +8427,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -8533,10 +8533,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35467,10 +35467,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35572,10 +35572,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35681,10 +35681,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -35786,10 +35786,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -35895,10 +35895,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -36000,10 +36000,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index c26f0c06b3..cf517db7ad 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7448,10 +7448,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7555,10 +7555,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7666,10 +7666,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7773,10 +7773,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -7884,10 +7884,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -7991,10 +7991,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -25956,10 +25956,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26062,10 +26062,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26172,10 +26172,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26278,10 +26278,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { @@ -26388,10 +26388,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true } }, @@ -26494,10 +26494,10 @@ "x-example": false }, "default": { - "type": "string", + "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": false, "x-nullable": true }, "newKey": { diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 3653c21592..31894d48f5 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -401,6 +401,7 @@ class OpenAPI3 extends Format $node['schema']['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': + case 'Appwrite\Utopia\Database\Validator\Spatial': $node['schema']['type'] = $validator->getType(); $node['schema']['x-example'] = false; break; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 37a0d87b42..adf9b2faee 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -427,6 +427,7 @@ class Swagger2 extends Format $node['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': + case 'Appwrite\Utopia\Database\Validator\Spatial': $node['type'] = $validator->getType(); $node['x-example'] = false; break; diff --git a/src/Appwrite/Utopia/Database/Validator/Spatial.php b/src/Appwrite/Utopia/Database/Validator/Spatial.php index 98a15ed786..34e2c3f495 100644 --- a/src/Appwrite/Utopia/Database/Validator/Spatial.php +++ b/src/Appwrite/Utopia/Database/Validator/Spatial.php @@ -43,7 +43,7 @@ class Spatial extends Validator */ public function getType(): string { - return self::TYPE_FLOAT; + return self::TYPE_ARRAY; } /** From c2f61c19984679511dac551f00559fcbd3172e46 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 18:26:07 +0530 Subject: [PATCH 27/45] updated specs --- app/config/specs/open-api3-1.8.x-console.json | 60 ++++++++++--- app/config/specs/open-api3-1.8.x-server.json | 60 ++++++++++--- .../specs/open-api3-latest-console.json | 60 ++++++++++--- app/config/specs/open-api3-latest-server.json | 60 ++++++++++--- app/config/specs/swagger2-1.8.x-console.json | 84 +++++++++++++------ app/config/specs/swagger2-1.8.x-server.json | 84 +++++++++++++------ app/config/specs/swagger2-latest-console.json | 84 +++++++++++++------ app/config/specs/swagger2-latest-server.json | 84 +++++++++++++------ .../SDK/Specification/Format/OpenAPI3.php | 7 +- .../SDK/Specification/Format/Swagger2.php | 7 +- 10 files changed, 444 insertions(+), 146 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 940cfb39d5..92be9983ee 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7860,7 +7860,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7970,7 +7973,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8080,7 +8086,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8190,7 +8199,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8300,7 +8312,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8410,7 +8425,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35322,7 +35340,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35431,7 +35452,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35540,7 +35564,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35649,7 +35676,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35758,7 +35788,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35867,7 +35900,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 093a6c6d8e..278fc7ecec 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7323,7 +7323,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7434,7 +7437,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7545,7 +7551,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7656,7 +7665,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7767,7 +7779,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7878,7 +7893,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25756,7 +25774,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -25866,7 +25887,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25976,7 +26000,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26086,7 +26113,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -26196,7 +26226,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26306,7 +26339,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 940cfb39d5..92be9983ee 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7860,7 +7860,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7970,7 +7973,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8080,7 +8086,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8190,7 +8199,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -8300,7 +8312,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -8410,7 +8425,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35322,7 +35340,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35431,7 +35452,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35540,7 +35564,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35649,7 +35676,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -35758,7 +35788,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -35867,7 +35900,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 093a6c6d8e..278fc7ecec 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7323,7 +7323,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7434,7 +7437,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7545,7 +7551,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7656,7 +7665,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -7767,7 +7779,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -7878,7 +7893,10 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25756,7 +25774,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -25866,7 +25887,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -25976,7 +26000,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26086,7 +26113,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { @@ -26196,7 +26226,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true } }, @@ -26306,7 +26339,10 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": false, + "x-example": null, + "items": { + "type": "{}" + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8c8b2d3bbd..956409bc02 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7998,8 +7998,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8104,8 +8107,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8214,8 +8220,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8320,8 +8329,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8430,8 +8442,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8536,8 +8551,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35470,8 +35488,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35575,8 +35596,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35684,8 +35708,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35789,8 +35816,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35898,8 +35928,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -36003,8 +36036,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index cf517db7ad..a5764e80c3 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7451,8 +7451,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7558,8 +7561,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7669,8 +7675,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7776,8 +7785,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7887,8 +7899,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7994,8 +8009,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -25959,8 +25977,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26065,8 +26086,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26175,8 +26199,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26281,8 +26308,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26391,8 +26421,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26497,8 +26530,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 8c8b2d3bbd..956409bc02 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7998,8 +7998,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8104,8 +8107,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8214,8 +8220,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8320,8 +8329,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -8430,8 +8442,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -8536,8 +8551,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35470,8 +35488,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35575,8 +35596,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35684,8 +35708,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -35789,8 +35816,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -35898,8 +35928,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -36003,8 +36036,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index cf517db7ad..a5764e80c3 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7451,8 +7451,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7558,8 +7561,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7669,8 +7675,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7776,8 +7785,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -7887,8 +7899,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -7994,8 +8009,11 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -25959,8 +25977,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26065,8 +26086,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26175,8 +26199,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26281,8 +26308,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", @@ -26391,8 +26421,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } } }, "required": [ @@ -26497,8 +26530,11 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": false, - "x-nullable": true + "x-example": null, + "x-nullable": true, + "items": { + "type": "{}" + } }, "newKey": { "type": "string", diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 31894d48f5..7d7cc9d65d 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -401,7 +401,6 @@ class OpenAPI3 extends Format $node['schema']['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': - case 'Appwrite\Utopia\Database\Validator\Spatial': $node['schema']['type'] = $validator->getType(); $node['schema']['x-example'] = false; break; @@ -448,6 +447,12 @@ class OpenAPI3 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Appwrite\Utopia\Database\Validator\Spatial': + $node['schema']['type'] = 'array'; + $node['schema']['items'] = [ + 'type' => '{}', + ]; + break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': case 'Appwrite\Utopia\Database\Validator\Queries\Attributes': case 'Appwrite\Utopia\Database\Validator\Queries\Buckets': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index adf9b2faee..5cdb7c642c 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -427,7 +427,6 @@ class Swagger2 extends Format $node['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': - case 'Appwrite\Utopia\Database\Validator\Spatial': $node['type'] = $validator->getType(); $node['x-example'] = false; break; @@ -463,6 +462,12 @@ class Swagger2 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Appwrite\Utopia\Database\Validator\Spatial': + $node['type'] = 'array'; + $node['items'] = [ + 'type' => '{}', + ]; + break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': case 'Utopia\Validator\Assoc': From 55b68e45e4838751d4da85d7ee1dcd0a1ec093b5 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 18:35:09 +0530 Subject: [PATCH 28/45] pr followups --- .../Collections/Attributes/Line/Create.php | 2 +- .../Collections/Attributes/Line/Update.php | 2 +- .../Collections/Attributes/Point/Create.php | 2 +- .../Collections/Attributes/Point/Update.php | 2 +- .../Collections/Attributes/Polygon/Create.php | 2 +- .../Collections/Attributes/Polygon/Update.php | 2 +- .../TablesDB/Tables/Columns/Line/Create.php | 2 +- .../TablesDB/Tables/Columns/Line/Update.php | 2 +- .../TablesDB/Tables/Columns/Point/Create.php | 2 +- .../TablesDB/Tables/Columns/Point/Update.php | 2 +- .../Tables/Columns/Polygon/Create.php | 2 +- .../Tables/Columns/Polygon/Update.php | 2 +- .../SDK/Specification/Format/OpenAPI3.php | 7 +-- .../SDK/Specification/Format/Swagger2.php | 7 +-- .../Utopia/Database/Validator/Spatial.php | 63 ------------------- 15 files changed, 16 insertions(+), 85 deletions(-) delete mode 100644 src/Appwrite/Utopia/Database/Validator/Spatial.php diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index 2ad905c516..0a8f6afdb6 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -9,7 +9,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index af6f6ca113..060a8bae38 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -9,7 +9,7 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index 64de63a8bb..3cf0213b14 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -9,7 +9,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index efc6657c49..71070a2b66 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -9,7 +9,7 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 0fd6d13560..19fb4b3353 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -9,7 +9,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index 90c8996f60..f9ea2c35b9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -9,7 +9,7 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php index 32cafae529..9f2182e870 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php @@ -6,7 +6,7 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Li use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php index 9aea87ec42..83df997589 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php @@ -7,7 +7,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php index 3615531b89..877448cc89 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php @@ -6,7 +6,7 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php index d2b741d4c7..2c2d6b1a37 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php @@ -7,7 +7,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php index dc16258596..cd2e2e1845 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php @@ -6,7 +6,7 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php index aba20fca63..9ef16a26f1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php @@ -7,7 +7,7 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; +use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 7d7cc9d65d..6cc3e2f523 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -447,11 +447,12 @@ class OpenAPI3 extends Format 'type' => $validator->getValidator()->getType(), ]; break; - case 'Appwrite\Utopia\Database\Validator\Spatial': + case 'Utopia\Database\Validator\Spatial': $node['schema']['type'] = 'array'; $node['schema']['items'] = [ 'type' => '{}', ]; + $node['schema']['x-example'] = [[1,2], [3, 4]]; break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': case 'Appwrite\Utopia\Database\Validator\Queries\Attributes': @@ -672,10 +673,6 @@ class OpenAPI3 extends Format $type = 'string'; break; - case 'array': - $type = 'array'; - break; - case 'json': $type = 'object'; $output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 5cdb7c642c..4625bd52a3 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -462,11 +462,12 @@ class Swagger2 extends Format 'type' => $validator->getValidator()->getType(), ]; break; - case 'Appwrite\Utopia\Database\Validator\Spatial': + case 'Utopia\Database\Validator\Spatial': $node['type'] = 'array'; $node['items'] = [ 'type' => '{}', ]; + $node['x-example'] = [[1,2], [3, 4]]; break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': @@ -680,10 +681,6 @@ class Swagger2 extends Format $type = 'string'; break; - case 'array': - $type = 'array'; - break; - case 'json': $type = 'object'; break; diff --git a/src/Appwrite/Utopia/Database/Validator/Spatial.php b/src/Appwrite/Utopia/Database/Validator/Spatial.php deleted file mode 100644 index 34e2c3f495..0000000000 --- a/src/Appwrite/Utopia/Database/Validator/Spatial.php +++ /dev/null @@ -1,63 +0,0 @@ -spatialAttributeType = $spatialAttributeType; - } - - /** - * Is array - * - * Function will return true if object is array. - * - * @return bool - */ - public function isArray(): bool - { - return true; - } - - /** - * Get Type - * - * Returns validator type - * - * @return string - */ - public function getType(): string - { - return self::TYPE_ARRAY; - } - - /** - * Is valid. - * - * Returns true if valid or false if not. - * - * @param $value - * - * @return bool - */ - public function isValid($value): bool - { - $validator = new SpatialValidator($this->spatialAttributeType); - return $validator->isValid($value); - } -} From e2140e47549599ad165baa5bd94cb1f137a4ddde Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 19:01:20 +0530 Subject: [PATCH 29/45] updated composer lock --- app/config/specs/open-api3-1.8.x-console.json | 162 +++++++++++++++-- app/config/specs/open-api3-1.8.x-server.json | 162 +++++++++++++++-- .../specs/open-api3-latest-console.json | 162 +++++++++++++++-- app/config/specs/open-api3-latest-server.json | 162 +++++++++++++++-- app/config/specs/swagger2-1.8.x-console.json | 168 ++++++++++++++++-- app/config/specs/swagger2-1.8.x-server.json | 168 ++++++++++++++++-- app/config/specs/swagger2-latest-console.json | 168 ++++++++++++++++-- app/config/specs/swagger2-latest-server.json | 168 ++++++++++++++++-- composer.lock | 24 +-- 9 files changed, 1188 insertions(+), 156 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 92be9983ee..e3ff47858c 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7860,7 +7860,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7973,7 +7982,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8086,7 +8104,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8199,7 +8226,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8312,7 +8348,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8425,7 +8470,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35340,7 +35394,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35452,7 +35515,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35564,7 +35636,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35676,7 +35757,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35788,7 +35878,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35900,7 +35999,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -47301,12 +47409,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -47380,7 +47491,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47392,6 +47503,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -47471,7 +47585,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47495,6 +47609,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48646,12 +48763,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48725,7 +48845,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48737,6 +48857,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48816,7 +48939,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48840,6 +48963,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 278fc7ecec..0bbea8b9f0 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7323,7 +7323,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7437,7 +7446,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7551,7 +7569,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7665,7 +7692,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7779,7 +7815,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7893,7 +7938,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -25774,7 +25828,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -25887,7 +25950,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26000,7 +26072,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26113,7 +26194,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26226,7 +26316,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26339,7 +26438,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -36171,12 +36279,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -36250,7 +36361,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36262,6 +36373,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -36341,7 +36455,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36365,6 +36479,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37516,12 +37633,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37595,7 +37715,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37607,6 +37727,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37686,7 +37809,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37710,6 +37833,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 92be9983ee..e3ff47858c 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7860,7 +7860,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7973,7 +7982,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8086,7 +8104,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8199,7 +8226,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8312,7 +8348,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -8425,7 +8470,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35340,7 +35394,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35452,7 +35515,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35564,7 +35636,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35676,7 +35757,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35788,7 +35878,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -35900,7 +35999,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -47301,12 +47409,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -47380,7 +47491,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47392,6 +47503,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -47471,7 +47585,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47495,6 +47609,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48646,12 +48763,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48725,7 +48845,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48737,6 +48857,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -48816,7 +48939,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48840,6 +48963,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 278fc7ecec..0bbea8b9f0 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7323,7 +7323,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7437,7 +7446,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7551,7 +7569,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7665,7 +7692,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7779,7 +7815,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -7893,7 +7938,16 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -25774,7 +25828,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -25887,7 +25950,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26000,7 +26072,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26113,7 +26194,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26226,7 +26316,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -26339,7 +26438,16 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "items": { "type": "{}" }, @@ -36171,12 +36279,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -36250,7 +36361,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36262,6 +36373,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -36341,7 +36455,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36365,6 +36479,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37516,12 +37633,15 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37595,7 +37715,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37607,6 +37727,9 @@ 1 ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, @@ -37686,7 +37809,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37710,6 +37833,9 @@ ] ] ], + "items": { + "$ref": "#\/components\/schemas\/array" + }, "nullable": true } }, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 956409bc02..22a0bd4ae9 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7998,7 +7998,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8107,7 +8116,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8220,7 +8238,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8329,7 +8356,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8442,7 +8478,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8551,7 +8596,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35488,7 +35542,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35596,7 +35659,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35708,7 +35780,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35816,7 +35897,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35928,7 +36018,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -36036,7 +36135,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -47322,12 +47430,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -47401,7 +47513,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47413,6 +47525,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -47492,7 +47608,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47516,6 +47632,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48668,12 +48788,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48747,7 +48871,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48759,6 +48883,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48838,7 +48966,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48862,6 +48990,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index a5764e80c3..7ab8ff06c4 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7451,7 +7451,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7561,7 +7570,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7675,7 +7693,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7785,7 +7812,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7899,7 +7935,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8009,7 +8054,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -25977,7 +26031,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26086,7 +26149,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26199,7 +26271,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26308,7 +26389,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26421,7 +26511,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26530,7 +26629,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -36283,12 +36391,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -36362,7 +36474,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36374,6 +36486,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -36453,7 +36569,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36477,6 +36593,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37629,12 +37749,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37708,7 +37832,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37720,6 +37844,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37799,7 +37927,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37823,6 +37951,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 956409bc02..22a0bd4ae9 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7998,7 +7998,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8107,7 +8116,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8220,7 +8238,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8329,7 +8356,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8442,7 +8478,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8551,7 +8596,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35488,7 +35542,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35596,7 +35659,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35708,7 +35780,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35816,7 +35897,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -35928,7 +36018,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -36036,7 +36135,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -47322,12 +47430,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -47401,7 +47513,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47413,6 +47525,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -47492,7 +47608,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47516,6 +47632,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48668,12 +48788,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48747,7 +48871,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48759,6 +48883,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -48838,7 +48966,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48862,6 +48990,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index a5764e80c3..7ab8ff06c4 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7451,7 +7451,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7561,7 +7570,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7675,7 +7693,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7785,7 +7812,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -7899,7 +7935,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -8009,7 +8054,16 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -25977,7 +26031,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26086,7 +26149,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26199,7 +26271,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26308,7 +26389,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26421,7 +26511,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -26530,7 +26629,16 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": [ + [ + 1, + 2 + ], + [ + 3, + 4 + ] + ], "x-nullable": true, "items": { "type": "{}" @@ -36283,12 +36391,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -36362,7 +36474,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36374,6 +36486,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -36453,7 +36569,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36477,6 +36593,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37629,12 +37749,16 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37708,7 +37832,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37720,6 +37844,10 @@ 1 ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, @@ -37799,7 +37927,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "array", + "type": "object", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37823,6 +37951,10 @@ ] ] ], + "items": { + "type": "object", + "$ref": "#\/definitions\/array" + }, "x-nullable": true } }, diff --git a/composer.lock b/composer.lock index d8323ceeea..00743e1b88 100644 --- a/composer.lock +++ b/composer.lock @@ -3650,16 +3650,16 @@ }, { "name": "utopia-php/database", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0" + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4", + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4", "shasum": "" }, "require": { @@ -3700,9 +3700,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.4.0" + "source": "https://github.com/utopia-php/database/tree/1.4.1" }, - "time": "2025-09-04T11:45:26+00:00" + "time": "2025-09-05T13:23:52+00:00" }, { "name": "utopia-php/detector", @@ -5019,16 +5019,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f" + "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/db229faf442a64094ebdea7d4b66f48184a7106f", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", + "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", "shasum": "" }, "require": { @@ -5064,9 +5064,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.2.2" + "source": "https://github.com/appwrite/sdk-generator/tree/1.3.0" }, - "time": "2025-09-05T08:28:53+00:00" + "time": "2025-09-05T09:01:21+00:00" }, { "name": "doctrine/annotations", From d948c12d8f39b469afa151a82d63a9041bc95973 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 19:07:08 +0530 Subject: [PATCH 30/45] linting --- .../Http/Databases/Collections/Attributes/Line/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Line/Update.php | 2 +- .../Http/Databases/Collections/Attributes/Point/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Point/Update.php | 2 +- .../Http/Databases/Collections/Attributes/Polygon/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Polygon/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Line/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Line/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Point/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Point/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index 0a8f6afdb6..8ea9dc7176 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index 060a8bae38..dd5dbc6a1a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index 3cf0213b14..1601c85bb1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index 71070a2b66..97710deccb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 19fb4b3353..8a40c07280 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index f9ea2c35b9..66827d15c8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php index 9f2182e870..8b597d66c9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Li use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php index 83df997589..1848848c20 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php index 877448cc89..f5740d8dbb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php index 2c2d6b1a37..ffcb2902d8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php index cd2e2e1845..251c013a2b 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php index 9ef16a26f1..f1104f5410 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; From ca87bd2237593e4a9424173ed094b59663bc7ac6 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 19:16:26 +0530 Subject: [PATCH 31/45] updated specs --- app/config/specs/open-api3-1.8.x-console.json | 48 +++++-------------- app/config/specs/open-api3-1.8.x-server.json | 48 +++++-------------- .../specs/open-api3-latest-console.json | 48 +++++-------------- app/config/specs/open-api3-latest-server.json | 48 +++++-------------- app/config/specs/swagger2-1.8.x-console.json | 48 +++++-------------- app/config/specs/swagger2-1.8.x-server.json | 48 +++++-------------- app/config/specs/swagger2-latest-console.json | 48 +++++-------------- app/config/specs/swagger2-latest-server.json | 48 +++++-------------- .../SDK/Specification/Format/OpenAPI3.php | 4 +- .../SDK/Specification/Format/Swagger2.php | 4 +- 10 files changed, 98 insertions(+), 294 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index e3ff47858c..4474a26447 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7870,9 +7870,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7992,9 +7990,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -8114,9 +8110,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -8236,9 +8230,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -8358,9 +8350,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -8480,9 +8470,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35404,9 +35392,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -35525,9 +35511,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35646,9 +35630,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -35767,9 +35749,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35888,9 +35868,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -36009,9 +35987,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 0bbea8b9f0..fe90340123 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7333,9 +7333,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7456,9 +7454,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -7579,9 +7575,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7702,9 +7696,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -7825,9 +7817,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7948,9 +7938,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -25838,9 +25826,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -25960,9 +25946,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -26082,9 +26066,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -26204,9 +26186,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -26326,9 +26306,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -26448,9 +26426,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index e3ff47858c..4474a26447 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7870,9 +7870,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7992,9 +7990,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -8114,9 +8110,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -8236,9 +8230,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -8358,9 +8350,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -8480,9 +8470,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35404,9 +35392,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -35525,9 +35511,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35646,9 +35630,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -35767,9 +35749,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -35888,9 +35868,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -36009,9 +35987,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 0bbea8b9f0..fe90340123 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7333,9 +7333,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7456,9 +7454,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -7579,9 +7575,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7702,9 +7696,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -7825,9 +7817,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -7948,9 +7938,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -25838,9 +25826,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -25960,9 +25946,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -26082,9 +26066,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -26204,9 +26186,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { @@ -26326,9 +26306,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true } }, @@ -26448,9 +26426,7 @@ 4 ] ], - "items": { - "type": "{}" - }, + "items": {}, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 22a0bd4ae9..83685ada08 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -8009,9 +8009,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8127,9 +8125,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -8249,9 +8245,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8367,9 +8361,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -8489,9 +8481,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8607,9 +8597,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -35553,9 +35541,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -35670,9 +35656,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -35791,9 +35775,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -35908,9 +35890,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -36029,9 +36009,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -36146,9 +36124,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 7ab8ff06c4..e8a99e81a7 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7462,9 +7462,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -7581,9 +7579,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -7704,9 +7700,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -7823,9 +7817,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -7946,9 +7938,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8065,9 +8055,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26042,9 +26030,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26160,9 +26146,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26282,9 +26266,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26400,9 +26382,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26522,9 +26502,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26640,9 +26618,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 22a0bd4ae9..83685ada08 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -8009,9 +8009,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8127,9 +8125,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -8249,9 +8245,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8367,9 +8361,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -8489,9 +8481,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8607,9 +8597,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -35553,9 +35541,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -35670,9 +35656,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -35791,9 +35775,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -35908,9 +35890,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -36029,9 +36009,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -36146,9 +36124,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 7ab8ff06c4..e8a99e81a7 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7462,9 +7462,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -7581,9 +7579,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -7704,9 +7700,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -7823,9 +7817,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -7946,9 +7938,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -8065,9 +8055,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26042,9 +26030,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26160,9 +26146,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26282,9 +26266,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26400,9 +26382,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", @@ -26522,9 +26502,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} } }, "required": [ @@ -26640,9 +26618,7 @@ ] ], "x-nullable": true, - "items": { - "type": "{}" - } + "items": {} }, "newKey": { "type": "string", diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 6cc3e2f523..3b2a4d698a 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -449,9 +449,7 @@ class OpenAPI3 extends Format break; case 'Utopia\Database\Validator\Spatial': $node['schema']['type'] = 'array'; - $node['schema']['items'] = [ - 'type' => '{}', - ]; + $node['schema']['items'] = new \stdClass(); $node['schema']['x-example'] = [[1,2], [3, 4]]; break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 4625bd52a3..25231de008 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -464,9 +464,7 @@ class Swagger2 extends Format break; case 'Utopia\Database\Validator\Spatial': $node['type'] = 'array'; - $node['items'] = [ - 'type' => '{}', - ]; + $node['items'] = new \stdClass(); $node['x-example'] = [[1,2], [3, 4]]; break; case 'Utopia\Validator\JSON': From 17b32fea906bd14728b631aa8d5100fe55518bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 15:51:23 +0200 Subject: [PATCH 32/45] Downgrade queue library --- composer.json | 2 +- composer.lock | 232 ++++++++++++++++++++++++-------------------------- 2 files changed, 111 insertions(+), 123 deletions(-) diff --git a/composer.json b/composer.json index c4e5e72305..1dc7288441 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.12.0", + "utopia-php/queue": "0.11.*", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", diff --git a/composer.lock b/composer.lock index d8323ceeea..3aff5e2664 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": "afc8b2b314887779f507fd6a101ef6af", + "content-hash": "7553e976312b0423cc31544abb91caec", "packages": [ { "name": "adhocore/jwt", @@ -67,99 +67,6 @@ ], "time": "2025-02-18T01:00:50+00:00" }, - { - "name": "appwrite-labs/php-amqplib", - "version": "0.1.2", - "source": { - "type": "git", - "url": "https://github.com/appwrite-labs/php-amqplib.git", - "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/appwrite-labs/php-amqplib/zipball/c8e043045388ddad5ddab5f48df2b9046ca6873f", - "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "ext-sockets": "*", - "php": "^7.2||^8.0", - "phpseclib/phpseclib": "^2.0|^3.0" - }, - "conflict": { - "php": "7.4.0 - 7.4.1" - }, - "replace": { - "php-amqplib/php-amqplib": "self.version", - "videlalvaro/php-amqplib": "self.version" - }, - "require-dev": { - "ext-curl": "*", - "nategood/httpful": "^0.2.20", - "phpunit/phpunit": "^7.5|^9.5", - "squizlabs/php_codesniffer": "^3.6", - "swoole/ide-helper": "^5.0" - }, - "suggest": { - "ext-swoole": "For Swoole coroutine support" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "PhpAmqpLib\\": "PhpAmqpLib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1-or-later" - ], - "authors": [ - { - "name": "Appwrite Labs", - "email": "team@appwrite.io", - "role": "Fork Maintainer" - }, - { - "name": "Alvaro Videla", - "role": "Original Maintainer" - }, - { - "name": "Raúl Araya", - "email": "nubeiro@gmail.com", - "role": "Maintainer" - }, - { - "name": "Luke Bakken", - "email": "luke@bakken.io", - "role": "Maintainer" - }, - { - "name": "Ramūnas Dronga", - "email": "github@ramuno.lt", - "role": "Maintainer" - } - ], - "description": "Fork of php-amqplib with Swoole coroutine support. A pure PHP implementation of the AMQP protocol tested against RabbitMQ.", - "homepage": "https://github.com/appwrite-labs/php-amqplib/", - "keywords": [ - "async", - "coroutine", - "message", - "queue", - "rabbitmq", - "swoole" - ], - "support": { - "source": "https://github.com/appwrite-labs/php-amqplib/tree/0.1.2" - }, - "time": "2025-07-04T20:54:22+00:00" - }, { "name": "appwrite/appwrite", "version": "15.1.0", @@ -1780,6 +1687,87 @@ }, "time": "2020-10-15T08:29:30+00:00" }, + { + "name": "php-amqplib/php-amqplib", + "version": "v3.7.3", + "source": { + "type": "git", + "url": "https://github.com/php-amqplib/php-amqplib.git", + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/9f50fe69a9f1a19e2cb25596a354d705de36fe59", + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-sockets": "*", + "php": "^7.2||^8.0", + "phpseclib/phpseclib": "^2.0|^3.0" + }, + "conflict": { + "php": "7.4.0 - 7.4.1" + }, + "replace": { + "videlalvaro/php-amqplib": "self.version" + }, + "require-dev": { + "ext-curl": "*", + "nategood/httpful": "^0.2.20", + "phpunit/phpunit": "^7.5|^9.5", + "squizlabs/php_codesniffer": "^3.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpAmqpLib\\": "PhpAmqpLib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Alvaro Videla", + "role": "Original Maintainer" + }, + { + "name": "Raúl Araya", + "email": "nubeiro@gmail.com", + "role": "Maintainer" + }, + { + "name": "Luke Bakken", + "email": "luke@bakken.io", + "role": "Maintainer" + }, + { + "name": "Ramūnas Dronga", + "email": "github@ramuno.lt", + "role": "Maintainer" + } + ], + "description": "Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.", + "homepage": "https://github.com/php-amqplib/php-amqplib/", + "keywords": [ + "message", + "queue", + "rabbitmq" + ], + "support": { + "issues": "https://github.com/php-amqplib/php-amqplib/issues", + "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.3" + }, + "time": "2025-02-18T20:11:13+00:00" + }, { "name": "php-http/discovery", "version": "1.20.0", @@ -3650,16 +3638,16 @@ }, { "name": "utopia-php/database", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0" + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4", + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4", "shasum": "" }, "require": { @@ -3700,9 +3688,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.4.0" + "source": "https://github.com/utopia-php/database/tree/1.4.1" }, - "time": "2025-09-04T11:45:26+00:00" + "time": "2025-09-05T13:23:52+00:00" }, { "name": "utopia-php/detector", @@ -4308,16 +4296,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.11", + "version": "0.7.8", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850" + "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", - "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/e3a4536c46f10988b1a446ec6b8dd8a9914be854", + "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854", "shasum": "" }, "require": { @@ -4326,7 +4314,7 @@ "php": ">=8.0", "utopia-php/cli": "0.15.*", "utopia-php/framework": "0.33.*", - "utopia-php/queue": "^0.12.0" + "utopia-php/queue": "0.11.*" }, "require-dev": { "laravel/pint": "1.*", @@ -4352,9 +4340,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.11" + "source": "https://github.com/utopia-php/platform/tree/0.7.8" }, - "time": "2025-09-04T04:38:38+00:00" + "time": "2025-05-30T10:05:43+00:00" }, { "name": "utopia-php/pools", @@ -4463,21 +4451,21 @@ }, { "name": "utopia-php/queue", - "version": "0.12.0", + "version": "0.11.1", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574" + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/3a7603ee712c592bfc54af4a76f0426c428b5574", - "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", "shasum": "" }, "require": { - "appwrite-labs/php-amqplib": "^0.1", "php": ">=8.3", + "php-amqplib/php-amqplib": "^3.7", "utopia-php/cli": "0.15.*", "utopia-php/fetch": "0.4.*", "utopia-php/framework": "0.33.*", @@ -4523,9 +4511,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.12.0" + "source": "https://github.com/utopia-php/queue/tree/0.11.1" }, - "time": "2025-06-24T18:58:38+00:00" + "time": "2025-05-30T11:50:34+00:00" }, { "name": "utopia-php/registry", @@ -5019,16 +5007,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f" + "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/db229faf442a64094ebdea7d4b66f48184a7106f", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", + "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", "shasum": "" }, "require": { @@ -5064,9 +5052,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.2.2" + "source": "https://github.com/appwrite/sdk-generator/tree/1.3.0" }, - "time": "2025-09-05T08:28:53+00:00" + "time": "2025-09-05T09:01:21+00:00" }, { "name": "doctrine/annotations", @@ -8524,7 +8512,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8548,5 +8536,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } From 5e9eff18c4ce26ab212a1f35243f03620ab1231d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 15:58:10 +0200 Subject: [PATCH 33/45] Revert "Downgrade queue library" This reverts commit 17b32fea906bd14728b631aa8d5100fe55518bb8. --- composer.json | 2 +- composer.lock | 232 ++++++++++++++++++++++++++------------------------ 2 files changed, 123 insertions(+), 111 deletions(-) diff --git a/composer.json b/composer.json index 1dc7288441..c4e5e72305 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.11.*", + "utopia-php/queue": "0.12.0", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", diff --git a/composer.lock b/composer.lock index 3aff5e2664..d8323ceeea 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": "7553e976312b0423cc31544abb91caec", + "content-hash": "afc8b2b314887779f507fd6a101ef6af", "packages": [ { "name": "adhocore/jwt", @@ -67,6 +67,99 @@ ], "time": "2025-02-18T01:00:50+00:00" }, + { + "name": "appwrite-labs/php-amqplib", + "version": "0.1.2", + "source": { + "type": "git", + "url": "https://github.com/appwrite-labs/php-amqplib.git", + "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/appwrite-labs/php-amqplib/zipball/c8e043045388ddad5ddab5f48df2b9046ca6873f", + "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-sockets": "*", + "php": "^7.2||^8.0", + "phpseclib/phpseclib": "^2.0|^3.0" + }, + "conflict": { + "php": "7.4.0 - 7.4.1" + }, + "replace": { + "php-amqplib/php-amqplib": "self.version", + "videlalvaro/php-amqplib": "self.version" + }, + "require-dev": { + "ext-curl": "*", + "nategood/httpful": "^0.2.20", + "phpunit/phpunit": "^7.5|^9.5", + "squizlabs/php_codesniffer": "^3.6", + "swoole/ide-helper": "^5.0" + }, + "suggest": { + "ext-swoole": "For Swoole coroutine support" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpAmqpLib\\": "PhpAmqpLib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Appwrite Labs", + "email": "team@appwrite.io", + "role": "Fork Maintainer" + }, + { + "name": "Alvaro Videla", + "role": "Original Maintainer" + }, + { + "name": "Raúl Araya", + "email": "nubeiro@gmail.com", + "role": "Maintainer" + }, + { + "name": "Luke Bakken", + "email": "luke@bakken.io", + "role": "Maintainer" + }, + { + "name": "Ramūnas Dronga", + "email": "github@ramuno.lt", + "role": "Maintainer" + } + ], + "description": "Fork of php-amqplib with Swoole coroutine support. A pure PHP implementation of the AMQP protocol tested against RabbitMQ.", + "homepage": "https://github.com/appwrite-labs/php-amqplib/", + "keywords": [ + "async", + "coroutine", + "message", + "queue", + "rabbitmq", + "swoole" + ], + "support": { + "source": "https://github.com/appwrite-labs/php-amqplib/tree/0.1.2" + }, + "time": "2025-07-04T20:54:22+00:00" + }, { "name": "appwrite/appwrite", "version": "15.1.0", @@ -1687,87 +1780,6 @@ }, "time": "2020-10-15T08:29:30+00:00" }, - { - "name": "php-amqplib/php-amqplib", - "version": "v3.7.3", - "source": { - "type": "git", - "url": "https://github.com/php-amqplib/php-amqplib.git", - "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/9f50fe69a9f1a19e2cb25596a354d705de36fe59", - "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "ext-sockets": "*", - "php": "^7.2||^8.0", - "phpseclib/phpseclib": "^2.0|^3.0" - }, - "conflict": { - "php": "7.4.0 - 7.4.1" - }, - "replace": { - "videlalvaro/php-amqplib": "self.version" - }, - "require-dev": { - "ext-curl": "*", - "nategood/httpful": "^0.2.20", - "phpunit/phpunit": "^7.5|^9.5", - "squizlabs/php_codesniffer": "^3.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "PhpAmqpLib\\": "PhpAmqpLib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1-or-later" - ], - "authors": [ - { - "name": "Alvaro Videla", - "role": "Original Maintainer" - }, - { - "name": "Raúl Araya", - "email": "nubeiro@gmail.com", - "role": "Maintainer" - }, - { - "name": "Luke Bakken", - "email": "luke@bakken.io", - "role": "Maintainer" - }, - { - "name": "Ramūnas Dronga", - "email": "github@ramuno.lt", - "role": "Maintainer" - } - ], - "description": "Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.", - "homepage": "https://github.com/php-amqplib/php-amqplib/", - "keywords": [ - "message", - "queue", - "rabbitmq" - ], - "support": { - "issues": "https://github.com/php-amqplib/php-amqplib/issues", - "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.3" - }, - "time": "2025-02-18T20:11:13+00:00" - }, { "name": "php-http/discovery", "version": "1.20.0", @@ -3638,16 +3650,16 @@ }, { "name": "utopia-php/database", - "version": "1.4.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4" + "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4", - "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4", + "url": "https://api.github.com/repos/utopia-php/database/zipball/d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", + "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", "shasum": "" }, "require": { @@ -3688,9 +3700,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.4.1" + "source": "https://github.com/utopia-php/database/tree/1.4.0" }, - "time": "2025-09-05T13:23:52+00:00" + "time": "2025-09-04T11:45:26+00:00" }, { "name": "utopia-php/detector", @@ -4296,16 +4308,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.8", + "version": "0.7.11", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854" + "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/e3a4536c46f10988b1a446ec6b8dd8a9914be854", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", + "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", "shasum": "" }, "require": { @@ -4314,7 +4326,7 @@ "php": ">=8.0", "utopia-php/cli": "0.15.*", "utopia-php/framework": "0.33.*", - "utopia-php/queue": "0.11.*" + "utopia-php/queue": "^0.12.0" }, "require-dev": { "laravel/pint": "1.*", @@ -4340,9 +4352,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.8" + "source": "https://github.com/utopia-php/platform/tree/0.7.11" }, - "time": "2025-05-30T10:05:43+00:00" + "time": "2025-09-04T04:38:38+00:00" }, { "name": "utopia-php/pools", @@ -4451,21 +4463,21 @@ }, { "name": "utopia-php/queue", - "version": "0.11.1", + "version": "0.12.0", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6" + "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", - "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/3a7603ee712c592bfc54af4a76f0426c428b5574", + "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574", "shasum": "" }, "require": { + "appwrite-labs/php-amqplib": "^0.1", "php": ">=8.3", - "php-amqplib/php-amqplib": "^3.7", "utopia-php/cli": "0.15.*", "utopia-php/fetch": "0.4.*", "utopia-php/framework": "0.33.*", @@ -4511,9 +4523,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.11.1" + "source": "https://github.com/utopia-php/queue/tree/0.12.0" }, - "time": "2025-05-30T11:50:34+00:00" + "time": "2025-06-24T18:58:38+00:00" }, { "name": "utopia-php/registry", @@ -5007,16 +5019,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.3.0", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf" + "reference": "db229faf442a64094ebdea7d4b66f48184a7106f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", - "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/db229faf442a64094ebdea7d4b66f48184a7106f", + "reference": "db229faf442a64094ebdea7d4b66f48184a7106f", "shasum": "" }, "require": { @@ -5052,9 +5064,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.3.0" + "source": "https://github.com/appwrite/sdk-generator/tree/1.2.2" }, - "time": "2025-09-05T09:01:21+00:00" + "time": "2025-09-05T08:28:53+00:00" }, { "name": "doctrine/annotations", @@ -8512,7 +8524,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8536,5 +8548,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } From 79fcfff4f4550bc58aed336ceee9b431b466bf4b Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 20:04:56 +0530 Subject: [PATCH 34/45] updated specs --- app/config/specs/open-api3-1.8.x-console.json | 30 ++++------------ app/config/specs/open-api3-1.8.x-server.json | 30 ++++------------ .../specs/open-api3-latest-console.json | 30 ++++------------ app/config/specs/open-api3-latest-server.json | 30 ++++------------ app/config/specs/swagger2-1.8.x-console.json | 36 ++++--------------- app/config/specs/swagger2-1.8.x-server.json | 36 ++++--------------- app/config/specs/swagger2-latest-console.json | 36 ++++--------------- app/config/specs/swagger2-latest-server.json | 36 ++++--------------- .../SDK/Specification/Format/OpenAPI3.php | 6 +++- .../SDK/Specification/Format/Swagger2.php | 4 +++ 10 files changed, 57 insertions(+), 217 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 4474a26447..3577a30ad2 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -47385,15 +47385,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -47467,7 +47464,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47479,9 +47476,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -47561,7 +47555,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47585,9 +47579,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48739,15 +48730,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48821,7 +48809,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48833,9 +48821,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48915,7 +48900,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48939,9 +48924,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index fe90340123..c63d8060b5 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -36255,15 +36255,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -36337,7 +36334,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36349,9 +36346,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -36431,7 +36425,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36455,9 +36449,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37609,15 +37600,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37691,7 +37679,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37703,9 +37691,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37785,7 +37770,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37809,9 +37794,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 4474a26447..3577a30ad2 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -47385,15 +47385,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -47467,7 +47464,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47479,9 +47476,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -47561,7 +47555,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47585,9 +47579,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48739,15 +48730,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48821,7 +48809,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48833,9 +48821,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -48915,7 +48900,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48939,9 +48924,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index fe90340123..c63d8060b5 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -36255,15 +36255,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -36337,7 +36334,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36349,9 +36346,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -36431,7 +36425,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36455,9 +36449,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37609,15 +37600,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37691,7 +37679,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37703,9 +37691,6 @@ 1 ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, @@ -37785,7 +37770,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37809,9 +37794,6 @@ ] ] ], - "items": { - "$ref": "#\/components\/schemas\/array" - }, "nullable": true } }, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 83685ada08..0e0ce3f7fd 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -47406,16 +47406,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -47489,7 +47485,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47501,10 +47497,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -47584,7 +47576,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47608,10 +47600,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48764,16 +48752,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48847,7 +48831,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48859,10 +48843,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48942,7 +48922,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48966,10 +48946,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index e8a99e81a7..059a327fa1 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -36367,16 +36367,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -36450,7 +36446,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36462,10 +36458,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -36545,7 +36537,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36569,10 +36561,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37725,16 +37713,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37808,7 +37792,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37820,10 +37804,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37903,7 +37883,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37927,10 +37907,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 83685ada08..0e0ce3f7fd 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -47406,16 +47406,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -47489,7 +47485,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47501,10 +47497,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -47584,7 +47576,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -47608,10 +47600,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48764,16 +48752,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48847,7 +48831,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48859,10 +48843,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -48942,7 +48922,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -48966,10 +48946,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index e8a99e81a7..059a327fa1 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -36367,16 +36367,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -36450,7 +36446,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36462,10 +36458,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -36545,7 +36537,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": [ [ @@ -36569,10 +36561,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37725,16 +37713,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ 0, 0 ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37808,7 +37792,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37820,10 +37804,6 @@ 1 ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, @@ -37903,7 +37883,7 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": [ [ @@ -37927,10 +37907,6 @@ ] ] ], - "items": { - "type": "object", - "$ref": "#\/definitions\/array" - }, "x-nullable": true } }, diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 3b2a4d698a..e059eb5a02 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -675,7 +675,11 @@ class OpenAPI3 extends Format $type = 'object'; $output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true; break; - + + case 'array': + $type = 'array'; + break; + case 'integer': $type = 'integer'; $format = 'int32'; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 25231de008..01ffaa181a 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -683,6 +683,10 @@ class Swagger2 extends Format $type = 'object'; break; + case 'array': + $type = 'array'; + break; + case 'integer': $type = 'integer'; $format = 'int32'; From 28f7161964a4226ffaba3541894c88113677ddc1 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 20:38:46 +0530 Subject: [PATCH 35/45] updated example for the specs to have string instead of arrays to solve error during sdk gen --- app/config/specs/open-api3-1.8.x-console.json | 132 ++---------------- app/config/specs/open-api3-1.8.x-server.json | 132 ++---------------- .../specs/open-api3-latest-console.json | 132 ++---------------- app/config/specs/open-api3-latest-server.json | 132 ++---------------- app/config/specs/swagger2-1.8.x-console.json | 132 ++---------------- app/config/specs/swagger2-1.8.x-server.json | 132 ++---------------- app/config/specs/swagger2-latest-console.json | 132 ++---------------- app/config/specs/swagger2-latest-server.json | 132 ++---------------- .../SDK/Specification/Format/OpenAPI3.php | 6 +- .../SDK/Specification/Format/Swagger2.php | 4 +- 10 files changed, 101 insertions(+), 965 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 3577a30ad2..a4dcedbc9f 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7860,16 +7860,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7980,16 +7971,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -8100,16 +8082,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -8220,16 +8193,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -8340,16 +8304,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -8460,16 +8415,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35382,16 +35328,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35501,16 +35438,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35620,16 +35548,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35739,16 +35658,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35858,16 +35768,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35977,16 +35878,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index c63d8060b5..611848e155 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7323,16 +7323,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7444,16 +7435,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -7565,16 +7547,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7686,16 +7659,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -7807,16 +7771,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7928,16 +7883,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -25816,16 +25762,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -25936,16 +25873,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -26056,16 +25984,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -26176,16 +26095,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -26296,16 +26206,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -26416,16 +26317,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 3577a30ad2..a4dcedbc9f 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7860,16 +7860,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7980,16 +7971,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -8100,16 +8082,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -8220,16 +8193,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -8340,16 +8304,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -8460,16 +8415,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35382,16 +35328,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35501,16 +35438,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35620,16 +35548,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35739,16 +35658,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -35858,16 +35768,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -35977,16 +35878,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index c63d8060b5..611848e155 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7323,16 +7323,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7444,16 +7435,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -7565,16 +7547,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7686,16 +7659,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -7807,16 +7771,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -7928,16 +7883,7 @@ "default": { "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -25816,16 +25762,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -25936,16 +25873,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -26056,16 +25984,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -26176,16 +26095,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, @@ -26296,16 +26206,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true } @@ -26416,16 +26317,7 @@ "default": { "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "items": {}, "x-nullable": true }, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 0e0ce3f7fd..331f2d1eee 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7998,16 +7998,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8114,16 +8105,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -8234,16 +8216,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8350,16 +8323,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -8470,16 +8434,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8586,16 +8541,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35530,16 +35476,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -35645,16 +35582,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35764,16 +35692,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -35879,16 +35798,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35998,16 +35908,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -36113,16 +36014,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 059a327fa1..5d3e74e3ce 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7451,16 +7451,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -7568,16 +7559,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -7689,16 +7671,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -7806,16 +7779,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -7927,16 +7891,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8044,16 +7999,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26019,16 +25965,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26135,16 +26072,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26255,16 +26183,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26371,16 +26290,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26491,16 +26401,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26607,16 +26508,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 0e0ce3f7fd..331f2d1eee 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7998,16 +7998,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8114,16 +8105,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -8234,16 +8216,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8350,16 +8323,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -8470,16 +8434,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8586,16 +8541,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35530,16 +35476,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -35645,16 +35582,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35764,16 +35692,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -35879,16 +35798,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -35998,16 +35908,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -36113,16 +36014,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 059a327fa1..5d3e74e3ce 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7451,16 +7451,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -7568,16 +7559,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -7689,16 +7671,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -7806,16 +7779,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -7927,16 +7891,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -8044,16 +7999,7 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26019,16 +25965,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26135,16 +26072,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26255,16 +26183,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26371,16 +26290,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, @@ -26491,16 +26401,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} } @@ -26607,16 +26508,7 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, - "x-example": [ - [ - 1, - 2 - ], - [ - 3, - 4 - ] - ], + "x-example": "[[1,2], [3, 4]]", "x-nullable": true, "items": {} }, diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index e059eb5a02..dfd6db5ef1 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -450,7 +450,7 @@ class OpenAPI3 extends Format case 'Utopia\Database\Validator\Spatial': $node['schema']['type'] = 'array'; $node['schema']['items'] = new \stdClass(); - $node['schema']['x-example'] = [[1,2], [3, 4]]; + $node['schema']['x-example'] = '[[1,2], [3, 4]]'; break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': case 'Appwrite\Utopia\Database\Validator\Queries\Attributes': @@ -675,11 +675,11 @@ class OpenAPI3 extends Format $type = 'object'; $output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true; break; - + case 'array': $type = 'array'; break; - + case 'integer': $type = 'integer'; $format = 'int32'; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 01ffaa181a..784a46b3aa 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -465,7 +465,7 @@ class Swagger2 extends Format case 'Utopia\Database\Validator\Spatial': $node['type'] = 'array'; $node['items'] = new \stdClass(); - $node['x-example'] = [[1,2], [3, 4]]; + $node['x-example'] = '[[1,2], [3, 4]]'; break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': @@ -686,7 +686,7 @@ class Swagger2 extends Format case 'array': $type = 'array'; break; - + case 'integer': $type = 'integer'; $format = 'int32'; From 8f90774540d093443e9cf1d7e7518690f2b24426 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 20:51:15 +0530 Subject: [PATCH 36/45] updated open api and swagger parser for the array of any type --- app/config/specs/open-api3-1.8.x-console.json | 96 ++++++++++++++++--- app/config/specs/open-api3-1.8.x-server.json | 96 ++++++++++++++++--- .../specs/open-api3-latest-console.json | 96 ++++++++++++++++--- app/config/specs/open-api3-latest-server.json | 96 ++++++++++++++++--- app/config/specs/swagger2-1.8.x-console.json | 36 +++---- app/config/specs/swagger2-1.8.x-server.json | 36 +++---- app/config/specs/swagger2-latest-console.json | 36 +++---- app/config/specs/swagger2-latest-server.json | 36 +++---- .../SDK/Specification/Format/OpenAPI3.php | 6 +- .../SDK/Specification/Format/Swagger2.php | 6 +- 10 files changed, 394 insertions(+), 146 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index a4dcedbc9f..f3366b3bd9 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7861,7 +7861,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7972,7 +7978,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8083,7 +8095,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8194,7 +8212,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8305,7 +8329,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8416,7 +8446,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35329,7 +35365,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35439,7 +35481,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35549,7 +35597,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35659,7 +35713,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35769,7 +35829,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35879,7 +35945,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 611848e155..448774c13e 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7324,7 +7324,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7436,7 +7442,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7548,7 +7560,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7660,7 +7678,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7772,7 +7796,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7884,7 +7914,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25763,7 +25799,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -25874,7 +25916,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25985,7 +26033,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26096,7 +26150,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26207,7 +26267,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26318,7 +26384,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index a4dcedbc9f..f3366b3bd9 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7861,7 +7861,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7972,7 +7978,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8083,7 +8095,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8194,7 +8212,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8305,7 +8329,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8416,7 +8446,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35329,7 +35365,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35439,7 +35481,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35549,7 +35597,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35659,7 +35713,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35769,7 +35829,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35879,7 +35945,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 611848e155..448774c13e 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7324,7 +7324,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7436,7 +7442,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7548,7 +7560,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7660,7 +7678,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7772,7 +7796,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7884,7 +7914,13 @@ "type": "array", "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25763,7 +25799,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -25874,7 +25916,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25985,7 +26033,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26096,7 +26150,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26207,7 +26267,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26318,7 +26384,13 @@ "type": "array", "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", - "items": {}, + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 331f2d1eee..2e0db98766 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7999,8 +7999,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8106,8 +8105,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -8217,8 +8215,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8324,8 +8321,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -8435,8 +8431,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8542,8 +8537,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35477,8 +35471,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -35583,8 +35576,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35693,8 +35685,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -35799,8 +35790,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35909,8 +35899,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -36015,8 +36004,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 5d3e74e3ce..2d2893295b 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7452,8 +7452,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -7560,8 +7559,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -7672,8 +7670,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -7780,8 +7777,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -7892,8 +7888,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8000,8 +7995,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -25966,8 +25960,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26073,8 +26066,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -26184,8 +26176,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26291,8 +26282,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -26402,8 +26392,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26509,8 +26498,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 331f2d1eee..2e0db98766 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7999,8 +7999,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8106,8 +8105,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -8217,8 +8215,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8324,8 +8321,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -8435,8 +8431,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8542,8 +8537,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35477,8 +35471,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -35583,8 +35576,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35693,8 +35685,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -35799,8 +35790,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -35909,8 +35899,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -36015,8 +36004,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 5d3e74e3ce..2d2893295b 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7452,8 +7452,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -7560,8 +7559,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -7672,8 +7670,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -7780,8 +7777,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -7892,8 +7888,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -8000,8 +7995,7 @@ "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -25966,8 +25960,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26073,8 +26066,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -26184,8 +26176,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26291,8 +26282,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", @@ -26402,8 +26392,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true } }, "required": [ @@ -26509,8 +26498,7 @@ "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", - "x-nullable": true, - "items": {} + "x-nullable": true }, "newKey": { "type": "string", diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index dfd6db5ef1..6432342e45 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -449,7 +449,11 @@ class OpenAPI3 extends Format break; case 'Utopia\Database\Validator\Spatial': $node['schema']['type'] = 'array'; - $node['schema']['items'] = new \stdClass(); + $node['schema']['items'] = [ + 'oneOf' => [ + ['type' => 'array'] + ] + ]; $node['schema']['x-example'] = '[[1,2], [3, 4]]'; break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 784a46b3aa..8a84a3a398 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -464,7 +464,11 @@ class Swagger2 extends Format break; case 'Utopia\Database\Validator\Spatial': $node['type'] = 'array'; - $node['items'] = new \stdClass(); + $node['schema']['items'] = [ + 'oneOf' => [ + ['type' => 'array'] + ] + ]; $node['x-example'] = '[[1,2], [3, 4]]'; break; case 'Utopia\Validator\JSON': From 3a3820c2566c693d82db23b40c9de13a9bd034cb Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 21:13:10 +0530 Subject: [PATCH 37/45] updated default value descriptions for the spatial types --- .../Http/Databases/Collections/Attributes/Line/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Line/Update.php | 2 +- .../Http/Databases/Collections/Attributes/Point/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Point/Update.php | 2 +- .../Http/Databases/Collections/Attributes/Polygon/Create.php | 2 +- .../Http/Databases/Collections/Attributes/Polygon/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Line/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Line/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Point/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Point/Update.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php | 2 +- .../Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index 8ea9dc7176..4eb3345823 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index dd5dbc6a1a..8fcb867923 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index 1601c85bb1..47c88497ba 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index 97710deccb..bffe802927 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 8a40c07280..6cc74254ae 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index 66827d15c8..d78bfa8ef0 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php index 8b597d66c9..f60d4dd5b8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php @@ -56,7 +56,7 @@ class Create extends LineCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php index 1848848c20..19c6df202d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php @@ -58,7 +58,7 @@ class Update extends LineUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php index f5740d8dbb..47d97e8077 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php @@ -56,7 +56,7 @@ class Create extends PointCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php index ffcb2902d8..2e98bf2cf9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php @@ -58,7 +58,7 @@ class Update extends PointUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php index 251c013a2b..371d5f8fd5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php @@ -56,7 +56,7 @@ class Create extends PolygonCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php index f1104f5410..c5654b77d4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php @@ -58,7 +58,7 @@ class Update extends PolygonUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') From 8ec0f8a8f4c6fe24c1a82569bb114271f15b7051 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 21:16:10 +0530 Subject: [PATCH 38/45] updated specs --- app/config/specs/open-api3-1.8.x-console.json | 24 +++++++++---------- app/config/specs/open-api3-1.8.x-server.json | 24 +++++++++---------- .../specs/open-api3-latest-console.json | 24 +++++++++---------- app/config/specs/open-api3-latest-server.json | 24 +++++++++---------- app/config/specs/swagger2-1.8.x-console.json | 24 +++++++++---------- app/config/specs/swagger2-1.8.x-server.json | 24 +++++++++---------- app/config/specs/swagger2-latest-console.json | 24 +++++++++---------- app/config/specs/swagger2-latest-server.json | 24 +++++++++---------- 8 files changed, 96 insertions(+), 96 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index f3366b3bd9..53137becbb 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -7859,7 +7859,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7976,7 +7976,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8093,7 +8093,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8210,7 +8210,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8327,7 +8327,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8444,7 +8444,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35363,7 +35363,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35479,7 +35479,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35595,7 +35595,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35711,7 +35711,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35827,7 +35827,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35943,7 +35943,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 448774c13e..ee0b6f59ac 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -7322,7 +7322,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7440,7 +7440,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7558,7 +7558,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7676,7 +7676,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7794,7 +7794,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7912,7 +7912,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -25797,7 +25797,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -25914,7 +25914,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26031,7 +26031,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26148,7 +26148,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26265,7 +26265,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26382,7 +26382,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index f3366b3bd9..53137becbb 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -7859,7 +7859,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7976,7 +7976,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8093,7 +8093,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8210,7 +8210,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8327,7 +8327,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -8444,7 +8444,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35363,7 +35363,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35479,7 +35479,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35595,7 +35595,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35711,7 +35711,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35827,7 +35827,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -35943,7 +35943,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 448774c13e..ee0b6f59ac 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -7322,7 +7322,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7440,7 +7440,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7558,7 +7558,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7676,7 +7676,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7794,7 +7794,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -7912,7 +7912,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -25797,7 +25797,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -25914,7 +25914,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26031,7 +26031,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26148,7 +26148,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26265,7 +26265,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ @@ -26382,7 +26382,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "x-example": "[[1,2], [3, 4]]", "items": { "oneOf": [ diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 2e0db98766..393c2ce9c8 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -7996,7 +7996,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8102,7 +8102,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8212,7 +8212,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8318,7 +8318,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8428,7 +8428,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8534,7 +8534,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35468,7 +35468,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35573,7 +35573,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35682,7 +35682,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35787,7 +35787,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35896,7 +35896,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -36001,7 +36001,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 2d2893295b..812598f516 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -7449,7 +7449,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7556,7 +7556,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7667,7 +7667,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7774,7 +7774,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7885,7 +7885,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7992,7 +7992,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -25957,7 +25957,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26063,7 +26063,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26173,7 +26173,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26279,7 +26279,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26389,7 +26389,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26495,7 +26495,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 2e0db98766..393c2ce9c8 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -7996,7 +7996,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8102,7 +8102,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8212,7 +8212,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8318,7 +8318,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8428,7 +8428,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -8534,7 +8534,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35468,7 +35468,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35573,7 +35573,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35682,7 +35682,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35787,7 +35787,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -35896,7 +35896,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -36001,7 +36001,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 2d2893295b..812598f516 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -7449,7 +7449,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7556,7 +7556,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7667,7 +7667,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7774,7 +7774,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7885,7 +7885,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -7992,7 +7992,7 @@ }, "default": { "type": "array", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -25957,7 +25957,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26063,7 +26063,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26173,7 +26173,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26279,7 +26279,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26389,7 +26389,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true @@ -26495,7 +26495,7 @@ }, "default": { "type": "array", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, "x-example": "[[1,2], [3, 4]]", "x-nullable": true From d415a2dc5a3e977364b6c812c8d3f4b0353d463d Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 5 Sep 2025 21:22:25 +0530 Subject: [PATCH 39/45] updated composer for sdk generator --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 00743e1b88..1e422773e5 100644 --- a/composer.lock +++ b/composer.lock @@ -5019,16 +5019,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.3.0", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf" + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", - "reference": "aea747cdfbf4c988b9a065b4f4774cf7e083d3bf", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/375a6c9b168db6fdf58fbe0d49d2261d80700b4a", + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a", "shasum": "" }, "require": { @@ -5064,9 +5064,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.3.0" + "source": "https://github.com/appwrite/sdk-generator/tree/1.3.2" }, - "time": "2025-09-05T09:01:21+00:00" + "time": "2025-09-05T15:50:35+00:00" }, { "name": "doctrine/annotations", From 2dbb8b15e6d58c06b5e022f580a058b692f4ab87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 17:59:18 +0200 Subject: [PATCH 40/45] Upgrade platform lib to have older queue lib --- composer.json | 4 +- composer.lock | 232 ++++++++++++++++++++++++-------------------------- 2 files changed, 112 insertions(+), 124 deletions(-) diff --git a/composer.json b/composer.json index c4e5e72305..f9eb79ce99 100644 --- a/composer.json +++ b/composer.json @@ -65,10 +65,10 @@ "utopia-php/messaging": "0.18.*", "utopia-php/migration": "1.*", "utopia-php/orchestration": "0.9.*", - "utopia-php/platform": "0.7.*", + "utopia-php/platform": "0.7.12", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.12.0", + "utopia-php/queue": "0.11.*", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", diff --git a/composer.lock b/composer.lock index d8323ceeea..31269cb8fd 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": "afc8b2b314887779f507fd6a101ef6af", + "content-hash": "6ed2032407da84acbb8485bf6b435caf", "packages": [ { "name": "adhocore/jwt", @@ -67,99 +67,6 @@ ], "time": "2025-02-18T01:00:50+00:00" }, - { - "name": "appwrite-labs/php-amqplib", - "version": "0.1.2", - "source": { - "type": "git", - "url": "https://github.com/appwrite-labs/php-amqplib.git", - "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/appwrite-labs/php-amqplib/zipball/c8e043045388ddad5ddab5f48df2b9046ca6873f", - "reference": "c8e043045388ddad5ddab5f48df2b9046ca6873f", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "ext-sockets": "*", - "php": "^7.2||^8.0", - "phpseclib/phpseclib": "^2.0|^3.0" - }, - "conflict": { - "php": "7.4.0 - 7.4.1" - }, - "replace": { - "php-amqplib/php-amqplib": "self.version", - "videlalvaro/php-amqplib": "self.version" - }, - "require-dev": { - "ext-curl": "*", - "nategood/httpful": "^0.2.20", - "phpunit/phpunit": "^7.5|^9.5", - "squizlabs/php_codesniffer": "^3.6", - "swoole/ide-helper": "^5.0" - }, - "suggest": { - "ext-swoole": "For Swoole coroutine support" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "PhpAmqpLib\\": "PhpAmqpLib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1-or-later" - ], - "authors": [ - { - "name": "Appwrite Labs", - "email": "team@appwrite.io", - "role": "Fork Maintainer" - }, - { - "name": "Alvaro Videla", - "role": "Original Maintainer" - }, - { - "name": "Raúl Araya", - "email": "nubeiro@gmail.com", - "role": "Maintainer" - }, - { - "name": "Luke Bakken", - "email": "luke@bakken.io", - "role": "Maintainer" - }, - { - "name": "Ramūnas Dronga", - "email": "github@ramuno.lt", - "role": "Maintainer" - } - ], - "description": "Fork of php-amqplib with Swoole coroutine support. A pure PHP implementation of the AMQP protocol tested against RabbitMQ.", - "homepage": "https://github.com/appwrite-labs/php-amqplib/", - "keywords": [ - "async", - "coroutine", - "message", - "queue", - "rabbitmq", - "swoole" - ], - "support": { - "source": "https://github.com/appwrite-labs/php-amqplib/tree/0.1.2" - }, - "time": "2025-07-04T20:54:22+00:00" - }, { "name": "appwrite/appwrite", "version": "15.1.0", @@ -1780,6 +1687,87 @@ }, "time": "2020-10-15T08:29:30+00:00" }, + { + "name": "php-amqplib/php-amqplib", + "version": "v3.7.3", + "source": { + "type": "git", + "url": "https://github.com/php-amqplib/php-amqplib.git", + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/9f50fe69a9f1a19e2cb25596a354d705de36fe59", + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-sockets": "*", + "php": "^7.2||^8.0", + "phpseclib/phpseclib": "^2.0|^3.0" + }, + "conflict": { + "php": "7.4.0 - 7.4.1" + }, + "replace": { + "videlalvaro/php-amqplib": "self.version" + }, + "require-dev": { + "ext-curl": "*", + "nategood/httpful": "^0.2.20", + "phpunit/phpunit": "^7.5|^9.5", + "squizlabs/php_codesniffer": "^3.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpAmqpLib\\": "PhpAmqpLib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Alvaro Videla", + "role": "Original Maintainer" + }, + { + "name": "Raúl Araya", + "email": "nubeiro@gmail.com", + "role": "Maintainer" + }, + { + "name": "Luke Bakken", + "email": "luke@bakken.io", + "role": "Maintainer" + }, + { + "name": "Ramūnas Dronga", + "email": "github@ramuno.lt", + "role": "Maintainer" + } + ], + "description": "Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.", + "homepage": "https://github.com/php-amqplib/php-amqplib/", + "keywords": [ + "message", + "queue", + "rabbitmq" + ], + "support": { + "issues": "https://github.com/php-amqplib/php-amqplib/issues", + "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.3" + }, + "time": "2025-02-18T20:11:13+00:00" + }, { "name": "php-http/discovery", "version": "1.20.0", @@ -3650,16 +3638,16 @@ }, { "name": "utopia-php/database", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0" + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4", + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4", "shasum": "" }, "require": { @@ -3700,9 +3688,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.4.0" + "source": "https://github.com/utopia-php/database/tree/1.4.1" }, - "time": "2025-09-04T11:45:26+00:00" + "time": "2025-09-05T13:23:52+00:00" }, { "name": "utopia-php/detector", @@ -4308,16 +4296,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.11", + "version": "0.7.12", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850" + "reference": "04255de21db75e90b170040f4d1b457ba721e7a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", - "reference": "f3341d1ef82e0b0f9d5f2c61829c947d86f8c850", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/04255de21db75e90b170040f4d1b457ba721e7a5", + "reference": "04255de21db75e90b170040f4d1b457ba721e7a5", "shasum": "" }, "require": { @@ -4326,7 +4314,7 @@ "php": ">=8.0", "utopia-php/cli": "0.15.*", "utopia-php/framework": "0.33.*", - "utopia-php/queue": "^0.12.0" + "utopia-php/queue": "0.11.*" }, "require-dev": { "laravel/pint": "1.*", @@ -4352,9 +4340,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.11" + "source": "https://github.com/utopia-php/platform/tree/0.7.12" }, - "time": "2025-09-04T04:38:38+00:00" + "time": "2025-09-05T15:53:12+00:00" }, { "name": "utopia-php/pools", @@ -4463,21 +4451,21 @@ }, { "name": "utopia-php/queue", - "version": "0.12.0", + "version": "0.11.1", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574" + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/3a7603ee712c592bfc54af4a76f0426c428b5574", - "reference": "3a7603ee712c592bfc54af4a76f0426c428b5574", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", "shasum": "" }, "require": { - "appwrite-labs/php-amqplib": "^0.1", "php": ">=8.3", + "php-amqplib/php-amqplib": "^3.7", "utopia-php/cli": "0.15.*", "utopia-php/fetch": "0.4.*", "utopia-php/framework": "0.33.*", @@ -4523,9 +4511,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.12.0" + "source": "https://github.com/utopia-php/queue/tree/0.11.1" }, - "time": "2025-06-24T18:58:38+00:00" + "time": "2025-05-30T11:50:34+00:00" }, { "name": "utopia-php/registry", @@ -5019,16 +5007,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.2.2", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f" + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/db229faf442a64094ebdea7d4b66f48184a7106f", - "reference": "db229faf442a64094ebdea7d4b66f48184a7106f", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/375a6c9b168db6fdf58fbe0d49d2261d80700b4a", + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a", "shasum": "" }, "require": { @@ -5064,9 +5052,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.2.2" + "source": "https://github.com/appwrite/sdk-generator/tree/1.3.2" }, - "time": "2025-09-05T08:28:53+00:00" + "time": "2025-09-05T15:50:35+00:00" }, { "name": "doctrine/annotations", @@ -8524,7 +8512,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8548,5 +8536,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } From 5c474ee0076c1c7f0cc0e044b8ebf9b50eb37d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 5 Sep 2025 18:01:52 +0200 Subject: [PATCH 41/45] Improve version control --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f9eb79ce99..1dc7288441 100644 --- a/composer.json +++ b/composer.json @@ -65,7 +65,7 @@ "utopia-php/messaging": "0.18.*", "utopia-php/migration": "1.*", "utopia-php/orchestration": "0.9.*", - "utopia-php/platform": "0.7.12", + "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", "utopia-php/queue": "0.11.*", diff --git a/composer.lock b/composer.lock index 31269cb8fd..11b9a519c2 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": "6ed2032407da84acbb8485bf6b435caf", + "content-hash": "7553e976312b0423cc31544abb91caec", "packages": [ { "name": "adhocore/jwt", From 67fe523716f198a06b784ca4b1218f2bda0e76f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 7 Sep 2025 12:13:11 +0200 Subject: [PATCH 42/45] Fix router compression --- app/controllers/general.php | 8 +++++++- composer.lock | 24 ++++++++++++------------ src/Appwrite/Utopia/Response.php | 18 ------------------ 3 files changed, 19 insertions(+), 31 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 50d56ff9fd..d5169c3458 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -718,7 +718,13 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw continue; } - $response->setHeader($name, $values); + if (\is_array($values)) { + foreach ($values as $value) { + $response->addHeader($name, $value); + } + } else { + $response->addHeader($name, $values); + } } $response diff --git a/composer.lock b/composer.lock index 11b9a519c2..2fd08ed3ef 100644 --- a/composer.lock +++ b/composer.lock @@ -3942,16 +3942,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.24", + "version": "0.33.26", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0" + "reference": "5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/5112b1023342163e3fbedec99f38fc32c8700aa0", - "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0", + "url": "https://api.github.com/repos/utopia-php/http/zipball/5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b", + "reference": "5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b", "shasum": "" }, "require": { @@ -3983,9 +3983,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.24" + "source": "https://github.com/utopia-php/http/tree/0.33.26" }, - "time": "2025-09-04T04:18:39+00:00" + "time": "2025-09-07T10:11:44+00:00" }, { "name": "utopia-php/image", @@ -4627,16 +4627,16 @@ }, { "name": "utopia-php/swoole", - "version": "0.8.3", + "version": "0.8.4", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "1af73dd3e73987cf729c7db399054e4a70befd99" + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/1af73dd3e73987cf729c7db399054e4a70befd99", - "reference": "1af73dd3e73987cf729c7db399054e4a70befd99", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/150c30700e738c52348cce9ed0e0f0ff96872081", + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081", "shasum": "" }, "require": { @@ -4672,9 +4672,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/0.8.3" + "source": "https://github.com/utopia-php/swoole/tree/0.8.4" }, - "time": "2025-03-26T10:09:05+00:00" + "time": "2025-09-07T09:39:46+00:00" }, { "name": "utopia-php/system", diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 4a59ce77ad..67fc83b9fd 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -955,24 +955,6 @@ class Response extends SwooleResponse return !empty($this->filters); } - /** - * Set Header - * - * @param string $key - * @param string|array $value - * @return void - */ - public function setHeader(string $key, mixed $value): void - { - if (is_array($value)) { - // Temporary solution to support proxying Set-cookie (2 cookies, 1 name) - // Ideally this would live in http library, supporting array of values in all adapters - $this->swoole->header($key, $value); - } else { - $this->sendHeader($key, $value); - } - } - /** * Static wrapper to show sensitive data in response * From 79a3b19393736d1ff3a399f77f5e11a2fe984f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 7 Sep 2025 12:56:45 +0200 Subject: [PATCH 43/45] Fix graphQL double server header --- app/controllers/general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index d5169c3458..8280df2769 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1067,7 +1067,7 @@ App::init() } $response - ->addHeader('Server', 'Appwrite') + ->addHeader('Server', 'Appwrite', override: true) ->addHeader('X-Content-Type-Options', 'nosniff') ->addHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE') ->addHeader('Access-Control-Allow-Headers', 'Origin, Cookie, Set-Cookie, X-Requested-With, Content-Type, Access-Control-Allow-Origin, Access-Control-Request-Headers, Accept, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-Appwrite-ID, X-Appwrite-Timestamp, Content-Range, Range, Cache-Control, Expires, Pragma, X-Forwarded-For, X-Forwarded-User-Agent') @@ -1138,7 +1138,7 @@ App::options() $origin = $request->getOrigin(); $response - ->addHeader('Server', 'Appwrite') + ->addHeader('Server', 'Appwrite', override: true) ->addHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE') ->addHeader('Access-Control-Allow-Headers', 'Origin, Cookie, Set-Cookie, X-Requested-With, Content-Type, Access-Control-Allow-Origin, Access-Control-Request-Headers, Accept, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-Appwrite-ID, X-Appwrite-Timestamp, Content-Range, Range, Cache-Control, Expires, Pragma, X-Appwrite-Session, X-Fallback-Cookies, X-Forwarded-For, X-Forwarded-User-Agent') ->addHeader('Access-Control-Expose-Headers', 'X-Appwrite-Session, X-Fallback-Cookies') From 82f30a121b48df3389201c8dc2dd838a0769d7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 7 Sep 2025 20:42:18 +0200 Subject: [PATCH 44/45] upgrade http lib for backwards compatibility default param --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 2fd08ed3ef..bd70f229ad 100644 --- a/composer.lock +++ b/composer.lock @@ -3942,16 +3942,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.26", + "version": "0.33.27", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b" + "reference": "d9d10a895e85c8c7675220347cc6109db9d3bd37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b", - "reference": "5bba671dddc9cb00cb3ef92519ce69aca2ee0d2b", + "url": "https://api.github.com/repos/utopia-php/http/zipball/d9d10a895e85c8c7675220347cc6109db9d3bd37", + "reference": "d9d10a895e85c8c7675220347cc6109db9d3bd37", "shasum": "" }, "require": { @@ -3983,9 +3983,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.26" + "source": "https://github.com/utopia-php/http/tree/0.33.27" }, - "time": "2025-09-07T10:11:44+00:00" + "time": "2025-09-07T18:40:53+00:00" }, { "name": "utopia-php/image", From a7304df2dfeaa717a1f32c43864a6dfd440a835f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 7 Sep 2025 20:44:30 +0200 Subject: [PATCH 45/45] set header override properly --- app/controllers/general.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 8280df2769..8abca96742 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -719,8 +719,11 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw } if (\is_array($values)) { + $count = 0; foreach ($values as $value) { - $response->addHeader($name, $value); + $override = $count === 0; + $response->addHeader($name, $value, override: $override); + $count++; } } else { $response->addHeader($name, $values); @@ -1067,7 +1070,7 @@ App::init() } $response - ->addHeader('Server', 'Appwrite', override: true) + ->addHeader('Server', 'Appwrite') ->addHeader('X-Content-Type-Options', 'nosniff') ->addHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE') ->addHeader('Access-Control-Allow-Headers', 'Origin, Cookie, Set-Cookie, X-Requested-With, Content-Type, Access-Control-Allow-Origin, Access-Control-Request-Headers, Accept, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-Appwrite-ID, X-Appwrite-Timestamp, Content-Range, Range, Cache-Control, Expires, Pragma, X-Forwarded-For, X-Forwarded-User-Agent') @@ -1138,7 +1141,7 @@ App::options() $origin = $request->getOrigin(); $response - ->addHeader('Server', 'Appwrite', override: true) + ->addHeader('Server', 'Appwrite') ->addHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE') ->addHeader('Access-Control-Allow-Headers', 'Origin, Cookie, Set-Cookie, X-Requested-With, Content-Type, Access-Control-Allow-Origin, Access-Control-Request-Headers, Accept, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Dev-Key, X-Appwrite-Locale, X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-SDK-Version, X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-Appwrite-ID, X-Appwrite-Timestamp, Content-Range, Range, Cache-Control, Expires, Pragma, X-Appwrite-Session, X-Fallback-Cookies, X-Forwarded-For, X-Forwarded-User-Agent') ->addHeader('Access-Control-Expose-Headers', 'X-Appwrite-Session, X-Fallback-Cookies')