From 6aa054bc7c91991f469fbbf8b329cbd188f4717c Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sat, 29 Nov 2025 00:56:04 +0530 Subject: [PATCH 1/7] chore: release sdks for adding getScreenshot method to Avatars service --- app/config/platforms.php | 28 +++++++++---------- .../examples/account/create-mfa-challenge.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- .../examples/account/create-mfa-challenge.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- docs/sdks/android/CHANGELOG.md | 5 ++++ docs/sdks/apple/CHANGELOG.md | 5 ++++ docs/sdks/cli/CHANGELOG.md | 4 +++ docs/sdks/dart/CHANGELOG.md | 6 ++++ docs/sdks/dotnet/CHANGELOG.md | 7 +++++ docs/sdks/flutter/CHANGELOG.md | 2 ++ docs/sdks/go/CHANGELOG.md | 7 +++++ docs/sdks/kotlin/CHANGELOG.md | 7 +++++ docs/sdks/nodejs/CHANGELOG.md | 7 +++++ docs/sdks/php/CHANGELOG.md | 6 ++++ docs/sdks/python/CHANGELOG.md | 8 ++++++ docs/sdks/react-native/CHANGELOG.md | 5 ++++ docs/sdks/ruby/CHANGELOG.md | 7 +++++ docs/sdks/swift/CHANGELOG.md | 7 +++++ docs/sdks/web/CHANGELOG.md | 5 ++++ 20 files changed, 106 insertions(+), 18 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index ceb05235d3..b8b66efa39 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -11,7 +11,7 @@ return [ [ 'key' => 'web', 'name' => 'Web', - 'version' => '21.4.0', + 'version' => '21.5.0', 'url' => 'https://github.com/appwrite/sdk-for-web', 'package' => 'https://www.npmjs.com/package/appwrite', 'enabled' => true, @@ -79,7 +79,7 @@ return [ [ 'key' => 'apple', 'name' => 'Apple', - 'version' => '13.4.0', + 'version' => '13.5.0', 'url' => 'https://github.com/appwrite/sdk-for-apple', 'package' => 'https://github.com/appwrite/sdk-for-apple', 'enabled' => true, @@ -116,7 +116,7 @@ return [ [ 'key' => 'android', 'name' => 'Android', - 'version' => '11.3.0', + 'version' => '11.4.0', 'url' => 'https://github.com/appwrite/sdk-for-android', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android', 'enabled' => true, @@ -139,7 +139,7 @@ return [ [ 'key' => 'react-native', 'name' => 'React Native', - 'version' => '0.18.0', + 'version' => '0.19.0', 'url' => 'https://github.com/appwrite/sdk-for-react-native', 'package' => 'https://npmjs.com/package/react-native-appwrite', 'enabled' => true, @@ -226,7 +226,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '12.0.0', + 'version' => '12.0.1', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, @@ -262,7 +262,7 @@ return [ [ 'key' => 'nodejs', 'name' => 'Node.js', - 'version' => '20.3.0', + 'version' => '21.0.0', 'url' => 'https://github.com/appwrite/sdk-for-node', 'package' => 'https://www.npmjs.com/package/node-appwrite', 'enabled' => true, @@ -281,7 +281,7 @@ return [ [ 'key' => 'php', 'name' => 'PHP', - 'version' => '18.0.1', + 'version' => '19.0.0', 'url' => 'https://github.com/appwrite/sdk-for-php', 'package' => 'https://packagist.org/packages/appwrite/appwrite', 'enabled' => true, @@ -300,7 +300,7 @@ return [ [ 'key' => 'python', 'name' => 'Python', - 'version' => '13.6.1', + 'version' => '14.0.0', 'url' => 'https://github.com/appwrite/sdk-for-python', 'package' => 'https://pypi.org/project/appwrite/', 'enabled' => true, @@ -319,7 +319,7 @@ return [ [ 'key' => 'ruby', 'name' => 'Ruby', - 'version' => '19.3.0', + 'version' => '20.0.0', 'url' => 'https://github.com/appwrite/sdk-for-ruby', 'package' => 'https://rubygems.org/gems/appwrite', 'enabled' => true, @@ -338,7 +338,7 @@ return [ [ 'key' => 'go', 'name' => 'Go', - 'version' => 'v0.14.0', + 'version' => 'v0.15.0', 'url' => 'https://github.com/appwrite/sdk-for-go', 'package' => 'https://github.com/appwrite/sdk-for-go', 'enabled' => true, @@ -357,7 +357,7 @@ return [ [ 'key' => 'dotnet', 'name' => '.NET', - 'version' => '0.22.0', + 'version' => '0.23.0', 'url' => 'https://github.com/appwrite/sdk-for-dotnet', 'package' => 'https://www.nuget.org/packages/Appwrite', 'enabled' => true, @@ -376,7 +376,7 @@ return [ [ 'key' => 'dart', 'name' => 'Dart', - 'version' => '19.4.0', + 'version' => '20.0.0', 'url' => 'https://github.com/appwrite/sdk-for-dart', 'package' => 'https://pub.dev/packages/dart_appwrite', 'enabled' => true, @@ -395,7 +395,7 @@ return [ [ 'key' => 'kotlin', 'name' => 'Kotlin', - 'version' => '12.3.0', + 'version' => '13.0.0', 'url' => 'https://github.com/appwrite/sdk-for-kotlin', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin', 'enabled' => true, @@ -418,7 +418,7 @@ return [ [ 'key' => 'swift', 'name' => 'Swift', - 'version' => '13.3.0', + 'version' => '14.0.0', 'url' => 'https://github.com/appwrite/sdk-for-swift', 'package' => 'https://github.com/appwrite/sdk-for-swift', 'enabled' => true, diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md index e5a5b0ea05..dd5ef4c731 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md @@ -1,4 +1,4 @@ -POST /v1/account/mfa/challenges HTTP/1.1 +POST /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md index df2cd9a1e8..b6a7e92b28 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md @@ -1,4 +1,4 @@ -PUT /v1/account/mfa/challenges HTTP/1.1 +PUT /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md index e5a5b0ea05..dd5ef4c731 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md @@ -1,4 +1,4 @@ -POST /v1/account/mfa/challenges HTTP/1.1 +POST /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md index df2cd9a1e8..b6a7e92b28 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md @@ -1,4 +1,4 @@ -PUT /v1/account/mfa/challenges HTTP/1.1 +PUT /v1/account/mfa/challenge HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/sdks/android/CHANGELOG.md b/docs/sdks/android/CHANGELOG.md index c355a1904f..870ba79bfe 100644 --- a/docs/sdks/android/CHANGELOG.md +++ b/docs/sdks/android/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 11.4.0 + +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 11.3.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/apple/CHANGELOG.md b/docs/sdks/apple/CHANGELOG.md index 44c40a5858..7f4141cc34 100644 --- a/docs/sdks/apple/CHANGELOG.md +++ b/docs/sdks/apple/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 13.5.0 + +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 13.4.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/cli/CHANGELOG.md b/docs/sdks/cli/CHANGELOG.md index 3c2e7ef709..9f1f02bbd0 100644 --- a/docs/sdks/cli/CHANGELOG.md +++ b/docs/sdks/cli/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 12.0.1 + +Fix type generation for `point`, `lineString` and `polygon` columns + ## 12.0.0 * Change `create-deployment-template`'s `version` parameter to `type` and `reference`. eg. usage - `create-deployment-template --type tag --reference 1.0.0` diff --git a/docs/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index 7fd7227f15..49d45becaf 100644 --- a/docs/sdks/dart/CHANGELOG.md +++ b/docs/sdks/dart/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 20.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `Theme`, `Timezone` and `Output` enums + ## 19.4.0 * Add `getScreenshot` method to `Avatars` service diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index 1401108b9f..eabf40dac0 100644 --- a/docs/sdks/dotnet/CHANGELOG.md +++ b/docs/sdks/dotnet/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 0.23.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `CreateTemplateDeployment` method signature: replace `Version` parameter with `Type` (TemplateReferenceType) and `Reference` parameters +* Add `GetScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 0.22.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/flutter/CHANGELOG.md b/docs/sdks/flutter/CHANGELOG.md index 40f703903f..834c926977 100644 --- a/docs/sdks/flutter/CHANGELOG.md +++ b/docs/sdks/flutter/CHANGELOG.md @@ -7,6 +7,8 @@ ## 20.3.1 * Fix passing of `null` values and stripping only non-nullable optional parameters from the request body +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums ## 20.3.0 diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index 0cc395644f..c93c431eb7 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## v0.15.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `CreateTemplateDeployment` method signature: replace `Version` parameter with `Type` (TemplateReferenceType) and `Reference` parameters +* Add `GetScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## v0.14.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index 362c9aa979..07e9d9647f 100644 --- a/docs/sdks/kotlin/CHANGELOG.md +++ b/docs/sdks/kotlin/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 13.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 12.3.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index 419b052678..2811a060f4 100644 --- a/docs/sdks/nodejs/CHANGELOG.md +++ b/docs/sdks/nodejs/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 21.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 20.3.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index 14a26e441d..1ffcff2a6e 100644 --- a/docs/sdks/php/CHANGELOG.md +++ b/docs/sdks/php/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 19.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `Theme`, `Timezone` and `Output` enums + ## 18.0.1 * Fix `TablesDB` service to use correct file name diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index 31396fa3e6..ff2ac85322 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 14.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `create_template_deployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `get_screenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums +* Add support for dart39 and flutter335 runtimes + ## 13.6.1 * Fix passing of `None` to nullable parameters diff --git a/docs/sdks/react-native/CHANGELOG.md b/docs/sdks/react-native/CHANGELOG.md index 757a5f0158..8ab9bcca43 100644 --- a/docs/sdks/react-native/CHANGELOG.md +++ b/docs/sdks/react-native/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log +## 0.19.0 + +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 0.18.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index c4b0df5615..272f9b6631 100644 --- a/docs/sdks/ruby/CHANGELOG.md +++ b/docs/sdks/ruby/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 20.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `create_template_deployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `get_screenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 19.3.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index 33ec214069..22ae4719a3 100644 --- a/docs/sdks/swift/CHANGELOG.md +++ b/docs/sdks/swift/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 14.0.0 + +* Rename `VCSDeploymentType` enum to `VCSReferenceType` +* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 13.3.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance diff --git a/docs/sdks/web/CHANGELOG.md b/docs/sdks/web/CHANGELOG.md index 83ed257773..b600d67e1b 100644 --- a/docs/sdks/web/CHANGELOG.md +++ b/docs/sdks/web/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 21.5.0 + +* Add `getScreenshot` method to `Avatars` service +* Add `Theme`, `Timezone` and `Output` enums + ## 21.4.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance From aaafdaae520903eb4a2c937ee81d807e2a3dbfc4 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Mon, 1 Dec 2025 19:21:49 +0530 Subject: [PATCH 2/7] chore: better examples --- app/config/specs/open-api3-1.8.x-client.json | 151 ++--- app/config/specs/open-api3-1.8.x-console.json | 558 +++++++++--------- app/config/specs/open-api3-1.8.x-server.json | 375 ++++++------ app/config/specs/open-api3-latest-client.json | 151 ++--- .../specs/open-api3-latest-console.json | 558 +++++++++--------- app/config/specs/open-api3-latest-server.json | 375 ++++++------ app/config/specs/swagger2-1.8.x-client.json | 151 ++--- app/config/specs/swagger2-1.8.x-console.json | 557 ++++++++--------- app/config/specs/swagger2-1.8.x-server.json | 375 ++++++------ app/config/specs/swagger2-latest-client.json | 151 ++--- app/config/specs/swagger2-latest-console.json | 557 ++++++++--------- app/config/specs/swagger2-latest-server.json | 375 ++++++------ app/controllers/api/avatars.php | 40 +- .../java/avatars/get-screenshot.md | 35 +- .../kotlin/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 70 ++- .../examples/avatars/get-screenshot.md | 35 +- .../examples/account/create-mfa-challenge.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/vcs/list-repositories.md | 3 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 41 +- .../java/avatars/get-screenshot.md | 35 +- .../kotlin/avatars/get-screenshot.md | 41 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/account/create-mfa-challenge.md | 2 +- .../examples/account/update-mfa-challenge.md | 2 +- .../examples/avatars/get-screenshot.md | 35 +- .../examples/avatars/get-screenshot.md | 35 +- .../SDK/Specification/Format/OpenAPI3.php | 71 ++- .../SDK/Specification/Format/Swagger2.php | 71 ++- 37 files changed, 2662 insertions(+), 2507 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 9adb21d960..e7d3621e61 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -258,7 +258,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -328,7 +328,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -517,7 +517,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -587,7 +587,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -707,7 +707,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -843,7 +843,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -939,7 +939,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -963,7 +963,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1091,7 +1091,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1225,7 +1225,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1322,7 +1322,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1417,7 +1417,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1512,7 +1512,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -2918,7 +2918,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -2997,7 +2997,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3068,7 +3068,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -3879,7 +3879,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4005,7 +4005,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4137,7 +4137,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4195,7 +4195,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4683,7 +4683,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4765,7 +4765,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4857,7 +4857,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4949,7 +4949,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4993,7 +4993,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -5005,7 +5005,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -5017,7 +5017,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -5029,7 +5029,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -5040,7 +5040,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5057,7 +5057,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -5068,7 +5068,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5079,7 +5079,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -5090,7 +5090,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5525,7 +5525,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5537,7 +5537,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5549,7 +5549,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5560,7 +5560,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5574,6 +5574,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5585,7 +5586,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5597,7 +5598,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5609,7 +5610,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5621,7 +5622,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5632,7 +5633,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -7370,7 +7371,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7422,7 +7423,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7474,7 +7475,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7526,7 +7527,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7578,7 +7579,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7630,7 +7631,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7682,7 +7683,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7734,7 +7735,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -7786,7 +7787,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -7838,7 +7839,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -7890,7 +7891,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -7973,7 +7974,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8048,7 +8049,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8145,7 +8146,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8244,7 +8245,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8316,7 +8317,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8407,7 +8408,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8474,7 +8475,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8552,7 +8553,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -8780,7 +8781,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -10281,7 +10282,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10368,7 +10369,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10453,7 +10454,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10515,7 +10516,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10589,7 +10590,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10653,7 +10654,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -10750,7 +10751,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -10861,7 +10862,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -10933,7 +10934,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11020,7 +11021,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11094,7 +11095,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11192,7 +11193,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11253,7 +11254,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "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 365f926685..48f234cb4e 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -295,7 +295,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -364,7 +364,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -551,7 +551,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -620,7 +620,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -739,7 +739,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -874,7 +874,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -969,7 +969,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -993,7 +993,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1121,7 +1121,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1254,7 +1254,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1350,7 +1350,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1444,7 +1444,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1538,7 +1538,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -2930,7 +2930,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3008,7 +3008,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3078,7 +3078,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -3884,7 +3884,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4010,7 +4010,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4142,7 +4142,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4200,7 +4200,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4688,7 +4688,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4770,7 +4770,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4862,7 +4862,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4954,7 +4954,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4998,7 +4998,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -5010,7 +5010,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -5022,7 +5022,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -5034,7 +5034,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -5045,7 +5045,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5062,7 +5062,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -5073,7 +5073,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5084,7 +5084,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -5095,7 +5095,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5530,7 +5530,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5542,7 +5542,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5554,7 +5554,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5565,7 +5565,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5579,6 +5579,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5590,7 +5591,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5602,7 +5603,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5614,7 +5615,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5626,7 +5627,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5637,7 +5638,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -5673,7 +5674,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 253, + "weight": 243, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5808,7 +5809,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 252, + "weight": 242, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -15663,7 +15664,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -15715,7 +15716,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15767,7 +15768,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15816,7 +15817,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15865,7 +15866,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15914,7 +15915,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15974,7 +15975,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16023,7 +16024,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16072,7 +16073,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16134,7 +16135,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16196,7 +16197,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16269,7 +16270,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16331,7 +16332,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16419,7 +16420,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -16481,7 +16482,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -16543,7 +16544,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -16605,7 +16606,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -16667,7 +16668,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -16729,7 +16730,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16791,7 +16792,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16853,7 +16854,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16915,7 +16916,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16964,7 +16965,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17013,7 +17014,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17062,7 +17063,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17114,7 +17115,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17166,7 +17167,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17218,7 +17219,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17270,7 +17271,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17322,7 +17323,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17374,7 +17375,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17426,7 +17427,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -17478,7 +17479,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -17565,7 +17566,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17710,7 +17711,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17867,7 +17868,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18043,7 +18044,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18239,7 +18240,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -18417,7 +18418,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -18601,7 +18602,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18654,7 +18655,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18716,7 +18717,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18802,7 +18803,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18888,7 +18889,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18975,7 +18976,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19151,7 +19152,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19329,7 +19330,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -19478,7 +19479,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19628,7 +19629,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19745,7 +19746,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19865,7 +19866,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19961,7 +19962,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20060,7 +20061,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20166,7 +20167,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20275,7 +20276,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20381,7 +20382,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -20490,7 +20491,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20718,7 +20719,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20946,7 +20947,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21042,7 +21043,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21141,7 +21142,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21237,7 +21238,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -21336,7 +21337,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -21432,7 +21433,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21531,7 +21532,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21627,7 +21628,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21726,7 +21727,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21779,7 +21780,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21841,7 +21842,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21927,7 +21928,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22013,7 +22014,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22098,7 +22099,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22181,7 +22182,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22241,7 +22242,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -22320,7 +22321,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -22382,7 +22383,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22468,7 +22469,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22563,7 +22564,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22653,7 +22654,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22716,7 +22717,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22791,7 +22792,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 260, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -22876,7 +22877,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 254, + "weight": 244, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -22964,7 +22965,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 262, + "weight": 252, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23057,7 +23058,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 259, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23171,7 +23172,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 258, + "weight": 248, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23255,7 +23256,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 255, + "weight": 245, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -23331,7 +23332,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 263, + "weight": 253, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -23403,7 +23404,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 257, + "weight": 247, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -23514,7 +23515,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 265, + "weight": 255, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -23647,7 +23648,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 256, + "weight": 246, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -23752,7 +23753,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 264, + "weight": 254, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -23876,7 +23877,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 261, + "weight": 251, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -23934,7 +23935,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 266, + "weight": 256, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -23985,7 +23986,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 267, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24045,7 +24046,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 139, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24133,7 +24134,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 141, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -24179,7 +24180,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 140, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -24257,7 +24258,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 142, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -24315,7 +24316,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 143, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -24397,7 +24398,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 144, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -24540,7 +24541,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 103, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -24674,7 +24675,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -24732,7 +24733,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -24847,7 +24848,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -24907,7 +24908,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25061,7 +25062,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -25198,7 +25199,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -25277,7 +25278,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -25356,7 +25357,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -25435,7 +25436,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -25526,7 +25527,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -25608,7 +25609,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -25687,7 +25688,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -25766,7 +25767,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -25845,7 +25846,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -25924,7 +25925,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26003,7 +26004,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -26483,7 +26484,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -26570,7 +26571,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -26639,7 +26640,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -26734,7 +26735,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -26802,7 +26803,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -26898,7 +26899,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -26968,7 +26969,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -27109,7 +27110,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -27178,7 +27179,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -27297,7 +27298,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -27365,7 +27366,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -27460,7 +27461,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -27530,7 +27531,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -27632,7 +27633,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -27711,7 +27712,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -27903,7 +27904,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -28112,7 +28113,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -28191,7 +28192,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -28415,7 +28416,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -28679,7 +28680,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -28905,7 +28906,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -29188,7 +29189,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -29494,7 +29495,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -29779,7 +29780,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -29848,7 +29849,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -29963,7 +29964,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -30031,7 +30032,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -30147,7 +30148,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -30217,7 +30218,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -33456,7 +33457,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -33540,7 +33541,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -33673,7 +33674,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -33732,7 +33733,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -33862,7 +33863,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -33923,7 +33924,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -34020,7 +34021,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -34119,7 +34120,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -34191,7 +34192,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -34282,7 +34283,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -34349,7 +34350,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -34427,7 +34428,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -34655,7 +34656,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -34740,7 +34741,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 159, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -34812,7 +34813,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -41692,7 +41693,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -41779,7 +41780,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -41864,7 +41865,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -41926,7 +41927,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -42000,7 +42001,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -42064,7 +42065,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -42148,7 +42149,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -42245,7 +42246,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -42356,7 +42357,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -42428,7 +42429,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -42515,7 +42516,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -42589,7 +42590,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -42686,7 +42687,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -42746,7 +42747,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -43202,7 +43203,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -43286,7 +43287,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -43376,7 +43377,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -43461,7 +43462,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -43546,7 +43547,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -43625,7 +43626,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -43686,7 +43687,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -43771,7 +43772,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -43856,7 +43857,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -43971,7 +43972,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -44074,7 +44075,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -44179,7 +44180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 217, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -44251,7 +44252,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -44303,7 +44304,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -44364,7 +44365,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -44444,7 +44445,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -44526,7 +44527,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -44609,7 +44610,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -44694,7 +44695,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -44790,7 +44791,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -44921,7 +44922,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -45053,7 +45054,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -45168,7 +45169,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -45281,7 +45282,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -45394,7 +45395,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -45509,7 +45510,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -45589,7 +45590,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -45669,7 +45670,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -45749,7 +45750,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -45808,7 +45809,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -45888,7 +45889,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -45958,7 +45959,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -46010,7 +46011,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -46064,7 +46065,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -46135,7 +46136,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -46215,7 +46216,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -46299,7 +46300,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -46409,7 +46410,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -46479,7 +46480,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -46568,7 +46569,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -46640,7 +46641,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -46722,7 +46723,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -46802,7 +46803,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -46882,7 +46883,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 221, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -46978,7 +46979,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 222, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -47037,6 +47038,19 @@ "default": "" }, "in": "query" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" } ] }, @@ -47063,7 +47077,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 223, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -47148,7 +47162,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 224, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -47218,7 +47232,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 225, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -47288,7 +47302,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 220, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -47373,7 +47387,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -47462,7 +47476,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 227, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -47547,7 +47561,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 228, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -47598,7 +47612,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", 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 a2a97c046e..b026fb93e2 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -260,7 +260,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -331,7 +331,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -522,7 +522,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -593,7 +593,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -716,7 +716,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -855,7 +855,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -954,7 +954,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -978,7 +978,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1106,7 +1106,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1243,7 +1243,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1343,7 +1343,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1441,7 +1441,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1539,7 +1539,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3584,7 +3584,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3712,7 +3712,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -3846,7 +3846,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -3906,7 +3906,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4396,7 +4396,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4480,7 +4480,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4574,7 +4574,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4668,7 +4668,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4714,7 +4714,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -4726,7 +4726,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -4738,7 +4738,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -4750,7 +4750,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -4761,7 +4761,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -4778,7 +4778,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -4789,7 +4789,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -4800,7 +4800,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -4811,7 +4811,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5246,7 +5246,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5258,7 +5258,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5270,7 +5270,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5281,7 +5281,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5295,6 +5295,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5306,7 +5307,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5318,7 +5319,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5330,7 +5331,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5342,7 +5343,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5353,7 +5354,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -14387,7 +14388,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14441,7 +14442,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14495,7 +14496,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -14545,7 +14546,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -14595,7 +14596,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -14645,7 +14646,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -14706,7 +14707,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -14756,7 +14757,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -14806,7 +14807,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -14869,7 +14870,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -14932,7 +14933,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15006,7 +15007,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15069,7 +15070,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15158,7 +15159,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15221,7 +15222,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15284,7 +15285,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15347,7 +15348,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15410,7 +15411,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15473,7 +15474,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -15536,7 +15537,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -15599,7 +15600,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -15662,7 +15663,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -15712,7 +15713,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -15762,7 +15763,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -15812,7 +15813,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -15866,7 +15867,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -15920,7 +15921,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -15974,7 +15975,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16028,7 +16029,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16082,7 +16083,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16136,7 +16137,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16190,7 +16191,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16244,7 +16245,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16332,7 +16333,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16478,7 +16479,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16636,7 +16637,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16813,7 +16814,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17010,7 +17011,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17191,7 +17192,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17378,7 +17379,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17432,7 +17433,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17495,7 +17496,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17582,7 +17583,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17669,7 +17670,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17757,7 +17758,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17936,7 +17937,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18117,7 +18118,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18269,7 +18270,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18422,7 +18423,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18540,7 +18541,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18661,7 +18662,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18758,7 +18759,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18858,7 +18859,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -18965,7 +18966,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19075,7 +19076,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19182,7 +19183,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19292,7 +19293,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19523,7 +19524,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19754,7 +19755,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19851,7 +19852,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19951,7 +19952,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20048,7 +20049,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20148,7 +20149,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20245,7 +20246,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20345,7 +20346,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20442,7 +20443,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20542,7 +20543,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20596,7 +20597,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20659,7 +20660,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20746,7 +20747,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20833,7 +20834,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20919,7 +20920,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21003,7 +21004,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21064,7 +21065,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21144,7 +21145,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21207,7 +21208,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21294,7 +21295,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -21390,7 +21391,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -21482,7 +21483,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -21546,7 +21547,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23911,7 +23912,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -23996,7 +23997,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24130,7 +24131,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24190,7 +24191,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -24321,7 +24322,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -24383,7 +24384,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -24482,7 +24483,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -24583,7 +24584,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -24657,7 +24658,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -24750,7 +24751,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -24819,7 +24820,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -24899,7 +24900,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25129,7 +25130,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -31608,7 +31609,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -31697,7 +31698,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -31784,7 +31785,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -31848,7 +31849,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -31924,7 +31925,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -31990,7 +31991,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32089,7 +32090,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32202,7 +32203,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -32276,7 +32277,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -32365,7 +32366,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -32441,7 +32442,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -32540,7 +32541,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -32602,7 +32603,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33065,7 +33066,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33150,7 +33151,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33241,7 +33242,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -33327,7 +33328,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -33413,7 +33414,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -33493,7 +33494,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -33555,7 +33556,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -33641,7 +33642,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -33727,7 +33728,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -33843,7 +33844,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -33947,7 +33948,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34053,7 +34054,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34106,7 +34107,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -34168,7 +34169,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -34249,7 +34250,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -34332,7 +34333,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -34416,7 +34417,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -34502,7 +34503,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -34599,7 +34600,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -34733,7 +34734,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -34868,7 +34869,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -34986,7 +34987,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35102,7 +35103,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -35218,7 +35219,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -35336,7 +35337,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -35417,7 +35418,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -35498,7 +35499,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -35579,7 +35580,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -35639,7 +35640,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -35720,7 +35721,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -35791,7 +35792,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -35844,7 +35845,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -35899,7 +35900,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -35971,7 +35972,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36052,7 +36053,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36137,7 +36138,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -36248,7 +36249,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -36319,7 +36320,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -36409,7 +36410,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -36482,7 +36483,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -36565,7 +36566,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -36646,7 +36647,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 9adb21d960..e7d3621e61 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -258,7 +258,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -328,7 +328,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -517,7 +517,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -587,7 +587,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -707,7 +707,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -843,7 +843,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -939,7 +939,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -963,7 +963,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1091,7 +1091,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1225,7 +1225,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1322,7 +1322,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1417,7 +1417,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1512,7 +1512,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -2918,7 +2918,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -2997,7 +2997,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3068,7 +3068,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -3879,7 +3879,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4005,7 +4005,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4137,7 +4137,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4195,7 +4195,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4683,7 +4683,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4765,7 +4765,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4857,7 +4857,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4949,7 +4949,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4993,7 +4993,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -5005,7 +5005,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -5017,7 +5017,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -5029,7 +5029,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -5040,7 +5040,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5057,7 +5057,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -5068,7 +5068,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5079,7 +5079,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -5090,7 +5090,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5525,7 +5525,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5537,7 +5537,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5549,7 +5549,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5560,7 +5560,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5574,6 +5574,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5585,7 +5586,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5597,7 +5598,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5609,7 +5610,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5621,7 +5622,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5632,7 +5633,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -7370,7 +7371,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7422,7 +7423,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7474,7 +7475,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7526,7 +7527,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7578,7 +7579,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7630,7 +7631,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7682,7 +7683,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7734,7 +7735,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -7786,7 +7787,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -7838,7 +7839,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -7890,7 +7891,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -7973,7 +7974,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8048,7 +8049,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8145,7 +8146,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8244,7 +8245,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8316,7 +8317,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8407,7 +8408,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8474,7 +8475,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8552,7 +8553,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -8780,7 +8781,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -10281,7 +10282,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10368,7 +10369,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10453,7 +10454,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10515,7 +10516,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10589,7 +10590,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10653,7 +10654,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -10750,7 +10751,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -10861,7 +10862,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -10933,7 +10934,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11020,7 +11021,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11094,7 +11095,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11192,7 +11193,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11253,7 +11254,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "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 365f926685..48f234cb4e 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -295,7 +295,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -364,7 +364,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -551,7 +551,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -620,7 +620,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -739,7 +739,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -874,7 +874,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -969,7 +969,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -993,7 +993,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1121,7 +1121,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1254,7 +1254,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1350,7 +1350,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1444,7 +1444,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1538,7 +1538,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -2930,7 +2930,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3008,7 +3008,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3078,7 +3078,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -3884,7 +3884,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4010,7 +4010,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4142,7 +4142,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4200,7 +4200,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4688,7 +4688,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4770,7 +4770,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4862,7 +4862,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4954,7 +4954,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4998,7 +4998,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -5010,7 +5010,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -5022,7 +5022,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -5034,7 +5034,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -5045,7 +5045,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5062,7 +5062,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -5073,7 +5073,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5084,7 +5084,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -5095,7 +5095,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5530,7 +5530,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5542,7 +5542,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5554,7 +5554,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5565,7 +5565,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5579,6 +5579,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5590,7 +5591,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5602,7 +5603,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5614,7 +5615,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5626,7 +5627,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5637,7 +5638,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -5673,7 +5674,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 253, + "weight": 243, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5808,7 +5809,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 252, + "weight": 242, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -15663,7 +15664,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -15715,7 +15716,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15767,7 +15768,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15816,7 +15817,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15865,7 +15866,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15914,7 +15915,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15974,7 +15975,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16023,7 +16024,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16072,7 +16073,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16134,7 +16135,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16196,7 +16197,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16269,7 +16270,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16331,7 +16332,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16419,7 +16420,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -16481,7 +16482,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -16543,7 +16544,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -16605,7 +16606,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -16667,7 +16668,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -16729,7 +16730,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16791,7 +16792,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16853,7 +16854,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16915,7 +16916,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16964,7 +16965,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17013,7 +17014,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17062,7 +17063,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17114,7 +17115,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17166,7 +17167,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17218,7 +17219,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17270,7 +17271,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17322,7 +17323,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17374,7 +17375,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17426,7 +17427,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -17478,7 +17479,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -17565,7 +17566,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17710,7 +17711,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17867,7 +17868,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18043,7 +18044,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18239,7 +18240,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -18417,7 +18418,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -18601,7 +18602,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18654,7 +18655,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18716,7 +18717,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18802,7 +18803,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18888,7 +18889,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18975,7 +18976,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19151,7 +19152,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19329,7 +19330,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -19478,7 +19479,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19628,7 +19629,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19745,7 +19746,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19865,7 +19866,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19961,7 +19962,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20060,7 +20061,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20166,7 +20167,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20275,7 +20276,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20381,7 +20382,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -20490,7 +20491,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20718,7 +20719,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20946,7 +20947,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21042,7 +21043,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21141,7 +21142,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21237,7 +21238,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -21336,7 +21337,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -21432,7 +21433,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21531,7 +21532,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21627,7 +21628,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21726,7 +21727,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21779,7 +21780,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21841,7 +21842,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21927,7 +21928,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22013,7 +22014,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22098,7 +22099,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22181,7 +22182,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22241,7 +22242,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -22320,7 +22321,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -22382,7 +22383,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22468,7 +22469,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22563,7 +22564,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22653,7 +22654,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22716,7 +22717,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22791,7 +22792,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 260, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -22876,7 +22877,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 254, + "weight": 244, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -22964,7 +22965,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 262, + "weight": 252, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23057,7 +23058,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 259, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23171,7 +23172,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 258, + "weight": 248, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23255,7 +23256,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 255, + "weight": 245, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -23331,7 +23332,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 263, + "weight": 253, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -23403,7 +23404,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 257, + "weight": 247, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -23514,7 +23515,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 265, + "weight": 255, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -23647,7 +23648,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 256, + "weight": 246, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -23752,7 +23753,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 264, + "weight": 254, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -23876,7 +23877,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 261, + "weight": 251, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -23934,7 +23935,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 266, + "weight": 256, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -23985,7 +23986,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 267, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24045,7 +24046,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 139, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24133,7 +24134,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 141, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -24179,7 +24180,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 140, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -24257,7 +24258,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 142, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -24315,7 +24316,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 143, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -24397,7 +24398,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 144, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -24540,7 +24541,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 103, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -24674,7 +24675,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -24732,7 +24733,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -24847,7 +24848,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -24907,7 +24908,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25061,7 +25062,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -25198,7 +25199,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -25277,7 +25278,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -25356,7 +25357,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -25435,7 +25436,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -25526,7 +25527,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -25608,7 +25609,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -25687,7 +25688,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -25766,7 +25767,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -25845,7 +25846,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -25924,7 +25925,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26003,7 +26004,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -26483,7 +26484,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -26570,7 +26571,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -26639,7 +26640,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -26734,7 +26735,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -26802,7 +26803,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -26898,7 +26899,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -26968,7 +26969,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -27109,7 +27110,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -27178,7 +27179,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -27297,7 +27298,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -27365,7 +27366,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -27460,7 +27461,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -27530,7 +27531,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -27632,7 +27633,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -27711,7 +27712,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -27903,7 +27904,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -28112,7 +28113,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -28191,7 +28192,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -28415,7 +28416,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -28679,7 +28680,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -28905,7 +28906,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -29188,7 +29189,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -29494,7 +29495,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -29779,7 +29780,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -29848,7 +29849,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -29963,7 +29964,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -30031,7 +30032,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -30147,7 +30148,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -30217,7 +30218,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -33456,7 +33457,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -33540,7 +33541,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -33673,7 +33674,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -33732,7 +33733,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -33862,7 +33863,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -33923,7 +33924,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -34020,7 +34021,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -34119,7 +34120,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -34191,7 +34192,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -34282,7 +34283,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -34349,7 +34350,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -34427,7 +34428,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -34655,7 +34656,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -34740,7 +34741,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 159, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -34812,7 +34813,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -41692,7 +41693,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -41779,7 +41780,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -41864,7 +41865,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -41926,7 +41927,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -42000,7 +42001,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -42064,7 +42065,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -42148,7 +42149,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -42245,7 +42246,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -42356,7 +42357,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -42428,7 +42429,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -42515,7 +42516,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -42589,7 +42590,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -42686,7 +42687,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -42746,7 +42747,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -43202,7 +43203,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -43286,7 +43287,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -43376,7 +43377,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -43461,7 +43462,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -43546,7 +43547,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -43625,7 +43626,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -43686,7 +43687,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -43771,7 +43772,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -43856,7 +43857,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -43971,7 +43972,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -44074,7 +44075,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -44179,7 +44180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 217, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -44251,7 +44252,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -44303,7 +44304,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -44364,7 +44365,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -44444,7 +44445,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -44526,7 +44527,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -44609,7 +44610,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -44694,7 +44695,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -44790,7 +44791,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -44921,7 +44922,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -45053,7 +45054,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -45168,7 +45169,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -45281,7 +45282,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -45394,7 +45395,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -45509,7 +45510,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -45589,7 +45590,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -45669,7 +45670,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -45749,7 +45750,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -45808,7 +45809,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -45888,7 +45889,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -45958,7 +45959,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -46010,7 +46011,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -46064,7 +46065,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -46135,7 +46136,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -46215,7 +46216,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -46299,7 +46300,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -46409,7 +46410,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -46479,7 +46480,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -46568,7 +46569,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -46640,7 +46641,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -46722,7 +46723,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -46802,7 +46803,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -46882,7 +46883,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 221, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -46978,7 +46979,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 222, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -47037,6 +47038,19 @@ "default": "" }, "in": "query" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" } ] }, @@ -47063,7 +47077,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 223, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -47148,7 +47162,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 224, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -47218,7 +47232,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 225, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -47288,7 +47302,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 220, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -47373,7 +47387,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -47462,7 +47476,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 227, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -47547,7 +47561,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 228, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -47598,7 +47612,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index a2a97c046e..b026fb93e2 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -260,7 +260,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -331,7 +331,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -522,7 +522,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -593,7 +593,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -716,7 +716,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -855,7 +855,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -954,7 +954,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -978,7 +978,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1106,7 +1106,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1243,7 +1243,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1343,7 +1343,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1441,7 +1441,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1539,7 +1539,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3584,7 +3584,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3712,7 +3712,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -3846,7 +3846,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -3906,7 +3906,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4396,7 +4396,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4480,7 +4480,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4574,7 +4574,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4668,7 +4668,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4714,7 +4714,7 @@ "required": false, "schema": { "type": "object", - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "default": {} }, "in": "query" @@ -4726,7 +4726,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280 }, "in": "query" @@ -4738,7 +4738,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720 }, "in": "query" @@ -4750,7 +4750,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1 }, "in": "query" @@ -4761,7 +4761,7 @@ "required": false, "schema": { "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -4778,7 +4778,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "" }, "in": "query" @@ -4789,7 +4789,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -4800,7 +4800,7 @@ "required": false, "schema": { "type": "string", - "x-example": "", + "x-example": "en-US", "default": "" }, "in": "query" @@ -4811,7 +4811,7 @@ "required": false, "schema": { "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5246,7 +5246,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0 }, "in": "query" @@ -5258,7 +5258,7 @@ "schema": { "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0 }, "in": "query" @@ -5270,7 +5270,7 @@ "schema": { "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0 }, "in": "query" @@ -5281,7 +5281,7 @@ "required": false, "schema": { "type": "boolean", - "x-example": false, + "x-example": "true", "default": false }, "in": "query" @@ -5295,6 +5295,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [] }, "in": "query" @@ -5306,7 +5307,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0 }, "in": "query" @@ -5318,7 +5319,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0 }, "in": "query" @@ -5330,7 +5331,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0 }, "in": "query" @@ -5342,7 +5343,7 @@ "schema": { "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1 }, "in": "query" @@ -5353,7 +5354,7 @@ "required": false, "schema": { "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -14387,7 +14388,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14441,7 +14442,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14495,7 +14496,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -14545,7 +14546,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -14595,7 +14596,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -14645,7 +14646,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -14706,7 +14707,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -14756,7 +14757,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -14806,7 +14807,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -14869,7 +14870,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -14932,7 +14933,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15006,7 +15007,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15069,7 +15070,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15158,7 +15159,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15221,7 +15222,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15284,7 +15285,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15347,7 +15348,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15410,7 +15411,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15473,7 +15474,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -15536,7 +15537,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -15599,7 +15600,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -15662,7 +15663,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -15712,7 +15713,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -15762,7 +15763,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -15812,7 +15813,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -15866,7 +15867,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -15920,7 +15921,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -15974,7 +15975,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16028,7 +16029,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16082,7 +16083,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16136,7 +16137,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16190,7 +16191,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16244,7 +16245,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16332,7 +16333,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16478,7 +16479,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16636,7 +16637,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16813,7 +16814,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17010,7 +17011,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17191,7 +17192,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17378,7 +17379,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17432,7 +17433,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17495,7 +17496,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17582,7 +17583,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17669,7 +17670,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17757,7 +17758,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17936,7 +17937,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18117,7 +18118,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18269,7 +18270,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18422,7 +18423,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18540,7 +18541,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18661,7 +18662,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18758,7 +18759,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18858,7 +18859,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -18965,7 +18966,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19075,7 +19076,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19182,7 +19183,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19292,7 +19293,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19523,7 +19524,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19754,7 +19755,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19851,7 +19852,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19951,7 +19952,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20048,7 +20049,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20148,7 +20149,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20245,7 +20246,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20345,7 +20346,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20442,7 +20443,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20542,7 +20543,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20596,7 +20597,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20659,7 +20660,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20746,7 +20747,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20833,7 +20834,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20919,7 +20920,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21003,7 +21004,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21064,7 +21065,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21144,7 +21145,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21207,7 +21208,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21294,7 +21295,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -21390,7 +21391,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -21482,7 +21483,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -21546,7 +21547,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23911,7 +23912,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -23996,7 +23997,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24130,7 +24131,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24190,7 +24191,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -24321,7 +24322,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -24383,7 +24384,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -24482,7 +24483,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -24583,7 +24584,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -24657,7 +24658,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -24750,7 +24751,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -24819,7 +24820,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -24899,7 +24900,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25129,7 +25130,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -31608,7 +31609,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -31697,7 +31698,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -31784,7 +31785,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -31848,7 +31849,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -31924,7 +31925,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -31990,7 +31991,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32089,7 +32090,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32202,7 +32203,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -32276,7 +32277,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -32365,7 +32366,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -32441,7 +32442,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -32540,7 +32541,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -32602,7 +32603,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33065,7 +33066,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33150,7 +33151,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33241,7 +33242,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -33327,7 +33328,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -33413,7 +33414,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -33493,7 +33494,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -33555,7 +33556,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -33641,7 +33642,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -33727,7 +33728,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -33843,7 +33844,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -33947,7 +33948,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34053,7 +34054,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34106,7 +34107,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -34168,7 +34169,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -34249,7 +34250,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -34332,7 +34333,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -34416,7 +34417,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -34502,7 +34503,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -34599,7 +34600,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -34733,7 +34734,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -34868,7 +34869,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -34986,7 +34987,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35102,7 +35103,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -35218,7 +35219,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -35336,7 +35337,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -35417,7 +35418,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -35498,7 +35499,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -35579,7 +35580,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -35639,7 +35640,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -35720,7 +35721,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -35791,7 +35792,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -35844,7 +35845,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -35899,7 +35900,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -35971,7 +35972,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36052,7 +36053,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36137,7 +36138,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -36248,7 +36249,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -36319,7 +36320,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -36409,7 +36410,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -36482,7 +36483,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -36565,7 +36566,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -36646,7 +36647,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 1594f816ef..75c4f7406d 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -314,7 +314,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -385,7 +385,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -573,7 +573,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -646,7 +646,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -766,7 +766,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -903,7 +903,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -997,7 +997,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1023,7 +1023,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1154,7 +1154,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1290,7 +1290,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1387,7 +1387,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1484,7 +1484,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1581,7 +1581,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3033,7 +3033,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3117,7 +3117,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3189,7 +3189,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -4030,7 +4030,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4154,7 +4154,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4284,7 +4284,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4346,7 +4346,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4832,7 +4832,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4914,7 +4914,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5004,7 +5004,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5094,7 +5094,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5135,7 +5135,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -5144,7 +5144,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -5154,7 +5154,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -5164,7 +5164,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -5173,7 +5173,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5188,7 +5188,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -5197,7 +5197,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5206,7 +5206,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -5215,7 +5215,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5648,7 +5648,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5658,7 +5658,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5668,7 +5668,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5677,7 +5677,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5690,6 +5690,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5699,7 +5700,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5709,7 +5710,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5719,7 +5720,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5729,7 +5730,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5738,7 +5739,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -7420,7 +7421,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7493,7 +7494,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7564,7 +7565,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7615,7 +7616,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7666,7 +7667,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7717,7 +7718,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7768,7 +7769,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7819,7 +7820,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -7870,7 +7871,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -7921,7 +7922,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -7974,7 +7975,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8058,7 +8059,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8128,7 +8129,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8219,7 +8220,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8308,7 +8309,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8377,7 +8378,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8467,7 +8468,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8536,7 +8537,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8614,7 +8615,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -8820,7 +8821,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -10265,7 +10266,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10348,7 +10349,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10437,7 +10438,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10498,7 +10499,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10572,7 +10573,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10633,7 +10634,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -10724,7 +10725,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -10836,7 +10837,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -10905,7 +10906,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -10990,7 +10991,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11061,7 +11062,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11155,7 +11156,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11216,7 +11217,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "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 5d2334764e..c1c68cafa4 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -361,7 +361,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -431,7 +431,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -617,7 +617,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -689,7 +689,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -808,7 +808,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -944,7 +944,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1037,7 +1037,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1063,7 +1063,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1194,7 +1194,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1329,7 +1329,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1425,7 +1425,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1521,7 +1521,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1617,7 +1617,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3055,7 +3055,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3138,7 +3138,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3209,7 +3209,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -4045,7 +4045,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4169,7 +4169,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4299,7 +4299,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4361,7 +4361,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4847,7 +4847,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4929,7 +4929,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5019,7 +5019,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5109,7 +5109,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5150,7 +5150,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -5159,7 +5159,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -5169,7 +5169,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -5179,7 +5179,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -5188,7 +5188,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5203,7 +5203,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -5212,7 +5212,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5221,7 +5221,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -5230,7 +5230,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5663,7 +5663,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5673,7 +5673,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5683,7 +5683,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5692,7 +5692,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5705,6 +5705,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5714,7 +5715,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5724,7 +5725,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5734,7 +5735,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5744,7 +5745,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5753,7 +5754,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -5797,7 +5798,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 253, + "weight": 243, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5931,7 +5932,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 252, + "weight": 242, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -15585,7 +15586,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -15658,7 +15659,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15729,7 +15730,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15778,7 +15779,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15827,7 +15828,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15876,7 +15877,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15934,7 +15935,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15983,7 +15984,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16032,7 +16033,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16092,7 +16093,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16152,7 +16153,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16221,7 +16222,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16281,7 +16282,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16365,7 +16366,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -16425,7 +16426,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -16485,7 +16486,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -16545,7 +16546,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -16605,7 +16606,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -16665,7 +16666,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16725,7 +16726,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16785,7 +16786,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16845,7 +16846,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16894,7 +16895,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16943,7 +16944,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16992,7 +16993,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17043,7 +17044,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17094,7 +17095,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17145,7 +17146,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17196,7 +17197,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17247,7 +17248,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17298,7 +17299,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17349,7 +17350,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -17400,7 +17401,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -17484,7 +17485,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17643,7 +17644,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17809,7 +17810,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18006,7 +18007,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18218,7 +18219,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -18405,7 +18406,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -18591,7 +18592,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18646,7 +18647,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18706,7 +18707,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18787,7 +18788,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18868,7 +18869,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18952,7 +18953,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19138,7 +19139,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19321,7 +19322,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -19476,7 +19477,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19627,7 +19628,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19756,7 +19757,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19883,7 +19884,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19987,7 +19988,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20089,7 +20090,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20205,7 +20206,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20319,7 +20320,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20435,7 +20436,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -20549,7 +20550,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20793,7 +20794,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21032,7 +21033,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21136,7 +21137,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21238,7 +21239,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21342,7 +21343,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -21444,7 +21445,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -21548,7 +21549,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21650,7 +21651,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21754,7 +21755,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21854,7 +21855,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21909,7 +21910,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21969,7 +21970,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22050,7 +22051,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22131,7 +22132,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22213,7 +22214,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22301,7 +22302,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22361,7 +22362,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -22442,7 +22443,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -22502,7 +22503,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22583,7 +22584,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22673,7 +22674,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22760,7 +22761,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22823,7 +22824,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22893,7 +22894,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 260, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -22975,7 +22976,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 254, + "weight": 244, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23067,7 +23068,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 262, + "weight": 252, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23155,7 +23156,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 259, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23280,7 +23281,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 258, + "weight": 248, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23370,7 +23371,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 255, + "weight": 245, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -23448,7 +23449,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 263, + "weight": 253, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -23519,7 +23520,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 257, + "weight": 247, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -23638,7 +23639,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 265, + "weight": 255, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -23758,7 +23759,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 256, + "weight": 246, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -23870,7 +23871,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 264, + "weight": 254, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -23981,7 +23982,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 261, + "weight": 251, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24039,7 +24040,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 266, + "weight": 256, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24092,7 +24093,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 267, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24150,7 +24151,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 139, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24232,7 +24233,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 141, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -24280,7 +24281,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 140, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -24361,7 +24362,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 142, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -24419,7 +24420,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 143, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -24504,7 +24505,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 144, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -24642,7 +24643,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 103, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -24789,7 +24790,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -24847,7 +24848,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -24972,7 +24973,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25032,7 +25033,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25186,7 +25187,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -25322,7 +25323,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -25400,7 +25401,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -25478,7 +25479,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -25556,7 +25557,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -25648,7 +25649,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -25729,7 +25730,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -25807,7 +25808,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -25885,7 +25886,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -25963,7 +25964,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26041,7 +26042,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26119,7 +26120,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -26587,7 +26588,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -26672,7 +26673,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -26739,7 +26740,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -26833,7 +26834,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -26899,7 +26900,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -26996,7 +26997,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -27064,7 +27065,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -27205,7 +27206,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -27272,7 +27273,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -27392,7 +27393,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -27458,7 +27459,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -27555,7 +27556,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -27623,7 +27624,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -27725,7 +27726,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -27803,7 +27804,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -28006,7 +28007,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -28222,7 +28223,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -28298,7 +28299,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -28518,7 +28519,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -28781,7 +28782,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -29001,7 +29002,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -29280,7 +29281,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -29581,7 +29582,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -29860,7 +29861,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -29927,7 +29928,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -30045,7 +30046,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -30111,7 +30112,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -30232,7 +30233,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -30300,7 +30301,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -33539,7 +33540,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -33620,7 +33621,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -33764,7 +33765,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -33823,7 +33824,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -33963,7 +33964,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -34022,7 +34023,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -34113,7 +34114,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -34202,7 +34203,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -34271,7 +34272,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -34361,7 +34362,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -34430,7 +34431,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -34508,7 +34509,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -34714,7 +34715,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -34792,7 +34793,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 159, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -34862,7 +34863,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -41553,7 +41554,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -41636,7 +41637,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -41725,7 +41726,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -41786,7 +41787,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -41860,7 +41861,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -41921,7 +41922,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -42000,7 +42001,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -42091,7 +42092,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -42203,7 +42204,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -42272,7 +42273,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -42357,7 +42358,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -42428,7 +42429,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -42521,7 +42522,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -42581,7 +42582,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -43023,7 +43024,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -43104,7 +43105,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -43201,7 +43202,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -43292,7 +43293,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -43381,7 +43382,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -43459,7 +43460,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -43520,7 +43521,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -43611,7 +43612,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -43702,7 +43703,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -43828,7 +43829,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -43940,7 +43941,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -44050,7 +44051,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 217, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -44120,7 +44121,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -44174,7 +44175,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -44235,7 +44236,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -44314,7 +44315,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -44396,7 +44397,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -44476,7 +44477,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -44556,7 +44557,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -44647,7 +44648,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -44779,7 +44780,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -44907,7 +44908,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -45020,7 +45021,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -45133,7 +45134,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -45246,7 +45247,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -45361,7 +45362,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -45440,7 +45441,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -45519,7 +45520,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -45596,7 +45597,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -45655,7 +45656,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -45732,7 +45733,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -45800,7 +45801,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -45854,7 +45855,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -45910,7 +45911,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -45979,7 +45980,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -46056,7 +46057,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -46137,7 +46138,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -46248,7 +46249,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -46316,7 +46317,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -46406,7 +46407,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -46476,7 +46477,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -46558,7 +46559,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -46637,7 +46638,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -46716,7 +46717,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 221, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -46811,7 +46812,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 222, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -46864,6 +46865,18 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" } ] }, @@ -46892,7 +46905,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 223, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -46975,7 +46988,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 224, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -47041,7 +47054,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 225, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -47107,7 +47120,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 220, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -47190,7 +47203,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -47274,7 +47287,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 227, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -47354,7 +47367,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 228, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -47407,7 +47420,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index b37aaac8e2..85d5219b10 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -325,7 +325,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -397,7 +397,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -587,7 +587,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -661,7 +661,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -784,7 +784,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -924,7 +924,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1021,7 +1021,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1047,7 +1047,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1178,7 +1178,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1317,7 +1317,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1417,7 +1417,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1517,7 +1517,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1617,7 +1617,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3741,7 +3741,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3867,7 +3867,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -3999,7 +3999,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4063,7 +4063,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4551,7 +4551,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4635,7 +4635,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4727,7 +4727,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4819,7 +4819,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4862,7 +4862,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -4871,7 +4871,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -4881,7 +4881,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -4891,7 +4891,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -4900,7 +4900,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -4915,7 +4915,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -4924,7 +4924,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -4933,7 +4933,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -4942,7 +4942,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5375,7 +5375,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5385,7 +5385,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5395,7 +5395,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5404,7 +5404,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5417,6 +5417,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5426,7 +5427,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5436,7 +5437,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5446,7 +5447,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5456,7 +5457,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5465,7 +5466,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -14340,7 +14341,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14415,7 +14416,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14488,7 +14489,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -14538,7 +14539,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -14588,7 +14589,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -14638,7 +14639,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -14697,7 +14698,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -14747,7 +14748,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -14797,7 +14798,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -14858,7 +14859,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -14919,7 +14920,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -14989,7 +14990,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15050,7 +15051,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15135,7 +15136,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15196,7 +15197,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15257,7 +15258,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15318,7 +15319,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15379,7 +15380,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15440,7 +15441,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -15501,7 +15502,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -15562,7 +15563,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -15623,7 +15624,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -15673,7 +15674,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -15723,7 +15724,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -15773,7 +15774,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -15826,7 +15827,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -15879,7 +15880,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -15932,7 +15933,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -15985,7 +15986,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16038,7 +16039,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16091,7 +16092,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16144,7 +16145,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16197,7 +16198,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16282,7 +16283,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16442,7 +16443,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16609,7 +16610,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16807,7 +16808,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17020,7 +17021,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17210,7 +17211,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17399,7 +17400,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17455,7 +17456,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17516,7 +17517,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17598,7 +17599,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17680,7 +17681,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17765,7 +17766,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17954,7 +17955,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18140,7 +18141,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18298,7 +18299,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18452,7 +18453,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18582,7 +18583,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18710,7 +18711,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18815,7 +18816,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18918,7 +18919,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19035,7 +19036,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19150,7 +19151,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19267,7 +19268,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19382,7 +19383,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19629,7 +19630,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19871,7 +19872,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19976,7 +19977,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20079,7 +20080,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20184,7 +20185,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20287,7 +20288,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20392,7 +20393,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20495,7 +20496,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20600,7 +20601,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20701,7 +20702,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20757,7 +20758,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20818,7 +20819,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20900,7 +20901,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20982,7 +20983,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21065,7 +21066,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21154,7 +21155,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21215,7 +21216,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21297,7 +21298,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21358,7 +21359,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21440,7 +21441,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -21531,7 +21532,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -21620,7 +21621,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -21684,7 +21685,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -24047,7 +24048,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -24129,7 +24130,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24274,7 +24275,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24334,7 +24335,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -24475,7 +24476,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -24535,7 +24536,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -24628,7 +24629,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -24719,7 +24720,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -24790,7 +24791,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -24882,7 +24883,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -24953,7 +24954,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -25033,7 +25034,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25241,7 +25242,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -31552,7 +31553,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -31637,7 +31638,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -31728,7 +31729,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -31791,7 +31792,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -31867,7 +31868,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -31930,7 +31931,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32023,7 +32024,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32137,7 +32138,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -32208,7 +32209,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -32295,7 +32296,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -32368,7 +32369,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -32463,7 +32464,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -32525,7 +32526,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -32974,7 +32975,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33056,7 +33057,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33154,7 +33155,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -33246,7 +33247,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -33336,7 +33337,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -33415,7 +33416,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -33477,7 +33478,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -33569,7 +33570,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -33661,7 +33662,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -33788,7 +33789,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -33901,7 +33902,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34012,7 +34013,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34067,7 +34068,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -34129,7 +34130,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -34209,7 +34210,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -34292,7 +34293,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -34373,7 +34374,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -34454,7 +34455,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -34546,7 +34547,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -34681,7 +34682,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -34812,7 +34813,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -34928,7 +34929,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35044,7 +35045,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -35160,7 +35161,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -35278,7 +35279,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -35358,7 +35359,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -35438,7 +35439,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -35516,7 +35517,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -35576,7 +35577,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -35654,7 +35655,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -35723,7 +35724,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -35778,7 +35779,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -35835,7 +35836,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -35905,7 +35906,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -35983,7 +35984,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36065,7 +36066,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -36177,7 +36178,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -36246,7 +36247,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -36337,7 +36338,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -36408,7 +36409,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -36491,7 +36492,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -36571,7 +36572,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 1594f816ef..75c4f7406d 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -314,7 +314,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -385,7 +385,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -573,7 +573,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -646,7 +646,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -766,7 +766,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -903,7 +903,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -997,7 +997,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1023,7 +1023,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1154,7 +1154,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1290,7 +1290,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1387,7 +1387,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1484,7 +1484,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1581,7 +1581,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3033,7 +3033,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3117,7 +3117,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3189,7 +3189,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -4030,7 +4030,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4154,7 +4154,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4284,7 +4284,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4346,7 +4346,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4832,7 +4832,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4914,7 +4914,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5004,7 +5004,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5094,7 +5094,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5135,7 +5135,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -5144,7 +5144,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -5154,7 +5154,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -5164,7 +5164,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -5173,7 +5173,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5188,7 +5188,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -5197,7 +5197,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5206,7 +5206,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -5215,7 +5215,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5648,7 +5648,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5658,7 +5658,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5668,7 +5668,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5677,7 +5677,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5690,6 +5690,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5699,7 +5700,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5709,7 +5710,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5719,7 +5720,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5729,7 +5730,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5738,7 +5739,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -7420,7 +7421,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7493,7 +7494,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7564,7 +7565,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7615,7 +7616,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7666,7 +7667,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7717,7 +7718,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7768,7 +7769,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7819,7 +7820,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -7870,7 +7871,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -7921,7 +7922,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -7974,7 +7975,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8058,7 +8059,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8128,7 +8129,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8219,7 +8220,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8308,7 +8309,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8377,7 +8378,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8467,7 +8468,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8536,7 +8537,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8614,7 +8615,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -8820,7 +8821,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -10265,7 +10266,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10348,7 +10349,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10437,7 +10438,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10498,7 +10499,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10572,7 +10573,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10633,7 +10634,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -10724,7 +10725,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -10836,7 +10837,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -10905,7 +10906,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -10990,7 +10991,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11061,7 +11062,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11155,7 +11156,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11216,7 +11217,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "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 5d2334764e..c1c68cafa4 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -361,7 +361,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -431,7 +431,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -617,7 +617,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -689,7 +689,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -808,7 +808,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -944,7 +944,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1037,7 +1037,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1063,7 +1063,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1194,7 +1194,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1329,7 +1329,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1425,7 +1425,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1521,7 +1521,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1617,7 +1617,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3055,7 +3055,7 @@ "x-appwrite": { "method": "createPushTarget", "group": "pushTargets", - "weight": 55, + "weight": 45, "cookies": false, "type": "", "demo": "account\/create-push-target.md", @@ -3138,7 +3138,7 @@ "x-appwrite": { "method": "updatePushTarget", "group": "pushTargets", - "weight": 56, + "weight": 46, "cookies": false, "type": "", "demo": "account\/update-push-target.md", @@ -3209,7 +3209,7 @@ "x-appwrite": { "method": "deletePushTarget", "group": "pushTargets", - "weight": 57, + "weight": 47, "cookies": false, "type": "", "demo": "account\/delete-push-target.md", @@ -4045,7 +4045,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4169,7 +4169,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4299,7 +4299,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4361,7 +4361,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4847,7 +4847,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4929,7 +4929,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5019,7 +5019,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5109,7 +5109,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5150,7 +5150,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -5159,7 +5159,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -5169,7 +5169,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -5179,7 +5179,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -5188,7 +5188,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -5203,7 +5203,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -5212,7 +5212,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5221,7 +5221,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -5230,7 +5230,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5663,7 +5663,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5673,7 +5673,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5683,7 +5683,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5692,7 +5692,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5705,6 +5705,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5714,7 +5715,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5724,7 +5725,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5734,7 +5735,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5744,7 +5745,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5753,7 +5754,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -5797,7 +5798,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 253, + "weight": 243, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5931,7 +5932,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 252, + "weight": 242, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -15585,7 +15586,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -15658,7 +15659,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15729,7 +15730,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15778,7 +15779,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15827,7 +15828,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15876,7 +15877,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15934,7 +15935,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15983,7 +15984,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16032,7 +16033,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16092,7 +16093,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16152,7 +16153,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16221,7 +16222,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16281,7 +16282,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16365,7 +16366,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -16425,7 +16426,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -16485,7 +16486,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -16545,7 +16546,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -16605,7 +16606,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -16665,7 +16666,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16725,7 +16726,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16785,7 +16786,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16845,7 +16846,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16894,7 +16895,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16943,7 +16944,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16992,7 +16993,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17043,7 +17044,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17094,7 +17095,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17145,7 +17146,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17196,7 +17197,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17247,7 +17248,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17298,7 +17299,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17349,7 +17350,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -17400,7 +17401,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -17484,7 +17485,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17643,7 +17644,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17809,7 +17810,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18006,7 +18007,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18218,7 +18219,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -18405,7 +18406,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -18591,7 +18592,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18646,7 +18647,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18706,7 +18707,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18787,7 +18788,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18868,7 +18869,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18952,7 +18953,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19138,7 +19139,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19321,7 +19322,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -19476,7 +19477,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19627,7 +19628,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19756,7 +19757,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19883,7 +19884,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19987,7 +19988,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20089,7 +20090,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20205,7 +20206,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20319,7 +20320,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20435,7 +20436,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -20549,7 +20550,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20793,7 +20794,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21032,7 +21033,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21136,7 +21137,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21238,7 +21239,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21342,7 +21343,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -21444,7 +21445,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -21548,7 +21549,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21650,7 +21651,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21754,7 +21755,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21854,7 +21855,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21909,7 +21910,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21969,7 +21970,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22050,7 +22051,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22131,7 +22132,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22213,7 +22214,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22301,7 +22302,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22361,7 +22362,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -22442,7 +22443,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -22502,7 +22503,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22583,7 +22584,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22673,7 +22674,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22760,7 +22761,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22823,7 +22824,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22893,7 +22894,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 260, + "weight": 250, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -22975,7 +22976,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 254, + "weight": 244, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23067,7 +23068,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 262, + "weight": 252, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23155,7 +23156,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 259, + "weight": 249, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23280,7 +23281,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 258, + "weight": 248, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23370,7 +23371,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 255, + "weight": 245, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -23448,7 +23449,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 263, + "weight": 253, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -23519,7 +23520,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 257, + "weight": 247, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -23638,7 +23639,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 265, + "weight": 255, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -23758,7 +23759,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 256, + "weight": 246, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -23870,7 +23871,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 264, + "weight": 254, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -23981,7 +23982,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 261, + "weight": 251, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24039,7 +24040,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 266, + "weight": 256, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24092,7 +24093,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 267, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24150,7 +24151,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 139, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24232,7 +24233,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 141, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -24280,7 +24281,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 140, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -24361,7 +24362,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 142, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -24419,7 +24420,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 143, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -24504,7 +24505,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 144, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -24642,7 +24643,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 103, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -24789,7 +24790,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -24847,7 +24848,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -24972,7 +24973,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25032,7 +25033,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25186,7 +25187,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -25322,7 +25323,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -25400,7 +25401,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -25478,7 +25479,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -25556,7 +25557,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -25648,7 +25649,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -25729,7 +25730,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -25807,7 +25808,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -25885,7 +25886,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -25963,7 +25964,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26041,7 +26042,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26119,7 +26120,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -26587,7 +26588,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -26672,7 +26673,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -26739,7 +26740,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -26833,7 +26834,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -26899,7 +26900,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -26996,7 +26997,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -27064,7 +27065,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -27205,7 +27206,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -27272,7 +27273,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -27392,7 +27393,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -27458,7 +27459,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -27555,7 +27556,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -27623,7 +27624,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -27725,7 +27726,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -27803,7 +27804,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -28006,7 +28007,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -28222,7 +28223,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -28298,7 +28299,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -28518,7 +28519,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -28781,7 +28782,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -29001,7 +29002,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -29280,7 +29281,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -29581,7 +29582,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -29860,7 +29861,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -29927,7 +29928,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -30045,7 +30046,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -30111,7 +30112,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -30232,7 +30233,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -30300,7 +30301,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -33539,7 +33540,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -33620,7 +33621,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -33764,7 +33765,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -33823,7 +33824,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -33963,7 +33964,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -34022,7 +34023,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -34113,7 +34114,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -34202,7 +34203,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -34271,7 +34272,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -34361,7 +34362,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -34430,7 +34431,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -34508,7 +34509,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -34714,7 +34715,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -34792,7 +34793,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 159, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -34862,7 +34863,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -41553,7 +41554,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -41636,7 +41637,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -41725,7 +41726,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -41786,7 +41787,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -41860,7 +41861,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -41921,7 +41922,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -42000,7 +42001,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -42091,7 +42092,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -42203,7 +42204,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -42272,7 +42273,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -42357,7 +42358,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -42428,7 +42429,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -42521,7 +42522,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -42581,7 +42582,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -43023,7 +43024,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -43104,7 +43105,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -43201,7 +43202,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -43292,7 +43293,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -43381,7 +43382,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -43459,7 +43460,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -43520,7 +43521,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -43611,7 +43612,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -43702,7 +43703,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -43828,7 +43829,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -43940,7 +43941,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -44050,7 +44051,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 217, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -44120,7 +44121,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -44174,7 +44175,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -44235,7 +44236,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -44314,7 +44315,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -44396,7 +44397,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -44476,7 +44477,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -44556,7 +44557,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -44647,7 +44648,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -44779,7 +44780,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -44907,7 +44908,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -45020,7 +45021,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -45133,7 +45134,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -45246,7 +45247,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -45361,7 +45362,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -45440,7 +45441,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -45519,7 +45520,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -45596,7 +45597,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -45655,7 +45656,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -45732,7 +45733,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -45800,7 +45801,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -45854,7 +45855,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -45910,7 +45911,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -45979,7 +45980,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -46056,7 +46057,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -46137,7 +46138,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -46248,7 +46249,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -46316,7 +46317,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -46406,7 +46407,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -46476,7 +46477,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -46558,7 +46559,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -46637,7 +46638,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -46716,7 +46717,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 221, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -46811,7 +46812,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 222, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -46864,6 +46865,18 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" } ] }, @@ -46892,7 +46905,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 223, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -46975,7 +46988,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 224, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -47041,7 +47054,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 225, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -47107,7 +47120,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 220, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -47190,7 +47203,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -47274,7 +47287,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 227, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -47354,7 +47367,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 228, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -47407,7 +47420,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index b37aaac8e2..85d5219b10 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -325,7 +325,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 58, + "weight": 48, "cookies": false, "type": "", "demo": "account\/list-identities.md", @@ -397,7 +397,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 59, + "weight": 49, "cookies": false, "type": "", "demo": "account\/delete-identity.md", @@ -587,7 +587,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 45, + "weight": 306, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -661,7 +661,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 47, + "weight": 308, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -784,7 +784,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 48, + "weight": 309, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -924,7 +924,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 52, + "weight": 310, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1021,7 +1021,7 @@ ] } }, - "\/account\/mfa\/challenge": { + "\/account\/mfa\/challenges": { "post": { "summary": "Create MFA challenge", "operationId": "accountCreateMfaChallenge", @@ -1047,7 +1047,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 53, + "weight": 314, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1178,7 +1178,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 54, + "weight": 315, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1317,7 +1317,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 46, + "weight": 307, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1417,7 +1417,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 51, + "weight": 313, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1517,7 +1517,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 49, + "weight": 311, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1617,7 +1617,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 50, + "weight": 312, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -3741,7 +3741,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 61, + "weight": 51, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3867,7 +3867,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 60, + "weight": 50, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -3999,7 +3999,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 64, + "weight": 54, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4063,7 +4063,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 62, + "weight": 52, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4551,7 +4551,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 63, + "weight": 53, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4635,7 +4635,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 66, + "weight": 56, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4727,7 +4727,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 65, + "weight": 55, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4819,7 +4819,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 67, + "weight": 57, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -4862,7 +4862,7 @@ "required": false, "type": "object", "default": [], - "x-example": "{}", + "x-example": "{\"Authorization\":\"Bearer token123\",\"X-Custom-Header\":\"value\"}", "in": "query" }, { @@ -4871,7 +4871,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1920", "default": 1280, "in": "query" }, @@ -4881,7 +4881,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 1, + "x-example": "1080", "default": 720, "in": "query" }, @@ -4891,7 +4891,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0.1, + "x-example": "2", "default": 1, "in": "query" }, @@ -4900,7 +4900,7 @@ "description": "Browser theme. Pass \"light\" or \"dark\". Defaults to \"light\".", "required": false, "type": "string", - "x-example": "light", + "x-example": "dark", "enum": [ "light", "dark" @@ -4915,7 +4915,7 @@ "description": "Custom user agent string. Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "Mozilla\/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit\/605.1.15", "default": "", "in": "query" }, @@ -4924,7 +4924,7 @@ "description": "Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -4933,7 +4933,7 @@ "description": "Browser locale (e.g., \"en-US\", \"fr-FR\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "", + "x-example": "en-US", "default": "", "in": "query" }, @@ -4942,7 +4942,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "africa\/abidjan", + "x-example": "America\/New_York", "enum": [ "africa\/abidjan", "africa\/accra", @@ -5375,7 +5375,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -90, + "x-example": "37.7749", "default": 0, "in": "query" }, @@ -5385,7 +5385,7 @@ "required": false, "type": "number", "format": "float", - "x-example": -180, + "x-example": "-122.4194", "default": 0, "in": "query" }, @@ -5395,7 +5395,7 @@ "required": false, "type": "number", "format": "float", - "x-example": 0, + "x-example": "100", "default": 0, "in": "query" }, @@ -5404,7 +5404,7 @@ "description": "Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.", "required": false, "type": "boolean", - "x-example": false, + "x-example": "true", "default": false, "in": "query" }, @@ -5417,6 +5417,7 @@ "items": { "type": "string" }, + "x-example": "[\"geolocation\",\"notifications\"]", "default": [], "in": "query" }, @@ -5426,7 +5427,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "3", "default": 0, "in": "query" }, @@ -5436,7 +5437,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "800", "default": 0, "in": "query" }, @@ -5446,7 +5447,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": 0, + "x-example": "600", "default": 0, "in": "query" }, @@ -5456,7 +5457,7 @@ "required": false, "type": "integer", "format": "int32", - "x-example": -1, + "x-example": "85", "default": -1, "in": "query" }, @@ -5465,7 +5466,7 @@ "description": "Output format type (jpeg, jpg, png, gif and webp).", "required": false, "type": "string", - "x-example": "jpg", + "x-example": "jpeg", "enum": [ "jpg", "jpeg", @@ -14340,7 +14341,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 251, + "weight": 241, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14415,7 +14416,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 250, + "weight": 240, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14488,7 +14489,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 79, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get.md", @@ -14538,7 +14539,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 100, + "weight": 90, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -14588,7 +14589,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 82, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -14638,7 +14639,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 87, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -14697,7 +14698,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 81, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -14747,7 +14748,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 83, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -14797,7 +14798,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 89, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -14858,7 +14859,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 88, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -14919,7 +14920,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 90, + "weight": 80, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -14989,7 +14990,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 91, + "weight": 81, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15050,7 +15051,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 101, + "weight": 91, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15135,7 +15136,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 95, + "weight": 85, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15196,7 +15197,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 86, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15257,7 +15258,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 92, + "weight": 82, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15318,7 +15319,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 93, + "weight": 83, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15379,7 +15380,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 94, + "weight": 84, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15440,7 +15441,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 96, + "weight": 86, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -15501,7 +15502,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 97, + "weight": 87, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -15562,7 +15563,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 85, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -15623,7 +15624,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 99, + "weight": 89, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -15673,7 +15674,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 98, + "weight": 88, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -15723,7 +15724,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 84, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -15773,7 +15774,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 71, + "weight": 61, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -15826,7 +15827,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 72, + "weight": 62, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -15879,7 +15880,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 76, + "weight": 66, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -15932,7 +15933,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 73, + "weight": 63, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -15985,7 +15986,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 74, + "weight": 64, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16038,7 +16039,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 75, + "weight": 65, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16091,7 +16092,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 77, + "weight": 67, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16144,7 +16145,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 78, + "weight": 68, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16197,7 +16198,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 308, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16282,7 +16283,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 305, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16442,7 +16443,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 312, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16609,7 +16610,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 307, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16807,7 +16808,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 314, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17020,7 +17021,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 306, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17210,7 +17211,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 313, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17399,7 +17400,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 311, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17455,7 +17456,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 315, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17516,7 +17517,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 309, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17598,7 +17599,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 310, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17680,7 +17681,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 279, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17765,7 +17766,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 278, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17954,7 +17955,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 292, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18140,7 +18141,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 277, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18298,7 +18299,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 291, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18452,7 +18453,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 268, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18582,7 +18583,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 282, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18710,7 +18711,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 272, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18815,7 +18816,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 286, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18918,7 +18919,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 270, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19035,7 +19036,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 284, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19150,7 +19151,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 269, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19267,7 +19268,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 283, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19382,7 +19383,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 271, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19629,7 +19630,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 285, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19871,7 +19872,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 273, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19976,7 +19977,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 287, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20079,7 +20080,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 274, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20184,7 +20185,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 288, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20287,7 +20288,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 275, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20392,7 +20393,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 289, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20495,7 +20496,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 276, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20600,7 +20601,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 290, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20701,7 +20702,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 281, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20757,7 +20758,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 293, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20818,7 +20819,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 280, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20900,7 +20901,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 302, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20982,7 +20983,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 295, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21065,7 +21066,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 294, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21154,7 +21155,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 297, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21215,7 +21216,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 298, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21297,7 +21298,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 299, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21358,7 +21359,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 296, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21440,7 +21441,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 301, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -21531,7 +21532,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 300, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -21620,7 +21621,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 303, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -21684,7 +21685,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 304, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -24047,7 +24048,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 146, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -24129,7 +24130,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 145, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24274,7 +24275,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 147, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24334,7 +24335,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 148, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -24475,7 +24476,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 149, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -24535,7 +24536,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 151, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -24628,7 +24629,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 150, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -24719,7 +24720,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 152, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -24790,7 +24791,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -24882,7 +24883,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -24953,7 +24954,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 154, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -25033,7 +25034,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 153, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25241,7 +25242,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 155, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -31552,7 +31553,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 162, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -31637,7 +31638,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 161, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -31728,7 +31729,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 163, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -31791,7 +31792,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 165, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -31867,7 +31868,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 167, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -31930,7 +31931,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 169, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32023,7 +32024,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 168, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32137,7 +32138,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -32208,7 +32209,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -32295,7 +32296,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -32368,7 +32369,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -32463,7 +32464,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 164, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -32525,7 +32526,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 166, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -32974,7 +32975,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 184, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33056,7 +33057,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 175, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33154,7 +33155,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -33246,7 +33247,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 176, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -33336,7 +33337,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 192, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -33415,7 +33416,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 215, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -33477,7 +33478,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 177, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -33569,7 +33570,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 180, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -33661,7 +33662,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -33788,7 +33789,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -33901,7 +33902,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 179, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34012,7 +34013,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 185, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34067,7 +34068,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 213, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -34129,7 +34130,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 198, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -34209,7 +34210,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 216, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -34292,7 +34293,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 194, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -34373,7 +34374,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 190, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -34454,7 +34455,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 189, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -34546,7 +34547,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -34681,7 +34682,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 208, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -34812,7 +34813,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 204, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -34928,7 +34929,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 205, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35044,7 +35045,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -35160,7 +35161,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 206, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -35278,7 +35279,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 196, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -35358,7 +35359,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 197, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -35438,7 +35439,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 199, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -35516,7 +35517,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 186, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -35576,7 +35577,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 201, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -35654,7 +35655,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 188, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -35723,7 +35724,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 209, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -35778,7 +35779,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 212, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -35835,7 +35836,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 211, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -35905,7 +35906,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 193, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -35983,7 +35984,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 191, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36065,7 +36066,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 183, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -36177,7 +36178,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 187, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -36246,7 +36247,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -36337,7 +36338,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 214, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -36408,7 +36409,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 210, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -36491,7 +36492,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 200, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -36571,7 +36572,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 195, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index d0cb3e554c..95537d2c6f 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -662,26 +662,26 @@ App::get('/v1/avatars/screenshots') ], contentType: ContentType::IMAGE_PNG )) - ->param('url', '', new URL(['http', 'https']), 'Website URL which you want to capture.') - ->param('headers', [], new Assoc(), 'HTTP headers to send with the browser request. Defaults to empty.', true) - ->param('viewportWidth', 1280, new Range(1, 1920), 'Browser viewport width. Pass an integer between 1 to 1920. Defaults to 1280.', true) - ->param('viewportHeight', 720, new Range(1, 1080), 'Browser viewport height. Pass an integer between 1 to 1080. Defaults to 720.', true) - ->param('scale', 1, new Range(0.1, 3, Range::TYPE_FLOAT), 'Browser scale factor. Pass a number between 0.1 to 3. Defaults to 1.', true) - ->param('theme', 'light', new WhiteList(['light', 'dark']), 'Browser theme. Pass "light" or "dark". Defaults to "light".', true) - ->param('userAgent', '', new Text(512), 'Custom user agent string. Defaults to browser default.', true) - ->param('fullpage', false, new Boolean(true), 'Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.', true) - ->param('locale', '', new Text(10), 'Browser locale (e.g., "en-US", "fr-FR"). Defaults to browser default.', true) - ->param('timezone', '', new WhiteList(timezone_identifiers_list()), 'IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.', true) - ->param('latitude', 0, new Range(-90, 90, Range::TYPE_FLOAT), 'Geolocation latitude. Pass a number between -90 to 90. Defaults to 0.', true) - ->param('longitude', 0, new Range(-180, 180, Range::TYPE_FLOAT), 'Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.', true) - ->param('accuracy', 0, new Range(0, 100000, Range::TYPE_FLOAT), 'Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.', true) - ->param('touch', false, new Boolean(true), 'Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.', true) - ->param('permissions', [], new ArrayList(new WhiteList(['geolocation', 'camera', 'microphone', 'notifications', 'midi', 'push', 'clipboard-read', 'clipboard-write', 'payment-handler', 'usb', 'bluetooth', 'accelerometer', 'gyroscope', 'magnetometer', 'ambient-light-sensor', 'background-sync', 'persistent-storage', 'screen-wake-lock', 'web-share', 'xr-spatial-tracking'])), 'Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.', true) - ->param('sleep', 0, new Range(0, 10), 'Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.', true) - ->param('width', 0, new Range(0, 2000), 'Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).', true) - ->param('height', 0, new Range(0, 2000), 'Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).', true) - ->param('quality', -1, new Range(-1, 100), 'Screenshot quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.', true) - ->param('output', '', new WhiteList(\array_keys(Config::getParam('storage-outputs')), true), 'Output format type (jpeg, jpg, png, gif and webp).', true) + ->param('url', '', new URL(['http', 'https']), 'Website URL which you want to capture.', example: 'https://example.com') + ->param('headers', [], new Assoc(), 'HTTP headers to send with the browser request. Defaults to empty.', true, example: '{"Authorization":"Bearer token123","X-Custom-Header":"value"}') + ->param('viewportWidth', 1280, new Range(1, 1920), 'Browser viewport width. Pass an integer between 1 to 1920. Defaults to 1280.', true, example: '1920') + ->param('viewportHeight', 720, new Range(1, 1080), 'Browser viewport height. Pass an integer between 1 to 1080. Defaults to 720.', true, example: '1080') + ->param('scale', 1, new Range(0.1, 3, Range::TYPE_FLOAT), 'Browser scale factor. Pass a number between 0.1 to 3. Defaults to 1.', true, example: '2') + ->param('theme', 'light', new WhiteList(['light', 'dark']), 'Browser theme. Pass "light" or "dark". Defaults to "light".', true, example: 'dark') + ->param('userAgent', '', new Text(512), 'Custom user agent string. Defaults to browser default.', true, example: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15') + ->param('fullpage', false, new Boolean(true), 'Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.', true, example: 'true') + ->param('locale', '', new Text(10), 'Browser locale (e.g., "en-US", "fr-FR"). Defaults to browser default.', true, example: 'en-US') + ->param('timezone', '', new WhiteList(timezone_identifiers_list()), 'IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.', true, example: 'America/New_York') + ->param('latitude', 0, new Range(-90, 90, Range::TYPE_FLOAT), 'Geolocation latitude. Pass a number between -90 to 90. Defaults to 0.', true, example: '37.7749') + ->param('longitude', 0, new Range(-180, 180, Range::TYPE_FLOAT), 'Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.', true, example: '-122.4194') + ->param('accuracy', 0, new Range(0, 100000, Range::TYPE_FLOAT), 'Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.', true, example: '100') + ->param('touch', false, new Boolean(true), 'Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.', true, example: 'true') + ->param('permissions', [], new ArrayList(new WhiteList(['geolocation', 'camera', 'microphone', 'notifications', 'midi', 'push', 'clipboard-read', 'clipboard-write', 'payment-handler', 'usb', 'bluetooth', 'accelerometer', 'gyroscope', 'magnetometer', 'ambient-light-sensor', 'background-sync', 'persistent-storage', 'screen-wake-lock', 'web-share', 'xr-spatial-tracking'])), 'Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.', true, example: '["geolocation","notifications"]') + ->param('sleep', 0, new Range(0, 10), 'Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.', true, example: '3') + ->param('width', 0, new Range(0, 2000), 'Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).', true, example: '800') + ->param('height', 0, new Range(0, 2000), 'Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).', true, example: '600') + ->param('quality', -1, new Range(-1, 100), 'Screenshot quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.', true, example: '85') + ->param('output', '', new WhiteList(\array_keys(Config::getParam('storage-outputs')), true), 'Output format type (jpeg, jpg, png, gif and webp).', true, example: 'jpeg') ->inject('response') ->inject('queueForStatsUsage') ->action(function (string $url, array $headers, int $viewportWidth, int $viewportHeight, float $scale, string $theme, string $userAgent, bool $fullpage, string $locale, string $timezone, float $latitude, float $longitude, float $accuracy, bool $touch, array $permissions, int $sleep, int $width, int $height, int $quality, string $output, Response $response, StatsUsage $queueForStatsUsage) { diff --git a/docs/examples/1.8.x/client-android/java/avatars/get-screenshot.md b/docs/examples/1.8.x/client-android/java/avatars/get-screenshot.md index 0f6e41451a..ce8372dd37 100644 --- a/docs/examples/1.8.x/client-android/java/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-android/java/avatars/get-screenshot.md @@ -13,24 +13,27 @@ Avatars avatars = new Avatars(client); avatars.getScreenshot( "https://example.com", // url - Map.of("a", "b"), // headers (optional) - 1, // viewportWidth (optional) - 1, // viewportHeight (optional) - 0.1, // scale (optional) + Map.of( + "Authorization", "Bearer token123", + "X-Custom-Header", "value" + ), // headers (optional) + 1920, // viewportWidth (optional) + 1080, // viewportHeight (optional) + 2, // scale (optional) Theme.LIGHT, // theme (optional) - "", // userAgent (optional) - false, // fullpage (optional) - "", // locale (optional) + "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // userAgent (optional) + true, // fullpage (optional) + "en-US", // locale (optional) Timezone.AFRICA_ABIDJAN, // timezone (optional) - -90, // latitude (optional) - -180, // longitude (optional) - 0, // accuracy (optional) - false, // touch (optional) - List.of(), // permissions (optional) - 0, // sleep (optional) - 0, // width (optional) - 0, // height (optional) - -1, // quality (optional) + 37.7749, // latitude (optional) + -122.4194, // longitude (optional) + 100, // accuracy (optional) + true, // touch (optional) + List.of("geolocation", "notifications"), // permissions (optional) + 3, // sleep (optional) + 800, // width (optional) + 600, // height (optional) + 85, // quality (optional) Output.JPG, // output (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { diff --git a/docs/examples/1.8.x/client-android/kotlin/avatars/get-screenshot.md b/docs/examples/1.8.x/client-android/kotlin/avatars/get-screenshot.md index 2638e9e6a5..d7cd6cda24 100644 --- a/docs/examples/1.8.x/client-android/kotlin/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-android/kotlin/avatars/get-screenshot.md @@ -13,23 +13,26 @@ val avatars = Avatars(client) val result = avatars.getScreenshot( url = "https://example.com", - headers = mapOf( "a" to "b" ), // (optional) - viewportWidth = 1, // (optional) - viewportHeight = 1, // (optional) - scale = 0.1, // (optional) + headers = mapOf( + "Authorization" to "Bearer token123", + "X-Custom-Header" to "value" + ), // (optional) + viewportWidth = 1920, // (optional) + viewportHeight = 1080, // (optional) + scale = 2, // (optional) theme = theme.LIGHT, // (optional) - userAgent = "", // (optional) - fullpage = false, // (optional) - locale = "", // (optional) + userAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // (optional) + fullpage = true, // (optional) + locale = "en-US", // (optional) timezone = timezone.AFRICA_ABIDJAN, // (optional) - latitude = -90, // (optional) - longitude = -180, // (optional) - accuracy = 0, // (optional) - touch = false, // (optional) - permissions = listOf(), // (optional) - sleep = 0, // (optional) - width = 0, // (optional) - height = 0, // (optional) - quality = -1, // (optional) + latitude = 37.7749, // (optional) + longitude = -122.4194, // (optional) + accuracy = 100, // (optional) + touch = true, // (optional) + permissions = listOf("geolocation", "notifications"), // (optional) + sleep = 3, // (optional) + width = 800, // (optional) + height = 600, // (optional) + quality = 85, // (optional) output = output.JPG, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/client-apple/examples/avatars/get-screenshot.md index 7f4ef5da5c..20d635a8fa 100644 --- a/docs/examples/1.8.x/client-apple/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-apple/examples/avatars/get-screenshot.md @@ -9,24 +9,27 @@ let avatars = Avatars(client) let bytes = try await avatars.getScreenshot( url: "https://example.com", - headers: [:], // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: [ + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + ], // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: .light, // optional - userAgent: "", // optional - fullpage: false, // optional - locale: "", // optional + userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional + fullpage: true, // optional + locale: "en-US", // optional timezone: .africaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: .jpg // optional ) diff --git a/docs/examples/1.8.x/client-flutter/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/client-flutter/examples/avatars/get-screenshot.md index 42a5ca7230..0dc9b76e96 100644 --- a/docs/examples/1.8.x/client-flutter/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-flutter/examples/avatars/get-screenshot.md @@ -9,24 +9,27 @@ Avatars avatars = Avatars(client); // Downloading file Uint8List bytes = await avatars.getScreenshot( url: 'https://example.com', - headers: {}, // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme.light, // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: Timezone.africaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output.jpg, // optional ) @@ -37,24 +40,27 @@ file.writeAsBytesSync(bytes); FutureBuilder( future: avatars.getScreenshot( url:'https://example.com' , - headers:{} , // optional - viewportWidth:1 , // optional - viewportHeight:1 , // optional - scale:0.1 , // optional + headers:{ + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + } , // optional + viewportWidth:1920 , // optional + viewportHeight:1080 , // optional + scale:2 , // optional theme: Theme.light, // optional - userAgent:'' , // optional - fullpage:false , // optional - locale:'' , // optional + userAgent:'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15' , // optional + fullpage:true , // optional + locale:'en-US' , // optional timezone: Timezone.africaAbidjan, // optional - latitude:-90 , // optional - longitude:-180 , // optional - accuracy:0 , // optional - touch:false , // optional - permissions:[] , // optional - sleep:0 , // optional - width:0 , // optional - height:0 , // optional - quality:-1 , // optional + latitude:37.7749 , // optional + longitude:-122.4194 , // optional + accuracy:100 , // optional + touch:true , // optional + permissions:["geolocation","notifications"] , // optional + sleep:3 , // optional + width:800 , // optional + height:600 , // optional + quality:85 , // optional output: Output.jpg, // optional ), // Works for both public file and private file, for private files you need to be logged in builder: (context, snapshot) { diff --git a/docs/examples/1.8.x/client-react-native/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/client-react-native/examples/avatars/get-screenshot.md index 918ab667d6..2e4b84dec8 100644 --- a/docs/examples/1.8.x/client-react-native/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-react-native/examples/avatars/get-screenshot.md @@ -8,24 +8,27 @@ const avatars = new Avatars(client); const result = avatars.getScreenshot({ url: 'https://example.com', - headers: {}, // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme.Light, // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: Timezone.AfricaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output.Jpg // optional }); diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md index dd5ef4c731..e5a5b0ea05 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/create-mfa-challenge.md @@ -1,4 +1,4 @@ -POST /v1/account/mfa/challenge HTTP/1.1 +POST /v1/account/mfa/challenges HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md index b6a7e92b28..df2cd9a1e8 100644 --- a/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/client-rest/examples/account/update-mfa-challenge.md @@ -1,4 +1,4 @@ -PUT /v1/account/mfa/challenge HTTP/1.1 +PUT /v1/account/mfa/challenges HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/client-web/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/client-web/examples/avatars/get-screenshot.md index 75d6bcf80c..033458f43a 100644 --- a/docs/examples/1.8.x/client-web/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/client-web/examples/avatars/get-screenshot.md @@ -8,24 +8,27 @@ const avatars = new Avatars(client); const result = avatars.getScreenshot({ url: 'https://example.com', - headers: {}, // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme.Light, // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: Timezone.AfricaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output.Jpg // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/console-web/examples/avatars/get-screenshot.md index 25ccc040f0..821f60e2ee 100644 --- a/docs/examples/1.8.x/console-web/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/console-web/examples/avatars/get-screenshot.md @@ -8,24 +8,27 @@ const avatars = new Avatars(client); const result = avatars.getScreenshot({ url: 'https://example.com', - headers: {}, // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme.Light, // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: Timezone.AfricaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output.Jpg // optional }); diff --git a/docs/examples/1.8.x/console-web/examples/vcs/list-repositories.md b/docs/examples/1.8.x/console-web/examples/vcs/list-repositories.md index cae640097e..85334c43e1 100644 --- a/docs/examples/1.8.x/console-web/examples/vcs/list-repositories.md +++ b/docs/examples/1.8.x/console-web/examples/vcs/list-repositories.md @@ -9,7 +9,8 @@ const vcs = new Vcs(client); const result = await vcs.listRepositories({ installationId: '', type: VCSDetectionType.Runtime, - search: '' // optional + search: '', // optional + queries: [] // optional }); console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-dart/examples/avatars/get-screenshot.md index c787a82298..da80f30bee 100644 --- a/docs/examples/1.8.x/server-dart/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-dart/examples/avatars/get-screenshot.md @@ -9,23 +9,26 @@ Avatars avatars = Avatars(client); Uint8List result = await avatars.getScreenshot( url: 'https://example.com', - headers: {}, // (optional) - viewportWidth: 1, // (optional) - viewportHeight: 1, // (optional) - scale: 0.1, // (optional) + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // (optional) + viewportWidth: 1920, // (optional) + viewportHeight: 1080, // (optional) + scale: 2, // (optional) theme: Theme.light, // (optional) - userAgent: '', // (optional) - fullpage: false, // (optional) - locale: '', // (optional) + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // (optional) + fullpage: true, // (optional) + locale: 'en-US', // (optional) timezone: Timezone.africaAbidjan, // (optional) - latitude: -90, // (optional) - longitude: -180, // (optional) - accuracy: 0, // (optional) - touch: false, // (optional) - permissions: [], // (optional) - sleep: 0, // (optional) - width: 0, // (optional) - height: 0, // (optional) - quality: -1, // (optional) + latitude: 37.7749, // (optional) + longitude: -122.4194, // (optional) + accuracy: 100, // (optional) + touch: true, // (optional) + permissions: ["geolocation","notifications"], // (optional) + sleep: 3, // (optional) + width: 800, // (optional) + height: 600, // (optional) + quality: 85, // (optional) output: Output.jpg, // (optional) ); diff --git a/docs/examples/1.8.x/server-dotnet/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-dotnet/examples/avatars/get-screenshot.md index e2e5462484..58e6e4267a 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-dotnet/examples/avatars/get-screenshot.md @@ -12,23 +12,26 @@ Avatars avatars = new Avatars(client); byte[] result = await avatars.GetScreenshot( url: "https://example.com", - headers: [object], // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: new { + Authorization = "Bearer token123", + X-Custom-Header = "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme.Light, // optional - userAgent: "", // optional - fullpage: false, // optional - locale: "", // optional + userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional + fullpage: true, // optional + locale: "en-US", // optional timezone: Timezone.AfricaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: new List(), // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output.Jpg // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md index ac425fbc4f..9191ad8875 100644 --- a/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-go/examples/avatars/get-screenshot.md @@ -16,23 +16,26 @@ service := avatars.New(client) response, error := service.GetScreenshot( "https://example.com", - avatars.WithGetScreenshotHeaders(map[string]interface{}{}), - avatars.WithGetScreenshotViewportWidth(1), - avatars.WithGetScreenshotViewportHeight(1), - avatars.WithGetScreenshotScale(0.1), - avatars.WithGetScreenshotTheme("light"), - avatars.WithGetScreenshotUserAgent(""), - avatars.WithGetScreenshotFullpage(false), - avatars.WithGetScreenshotLocale(""), - avatars.WithGetScreenshotTimezone("africa/abidjan"), - avatars.WithGetScreenshotLatitude(-90), - avatars.WithGetScreenshotLongitude(-180), - avatars.WithGetScreenshotAccuracy(0), - avatars.WithGetScreenshotTouch(false), - avatars.WithGetScreenshotPermissions([]interface{}{}), - avatars.WithGetScreenshotSleep(0), - avatars.WithGetScreenshotWidth(0), - avatars.WithGetScreenshotHeight(0), - avatars.WithGetScreenshotQuality(-1), - avatars.WithGetScreenshotOutput("jpg"), + avatars.WithGetScreenshotHeaders(map[string]interface{}{ + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }), + avatars.WithGetScreenshotViewportWidth(1920), + avatars.WithGetScreenshotViewportHeight(1080), + avatars.WithGetScreenshotScale(2), + avatars.WithGetScreenshotTheme("dark"), + avatars.WithGetScreenshotUserAgent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15"), + avatars.WithGetScreenshotFullpage(true), + avatars.WithGetScreenshotLocale("en-US"), + avatars.WithGetScreenshotTimezone("America/New_York"), + avatars.WithGetScreenshotLatitude(37.7749), + avatars.WithGetScreenshotLongitude(-122.4194), + avatars.WithGetScreenshotAccuracy(100), + avatars.WithGetScreenshotTouch(true), + avatars.WithGetScreenshotPermissions(interface{}{"geolocation","notifications"}), + avatars.WithGetScreenshotSleep(3), + avatars.WithGetScreenshotWidth(800), + avatars.WithGetScreenshotHeight(600), + avatars.WithGetScreenshotQuality(85), + avatars.WithGetScreenshotOutput("jpeg"), ) diff --git a/docs/examples/1.8.x/server-kotlin/java/avatars/get-screenshot.md b/docs/examples/1.8.x/server-kotlin/java/avatars/get-screenshot.md index 1874358337..5eea09678b 100644 --- a/docs/examples/1.8.x/server-kotlin/java/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-kotlin/java/avatars/get-screenshot.md @@ -14,24 +14,27 @@ Avatars avatars = new Avatars(client); avatars.getScreenshot( "https://example.com", // url - Map.of("a", "b"), // headers (optional) - 1, // viewportWidth (optional) - 1, // viewportHeight (optional) - 0.1, // scale (optional) + Map.of( + "Authorization", "Bearer token123", + "X-Custom-Header", "value" + ), // headers (optional) + 1920, // viewportWidth (optional) + 1080, // viewportHeight (optional) + 2, // scale (optional) Theme.LIGHT, // theme (optional) - "", // userAgent (optional) - false, // fullpage (optional) - "", // locale (optional) + "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // userAgent (optional) + true, // fullpage (optional) + "en-US", // locale (optional) Timezone.AFRICA_ABIDJAN, // timezone (optional) - -90, // latitude (optional) - -180, // longitude (optional) - 0, // accuracy (optional) - false, // touch (optional) - List.of(), // permissions (optional) - 0, // sleep (optional) - 0, // width (optional) - 0, // height (optional) - -1, // quality (optional) + 37.7749, // latitude (optional) + -122.4194, // longitude (optional) + 100, // accuracy (optional) + true, // touch (optional) + List.of("geolocation", "notifications"), // permissions (optional) + 3, // sleep (optional) + 800, // width (optional) + 600, // height (optional) + 85, // quality (optional) Output.JPG, // output (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md b/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md index eca5493c57..a2de2e5adc 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/avatars/get-screenshot.md @@ -14,23 +14,26 @@ val avatars = Avatars(client) val result = avatars.getScreenshot( url = "https://example.com", - headers = mapOf( "a" to "b" ), // optional - viewportWidth = 1, // optional - viewportHeight = 1, // optional - scale = 0.1, // optional - theme = "light", // optional - userAgent = "", // optional - fullpage = false, // optional - locale = "", // optional - timezone = "africa/abidjan", // optional - latitude = -90, // optional - longitude = -180, // optional - accuracy = 0, // optional - touch = false, // optional - permissions = listOf(), // optional - sleep = 0, // optional - width = 0, // optional - height = 0, // optional - quality = -1, // optional - output = "jpg" // optional + headers = mapOf( + "Authorization" to "Bearer token123", + "X-Custom-Header" to "value" + ), // optional + viewportWidth = 1920, // optional + viewportHeight = 1080, // optional + scale = 2, // optional + theme = "dark", // optional + userAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional + fullpage = true, // optional + locale = "en-US", // optional + timezone = "America/New_York", // optional + latitude = 37.7749, // optional + longitude = -122.4194, // optional + accuracy = 100, // optional + touch = true, // optional + permissions = listOf("geolocation", "notifications"), // optional + sleep = 3, // optional + width = 800, // optional + height = 600, // optional + quality = 85, // optional + output = "jpeg" // optional ) diff --git a/docs/examples/1.8.x/server-nodejs/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-nodejs/examples/avatars/get-screenshot.md index 60a38988cb..dc63102bf9 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-nodejs/examples/avatars/get-screenshot.md @@ -9,23 +9,26 @@ const avatars = new sdk.Avatars(client); const result = await avatars.getScreenshot({ url: 'https://example.com', - headers: {}, // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: sdk.Theme.Light, // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: sdk.Timezone.AfricaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: sdk.Output.Jpg // optional }); diff --git a/docs/examples/1.8.x/server-php/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-php/examples/avatars/get-screenshot.md index b9dfd23862..9f91a3fafe 100644 --- a/docs/examples/1.8.x/server-php/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-php/examples/avatars/get-screenshot.md @@ -15,23 +15,26 @@ $avatars = new Avatars($client); $result = $avatars->getScreenshot( url: 'https://example.com', - headers: [], // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: [ + 'Authorization' => 'Bearer token123', + 'X-Custom-Header' => 'value' + ], // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: Theme::LIGHT(), // optional - userAgent: '', // optional - fullpage: false, // optional - locale: '', // optional + userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', // optional + fullpage: true, // optional + locale: 'en-US', // optional timezone: Timezone::AFRICAABIDJAN(), // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: Output::JPG() // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-python/examples/avatars/get-screenshot.md index fe7073eceb..43755943f1 100644 --- a/docs/examples/1.8.x/server-python/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-python/examples/avatars/get-screenshot.md @@ -13,23 +13,26 @@ avatars = Avatars(client) result = avatars.get_screenshot( url = 'https://example.com', - headers = {}, # optional - viewport_width = 1, # optional - viewport_height = 1, # optional - scale = 0.1, # optional + headers = { + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + }, # optional + viewport_width = 1920, # optional + viewport_height = 1080, # optional + scale = 2, # optional theme = Theme.LIGHT, # optional - user_agent = '', # optional - fullpage = False, # optional - locale = '', # optional + user_agent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', # optional + fullpage = True, # optional + locale = 'en-US', # optional timezone = Timezone.AFRICA_ABIDJAN, # optional - latitude = -90, # optional - longitude = -180, # optional - accuracy = 0, # optional - touch = False, # optional - permissions = [], # optional - sleep = 0, # optional - width = 0, # optional - height = 0, # optional - quality = -1, # optional + latitude = 37.7749, # optional + longitude = -122.4194, # optional + accuracy = 100, # optional + touch = True, # optional + permissions = ["geolocation","notifications"], # optional + sleep = 3, # optional + width = 800, # optional + height = 600, # optional + quality = 85, # optional output = Output.JPG # optional ) diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md index dd5ef4c731..e5a5b0ea05 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/create-mfa-challenge.md @@ -1,4 +1,4 @@ -POST /v1/account/mfa/challenge HTTP/1.1 +POST /v1/account/mfa/challenges HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md index b6a7e92b28..df2cd9a1e8 100644 --- a/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.8.x/server-rest/examples/account/update-mfa-challenge.md @@ -1,4 +1,4 @@ -PUT /v1/account/mfa/challenge HTTP/1.1 +PUT /v1/account/mfa/challenges HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json X-Appwrite-Response-Format: 1.8.0 diff --git a/docs/examples/1.8.x/server-ruby/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-ruby/examples/avatars/get-screenshot.md index f66fae3e02..0271404522 100644 --- a/docs/examples/1.8.x/server-ruby/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-ruby/examples/avatars/get-screenshot.md @@ -12,23 +12,26 @@ avatars = Avatars.new(client) result = avatars.get_screenshot( url: 'https://example.com', - headers: {}, # optional - viewport_width: 1, # optional - viewport_height: 1, # optional - scale: 0.1, # optional + headers: { + "Authorization" => "Bearer token123", + "X-Custom-Header" => "value" + }, # optional + viewport_width: 1920, # optional + viewport_height: 1080, # optional + scale: 2, # optional theme: Theme::LIGHT, # optional - user_agent: '', # optional - fullpage: false, # optional - locale: '', # optional + user_agent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15', # optional + fullpage: true, # optional + locale: 'en-US', # optional timezone: Timezone::AFRICA_ABIDJAN, # optional - latitude: -90, # optional - longitude: -180, # optional - accuracy: 0, # optional - touch: false, # optional - permissions: [], # optional - sleep: 0, # optional - width: 0, # optional - height: 0, # optional - quality: -1, # optional + latitude: 37.7749, # optional + longitude: -122.4194, # optional + accuracy: 100, # optional + touch: true, # optional + permissions: ["geolocation","notifications"], # optional + sleep: 3, # optional + width: 800, # optional + height: 600, # optional + quality: 85, # optional output: Output::JPG # optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/avatars/get-screenshot.md b/docs/examples/1.8.x/server-swift/examples/avatars/get-screenshot.md index 3aa1661093..91e08d9053 100644 --- a/docs/examples/1.8.x/server-swift/examples/avatars/get-screenshot.md +++ b/docs/examples/1.8.x/server-swift/examples/avatars/get-screenshot.md @@ -10,24 +10,27 @@ let avatars = Avatars(client) let bytes = try await avatars.getScreenshot( url: "https://example.com", - headers: [:], // optional - viewportWidth: 1, // optional - viewportHeight: 1, // optional - scale: 0.1, // optional + headers: [ + "Authorization": "Bearer token123", + "X-Custom-Header": "value" + ], // optional + viewportWidth: 1920, // optional + viewportHeight: 1080, // optional + scale: 2, // optional theme: .light, // optional - userAgent: "", // optional - fullpage: false, // optional - locale: "", // optional + userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional + fullpage: true, // optional + locale: "en-US", // optional timezone: .africaAbidjan, // optional - latitude: -90, // optional - longitude: -180, // optional - accuracy: 0, // optional - touch: false, // optional - permissions: [], // optional - sleep: 0, // optional - width: 0, // optional - height: 0, // optional - quality: -1, // optional + latitude: 37.7749, // optional + longitude: -122.4194, // optional + accuracy: 100, // optional + touch: true, // optional + permissions: ["geolocation","notifications"], // optional + sleep: 3, // optional + width: 800, // optional + height: 600, // optional + quality: 85, // optional output: .jpg // optional ) diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 0ab16d306b..3dada27890 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -449,23 +449,23 @@ class OpenAPI3 extends Format case 'Utopia\Database\Validator\UID': case 'Utopia\Validator\Text': $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = false; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: false; break; case 'Appwrite\Utopia\Database\Validator\CustomId': if ($sdk->getType() === MethodType::UPLOAD) { $node['schema']['x-upload-id'] = true; } $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Database\Validator\DatetimeValidator': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'datetime'; - $node['schema']['x-example'] = Model::TYPE_DATETIME_EXAMPLE; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: Model::TYPE_DATETIME_EXAMPLE; break; case 'Utopia\Database\Validator\Spatial': /** @var Spatial $validator */ @@ -475,7 +475,7 @@ class OpenAPI3 extends Format ['type' => 'array'] ] ]; - $node['schema']['x-example'] = match ($validator->getSpatialType()) { + $node['schema']['x-example'] = ($param['example'] ?? '') ?: match ($validator->getSpatialType()) { Database::VAR_POINT => '[1, 2]', Database::VAR_LINESTRING => '[[1, 2], [3, 4], [5, 6]]', Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]', @@ -484,14 +484,14 @@ class OpenAPI3 extends Format case 'Appwrite\Network\Validator\Email': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'email'; - $node['schema']['x-example'] = 'email@example.com'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: 'email@example.com'; break; case 'Utopia\Validator\Host': case 'Utopia\Validator\URL': case 'Appwrite\Network\Validator\Redirect': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'url'; - $node['schema']['x-example'] = 'https://example.com'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: 'https://example.com'; break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': @@ -511,6 +511,9 @@ class OpenAPI3 extends Format $node['schema']['items'] = [ 'type' => $validator->getValidator()->getType(), ]; + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } break; case 'Appwrite\Utopia\Database\Validator\Queries\Base': case 'Appwrite\Utopia\Database\Validator\Queries\Columns': @@ -551,47 +554,56 @@ class OpenAPI3 extends Format $node['schema']['items'] = [ 'type' => 'string', ]; - $node['schema']['x-example'] = '["' . Permission::read(Role::any()) . '"]'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '["' . Permission::read(Role::any()) . '"]'; break; case 'Utopia\Database\Validator\Roles': $node['schema']['type'] = $validator->getType(); $node['schema']['items'] = [ 'type' => 'string', ]; - $node['schema']['x-example'] = '["' . Role::any()->toString() . '"]'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '["' . Role::any()->toString() . '"]'; break; case 'Appwrite\Auth\Validator\Password': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'password'; - $node['schema']['x-example'] = 'password'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: 'password'; break; case 'Appwrite\Auth\Validator\Phone': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'phone'; - $node['schema']['x-example'] = '+12065550100'; // In the US, 555 is reserved like example.com + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '+12065550100'; // In the US, 555 is reserved like example.com break; case 'Utopia\Validator\Range': /** @var Range $validator */ $node['schema']['type'] = $validator->getType() === Validator::TYPE_FLOAT ? 'number' : $validator->getType(); $node['schema']['format'] = $validator->getType() == Validator::TYPE_INTEGER ? 'int32' : 'float'; - $node['schema']['x-example'] = $validator->getMin(); + $node['schema']['x-example'] = ($param['example'] ?? '') ?: $validator->getMin(); break; case 'Utopia\Validator\Integer': $node['schema']['type'] = $validator->getType(); $node['schema']['format'] = 'int32'; + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } break; case 'Utopia\Validator\Numeric': case 'Utopia\Validator\FloatValidator': $node['schema']['type'] = 'number'; $node['schema']['format'] = 'float'; + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } break; case 'Utopia\Validator\Length': $node['schema']['type'] = $validator->getType(); + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } break; case 'Utopia\Validator\WhiteList': /** @var WhiteList $validator */ $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = $validator->getList()[0]; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; // Iterate from the blackList. If it matches with the current one, then it is a blackList // Do not add the enum @@ -617,7 +629,7 @@ class OpenAPI3 extends Format break; case 'Appwrite\Utopia\Database\Validator\CompoundUID': $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = ''; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: ''; break; case 'Appwrite\Utopia\Database\Validator\Operation': if ($array) { @@ -633,22 +645,29 @@ class OpenAPI3 extends Format } else { $node['schema']['type'] = 'object'; } - $example = [ - 'action' => 'create', - 'databaseId' => '', - $collectionIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($collectionIdKey)).'>', - $documentIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($documentIdKey)).'>', - 'data' => [ - 'name' => 'Walter O\'Brien', - ], - ]; - if ($array) { - $example = [$example]; + if (empty($param['example'])) { + $example = [ + 'action' => 'create', + 'databaseId' => '', + $collectionIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($collectionIdKey)).'>', + $documentIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($documentIdKey)).'>', + 'data' => [ + 'name' => 'Walter O\'Brien', + ], + ]; + if ($array) { + $example = [$example]; + } + $node['schema']['x-example'] = \str_replace("\n", "\n\t", \json_encode($example, JSON_PRETTY_PRINT)); + } else { + $node['schema']['x-example'] = $param['example']; } - $node['schema']['x-example'] = \str_replace("\n", "\n\t", \json_encode($example, JSON_PRETTY_PRINT)); break; default: $node['schema']['type'] = 'string'; + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } break; } diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 7606c48750..210027fa5f 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -454,23 +454,23 @@ class Swagger2 extends Format case 'Utopia\Validator\Text': case 'Utopia\Database\Validator\UID': $node['type'] = $validator->getType(); - $node['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; + $node['x-example'] = ($param['example'] ?? '') ?: '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Validator\Boolean': $node['type'] = $validator->getType(); - $node['x-example'] = false; + $node['x-example'] = ($param['example'] ?? '') ?: false; break; case 'Appwrite\Utopia\Database\Validator\CustomId': if ($sdk->getType() === MethodType::UPLOAD) { $node['x-upload-id'] = true; } $node['type'] = $validator->getType(); - $node['x-example'] = '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; + $node['x-example'] = ($param['example'] ?? '') ?: '<' . \strtoupper(Template::fromCamelCaseToSnake($node['name'])) . '>'; break; case 'Utopia\Database\Validator\DatetimeValidator': $node['type'] = $validator->getType(); $node['format'] = 'datetime'; - $node['x-example'] = Model::TYPE_DATETIME_EXAMPLE; + $node['x-example'] = ($param['example'] ?? '') ?: Model::TYPE_DATETIME_EXAMPLE; break; case 'Utopia\Database\Validator\Spatial': /** @var Spatial $validator */ @@ -480,7 +480,7 @@ class Swagger2 extends Format ['type' => 'array'] ] ]; - $node['x-example'] = match ($validator->getSpatialType()) { + $node['x-example'] = ($param['example'] ?? '') ?: match ($validator->getSpatialType()) { Database::VAR_POINT => '[1, 2]', Database::VAR_LINESTRING => '[[1, 2], [3, 4], [5, 6]]', Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]', @@ -489,14 +489,14 @@ class Swagger2 extends Format case 'Appwrite\Network\Validator\Email': $node['type'] = $validator->getType(); $node['format'] = 'email'; - $node['x-example'] = 'email@example.com'; + $node['x-example'] = ($param['example'] ?? '') ?: 'email@example.com'; break; case 'Utopia\Validator\Host': case 'Utopia\Validator\URL': case 'Appwrite\Network\Validator\Redirect': $node['type'] = $validator->getType(); $node['format'] = 'url'; - $node['x-example'] = 'https://example.com'; + $node['x-example'] = ($param['example'] ?? '') ?: 'https://example.com'; break; case 'Utopia\Validator\ArrayList': /** @var ArrayList $validator */ @@ -505,6 +505,9 @@ class Swagger2 extends Format $node['items'] = [ 'type' => $validator->getValidator()->getType(), ]; + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': @@ -539,7 +542,7 @@ class Swagger2 extends Format $node['items'] = [ 'type' => 'string', ]; - $node['x-example'] = '["' . Permission::read(Role::any()) . '"]'; + $node['x-example'] = ($param['example'] ?? '') ?: '["' . Permission::read(Role::any()) . '"]'; break; case 'Utopia\Database\Validator\Roles': $node['type'] = $validator->getType(); @@ -547,40 +550,49 @@ class Swagger2 extends Format $node['items'] = [ 'type' => 'string', ]; - $node['x-example'] = '["' . Role::any()->toString() . '"]'; + $node['x-example'] = ($param['example'] ?? '') ?: '["' . Role::any()->toString() . '"]'; break; case 'Appwrite\Auth\Validator\Password': $node['type'] = $validator->getType(); $node['format'] = 'password'; - $node['x-example'] = 'password'; + $node['x-example'] = ($param['example'] ?? '') ?: 'password'; break; case 'Appwrite\Auth\Validator\Phone': $node['type'] = $validator->getType(); $node['format'] = 'phone'; - $node['x-example'] = '+12065550100'; + $node['x-example'] = ($param['example'] ?? '') ?: '+12065550100'; break; case 'Utopia\Validator\Range': /** @var Range $validator */ $node['type'] = $validator->getType() === Validator::TYPE_FLOAT ? 'number' : $validator->getType(); $node['format'] = $validator->getType() == Validator::TYPE_INTEGER ? 'int32' : 'float'; - $node['x-example'] = $validator->getMin(); + $node['x-example'] = ($param['example'] ?? '') ?: $validator->getMin(); break; case 'Utopia\Validator\Integer': $node['type'] = $validator->getType(); $node['format'] = 'int32'; + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } break; case 'Utopia\Validator\Numeric': case 'Utopia\Validator\FloatValidator': $node['type'] = 'number'; $node['format'] = 'float'; + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } break; case 'Utopia\Validator\Length': $node['type'] = $validator->getType(); + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } break; case 'Utopia\Validator\WhiteList': /** @var WhiteList $validator */ $node['type'] = $validator->getType(); - $node['x-example'] = $validator->getList()[0]; + $node['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; // Iterate the blackList. If it matches with the current one, then it is blackListed $allowed = true; @@ -601,7 +613,7 @@ class Swagger2 extends Format break; case 'Appwrite\Utopia\Database\Validator\CompoundUID': $node['type'] = $validator->getType(); - $node['x-example'] = ''; + $node['x-example'] = ($param['example'] ?? '') ?: ''; break; case 'Appwrite\Utopia\Database\Validator\Operation': if ($array) { @@ -618,22 +630,29 @@ class Swagger2 extends Format } else { $node['type'] = 'object'; } - $example = [ - 'action' => 'create', - 'databaseId' => '', - $collectionIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($collectionIdKey)).'>', - $documentIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($documentIdKey)).'>', - 'data' => [ - 'name' => 'Walter O\'Brien', - ], - ]; - if ($array) { - $example = [$example]; + if (empty($param['example'])) { + $example = [ + 'action' => 'create', + 'databaseId' => '', + $collectionIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($collectionIdKey)).'>', + $documentIdKey => '<'.\strtoupper(Template::fromCamelCaseToSnake($documentIdKey)).'>', + 'data' => [ + 'name' => 'Walter O\'Brien', + ], + ]; + if ($array) { + $example = [$example]; + } + $node['x-example'] = \str_replace("\n", "\n\t", \json_encode($example, JSON_PRETTY_PRINT)); + } else { + $node['x-example'] = $param['example']; } - $node['x-example'] = \str_replace("\n", "\n\t", \json_encode($example, JSON_PRETTY_PRINT)); break; default: $node['type'] = 'string'; + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } break; } From 8fe1ec48d05ab591a56c79bbbfa53f77710091ff Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Dec 2025 09:28:39 +0530 Subject: [PATCH 3/7] chore: browser permissions enum --- app/config/specs/open-api3-1.8.x-client.json | 44 +- app/config/specs/open-api3-1.8.x-console.json | 627 +++++++++++++++++- app/config/specs/open-api3-1.8.x-server.json | 182 ++++- app/config/specs/open-api3-latest-client.json | 44 +- .../specs/open-api3-latest-console.json | 627 +++++++++++++++++- app/config/specs/open-api3-latest-server.json | 182 ++++- app/config/specs/swagger2-1.8.x-client.json | 44 +- app/config/specs/swagger2-1.8.x-console.json | 627 +++++++++++++++++- app/config/specs/swagger2-1.8.x-server.json | 182 ++++- app/config/specs/swagger2-latest-client.json | 44 +- app/config/specs/swagger2-latest-console.json | 627 +++++++++++++++++- app/config/specs/swagger2-latest-server.json | 182 ++++- src/Appwrite/SDK/Specification/Format.php | 6 + .../SDK/Specification/Format/OpenAPI3.php | 79 ++- .../SDK/Specification/Format/Swagger2.php | 65 +- 15 files changed, 3393 insertions(+), 169 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 e7d3621e61..2faa0b3c8b 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -5572,7 +5572,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -10815,7 +10839,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -10993,7 +11024,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, 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 48f234cb4e..622274c6ff 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -5577,7 +5577,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -12380,7 +12404,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -13240,7 +13270,66 @@ "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -13438,7 +13527,78 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "python-ml-3.12", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-2.19", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dart-3.8", + "dart-3.9", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24", + "flutter-3.27", + "flutter-3.29", + "flutter-3.32", + "flutter-3.35" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -13451,7 +13611,17 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -13883,7 +14053,66 @@ "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -22910,7 +23139,27 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -22995,7 +23244,27 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23289,7 +23558,21 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "serviceAccount": { @@ -23362,7 +23645,21 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23437,7 +23734,22 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "subdomain": { @@ -23545,7 +23857,22 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23681,7 +24008,22 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23783,7 +24125,22 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -26529,7 +26886,66 @@ "description": "List of scopes allowed for JWT key. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "duration": { @@ -26690,7 +27106,66 @@ "description": "Key scopes list. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "x-nullable": true }, @@ -26863,7 +27338,66 @@ "description": "Key scopes list. Maximum of 100 events are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "x-nullable": true }, @@ -31345,7 +31879,26 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "analog", + "angular", + "nextjs", + "react", + "nuxt", + "vue", + "sveltekit", + "astro", + "tanstack-start", + "remix", + "lynx", + "flutter", + "react-native", + "vite", + "other" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -31358,7 +31911,17 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -39764,7 +40327,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -42310,7 +42879,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -42488,7 +43064,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, 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 b026fb93e2..0d448696bf 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -5293,7 +5293,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -11802,7 +11826,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -12262,7 +12292,66 @@ "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -12666,7 +12755,66 @@ "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -30042,7 +30190,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -32156,7 +32310,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -32338,7 +32499,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index e7d3621e61..2faa0b3c8b 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -5572,7 +5572,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -10815,7 +10839,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -10993,7 +11024,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 48f234cb4e..622274c6ff 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -5577,7 +5577,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -12380,7 +12404,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -13240,7 +13270,66 @@ "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -13438,7 +13527,78 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "python-ml-3.12", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-2.19", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dart-3.8", + "dart-3.9", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24", + "flutter-3.27", + "flutter-3.29", + "flutter-3.32", + "flutter-3.35" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -13451,7 +13611,17 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -13883,7 +14053,66 @@ "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -22910,7 +23139,27 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -22995,7 +23244,27 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23289,7 +23558,21 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "serviceAccount": { @@ -23362,7 +23645,21 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23437,7 +23734,22 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "subdomain": { @@ -23545,7 +23857,22 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -23681,7 +24008,22 @@ "description": "List of resources to migrate", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23783,7 +24125,22 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "in": "query" @@ -26529,7 +26886,66 @@ "description": "List of scopes allowed for JWT key. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "duration": { @@ -26690,7 +27106,66 @@ "description": "Key scopes list. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "x-nullable": true }, @@ -26863,7 +27338,66 @@ "description": "Key scopes list. Maximum of 100 events are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "x-nullable": true }, @@ -31345,7 +31879,26 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "analog", + "angular", + "nextjs", + "react", + "nuxt", + "vue", + "sveltekit", + "astro", + "tanstack-start", + "remix", + "lynx", + "flutter", + "react-native", + "vite", + "other" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -31358,7 +31911,17 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [] }, @@ -39764,7 +40327,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -42310,7 +42879,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -42488,7 +43064,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index b026fb93e2..0d448696bf 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -5293,7 +5293,31 @@ "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [] @@ -11802,7 +11826,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -12262,7 +12292,66 @@ "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -12666,7 +12755,66 @@ "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -30042,7 +30190,13 @@ "description": "Array of index orders. Maximum of 100 orders are allowed.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -32156,7 +32310,14 @@ "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -32338,7 +32499,14 @@ "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 75c4f7406d..cecedd0a26 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -5688,7 +5688,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -10789,7 +10813,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -10960,7 +10991,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index c1c68cafa4..010a25d234 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -5703,7 +5703,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -12341,7 +12365,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -13185,7 +13215,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -13388,7 +13477,78 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "python-ml-3.12", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-2.19", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dart-3.8", + "dart-3.9", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24", + "flutter-3.27", + "flutter-3.29", + "flutter-3.32", + "flutter-3.35" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -13400,7 +13560,17 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -13829,7 +13999,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -23011,7 +23240,27 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23098,7 +23347,27 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23406,7 +23675,21 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "serviceAccount": { @@ -23479,7 +23762,21 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23555,7 +23852,22 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "subdomain": { @@ -23669,7 +23981,22 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23794,7 +24121,22 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23901,7 +24243,22 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -26631,7 +26988,66 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "duration": { @@ -26790,7 +27206,66 @@ "x-example": null, "x-nullable": true, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "expire": { @@ -26958,7 +27433,66 @@ "x-example": null, "x-nullable": true, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "expire": { @@ -31454,7 +31988,26 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "analog", + "angular", + "nextjs", + "react", + "nuxt", + "vue", + "sveltekit", + "astro", + "tanstack-start", + "remix", + "lynx", + "flutter", + "react-native", + "vite", + "other" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -31466,7 +32019,17 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -39704,7 +40267,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -42156,7 +42725,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -42327,7 +42903,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 85d5219b10..dd2a3fb93f 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -5415,7 +5415,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -11760,7 +11784,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -12222,7 +12252,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -12639,7 +12728,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -30043,7 +30191,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -32090,7 +32244,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -32265,7 +32426,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 75c4f7406d..cecedd0a26 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -5688,7 +5688,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -10789,7 +10813,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -10960,7 +10991,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index c1c68cafa4..010a25d234 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -5703,7 +5703,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -12341,7 +12365,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -13185,7 +13215,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -13388,7 +13477,78 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "python-ml-3.12", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-2.19", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dart-3.8", + "dart-3.9", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24", + "flutter-3.27", + "flutter-3.29", + "flutter-3.32", + "flutter-3.35" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -13400,7 +13560,17 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -13829,7 +13999,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -23011,7 +23240,27 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23098,7 +23347,27 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "team", + "membership", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file", + "function", + "deployment", + "environment-variable" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23406,7 +23675,21 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "serviceAccount": { @@ -23479,7 +23762,21 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23555,7 +23852,22 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "subdomain": { @@ -23669,7 +23981,22 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -23794,7 +24121,22 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "endpoint": { @@ -23901,7 +24243,22 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "user", + "database", + "table", + "column", + "index", + "row", + "document", + "attribute", + "collection", + "bucket", + "file" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "in": "query" }, @@ -26631,7 +26988,66 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "duration": { @@ -26790,7 +27206,66 @@ "x-example": null, "x-nullable": true, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "expire": { @@ -26958,7 +27433,66 @@ "x-example": null, "x-nullable": true, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "expire": { @@ -31454,7 +31988,26 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "analog", + "angular", + "nextjs", + "react", + "nuxt", + "vue", + "sveltekit", + "astro", + "tanstack-start", + "remix", + "lynx", + "flutter", + "react-native", + "vite", + "other" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -31466,7 +32019,17 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "dev-tools", + "starter", + "databases", + "ai", + "messaging", + "utilities" + ], + "x-enum-name": null, + "x-enum-keys": [] }, "default": [], "in": "query" @@ -39704,7 +40267,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -42156,7 +42725,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -42327,7 +42903,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 85d5219b10..dd2a3fb93f 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -5415,7 +5415,31 @@ "type": "array", "collectionFormat": "multi", "items": { - "type": "string" + "type": "string", + "enum": [ + "geolocation", + "camera", + "microphone", + "notifications", + "midi", + "push", + "clipboard-read", + "clipboard-write", + "payment-handler", + "usb", + "bluetooth", + "accelerometer", + "gyroscope", + "magnetometer", + "ambient-light-sensor", + "background-sync", + "persistent-storage", + "screen-wake-lock", + "web-share", + "xr-spatial-tracking" + ], + "x-enum-name": "BrowserPermission", + "x-enum-keys": [] }, "x-example": "[\"geolocation\",\"notifications\"]", "default": [], @@ -11760,7 +11784,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -12222,7 +12252,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -12639,7 +12728,66 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "sessions.write", + "users.read", + "users.write", + "teams.read", + "teams.write", + "databases.read", + "databases.write", + "collections.read", + "collections.write", + "tables.read", + "tables.write", + "attributes.read", + "attributes.write", + "columns.read", + "columns.write", + "indexes.read", + "indexes.write", + "documents.read", + "documents.write", + "rows.read", + "rows.write", + "files.read", + "files.write", + "buckets.read", + "buckets.write", + "functions.read", + "functions.write", + "sites.read", + "sites.write", + "log.read", + "log.write", + "execution.read", + "execution.write", + "locale.read", + "avatars.read", + "health.read", + "providers.read", + "providers.write", + "messages.read", + "messages.write", + "topics.read", + "topics.write", + "subscribers.read", + "subscribers.write", + "targets.read", + "targets.write", + "rules.read", + "rules.write", + "migrations.read", + "migrations.write", + "vcs.read", + "vcs.write", + "assistant.read", + "tokens.read", + "tokens.write" + ], + "x-enum-name": null, + "x-enum-keys": [] } }, "installationId": { @@ -30043,7 +30191,13 @@ "default": [], "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": [ + "asc", + "desc" + ], + "x-enum-name": "OrderBy", + "x-enum-keys": [] } }, "lengths": { @@ -32090,7 +32244,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } }, "url": { @@ -32265,7 +32426,14 @@ "default": null, "x-example": null, "items": { - "type": "string" + "type": "string", + "enum": { + "2": "admin", + "3": "developer", + "4": "owner" + }, + "x-enum-name": null, + "x-enum-keys": [] } } }, diff --git a/src/Appwrite/SDK/Specification/Format.php b/src/Appwrite/SDK/Specification/Format.php index b9e1c3b4ed..aad832a9f4 100644 --- a/src/Appwrite/SDK/Specification/Format.php +++ b/src/Appwrite/SDK/Specification/Format.php @@ -171,6 +171,12 @@ abstract class Format return 'CreditCard'; case 'getFlag': return 'Flag'; + case 'getScreenshot': + switch ($param) { + case 'permissions': + return 'BrowserPermission'; + } + break; } break; case 'databases': diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 3dada27890..8e6dc68dfa 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -19,7 +19,6 @@ use Utopia\Validator; use Utopia\Validator\ArrayList; use Utopia\Validator\Nullable; use Utopia\Validator\Range; -use Utopia\Validator\WhiteList; class OpenAPI3 extends Format { @@ -440,6 +439,7 @@ class OpenAPI3 extends Format $subclass = \get_class($validator->getValidator()); switch ($subclass) { case 'Appwrite\Utopia\Database\Validator\Operation': + case 'Utopia\Validator\WhiteList': $class = $subclass; break; } @@ -601,30 +601,63 @@ class OpenAPI3 extends Format } break; case 'Utopia\Validator\WhiteList': - /** @var WhiteList $validator */ - $node['schema']['type'] = $validator->getType(); - $node['schema']['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; + if ($array) { + $validator = $validator->getValidator(); - // Iterate from the blackList. If it matches with the current one, then it is a blackList - // Do not add the enum - $allowed = true; - foreach ($this->enumBlacklist as $blacklist) { - if ( - $blacklist['namespace'] == $sdk->getNamespace() - && $blacklist['method'] == $methodName - && $blacklist['parameter'] == $name - ) { - $allowed = false; - break; + $node['schema']['type'] = 'array'; + $node['schema']['items'] = [ + 'type' => $validator->getType(), + ]; + if (!empty($param['example'])) { + $node['schema']['x-example'] = $param['example']; + } + + // Iterate from the blackList. If it matches with the current one, then it is a blackList + // Do not add the enum + $allowed = true; + foreach ($this->enumBlacklist as $blacklist) { + if ( + $blacklist['namespace'] == $sdk->getNamespace() + && $blacklist['method'] == $methodName + && $blacklist['parameter'] == $name + ) { + $allowed = false; + break; + } + } + if ($allowed && $validator->getType() === 'string') { + $node['schema']['items']['enum'] = $validator->getList(); + $node['schema']['items']['x-enum-name'] = $this->getRequestEnumName($sdk->getNamespace() ?? '', $methodName, $name); + $node['schema']['items']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); + } + if ($validator->getType() === 'integer') { + $node['schema']['items']['format'] = 'int32'; + } + } else { + $node['schema']['type'] = $validator->getType(); + $node['schema']['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; + + // Iterate from the blackList. If it matches with the current one, then it is a blackList + // Do not add the enum + $allowed = true; + foreach ($this->enumBlacklist as $blacklist) { + if ( + $blacklist['namespace'] == $sdk->getNamespace() + && $blacklist['method'] == $methodName + && $blacklist['parameter'] == $name + ) { + $allowed = false; + break; + } + } + if ($allowed && $validator->getType() === 'string') { + $node['schema']['enum'] = $validator->getList(); + $node['schema']['x-enum-name'] = $this->getRequestEnumName($sdk->getNamespace() ?? '', $methodName, $name); + $node['schema']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); + } + if ($validator->getType() === 'integer') { + $node['format'] = 'int32'; } - } - if ($allowed && $validator->getType() === 'string') { - $node['schema']['enum'] = $validator->getList(); - $node['schema']['x-enum-name'] = $this->getRequestEnumName($sdk->getNamespace() ?? '', $methodName, $name); - $node['schema']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); - } - if ($validator->getType() === 'integer') { - $node['format'] = 'int32'; } break; case 'Appwrite\Utopia\Database\Validator\CompoundUID': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 210027fa5f..81118f5908 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -20,7 +20,6 @@ use Utopia\Validator; use Utopia\Validator\ArrayList; use Utopia\Validator\Nullable; use Utopia\Validator\Range; -use Utopia\Validator\WhiteList; class Swagger2 extends Format { @@ -445,6 +444,7 @@ class Swagger2 extends Format $subclass = \get_class($validator->getValidator()); switch ($subclass) { case 'Appwrite\Utopia\Database\Validator\Operation': + case 'Utopia\Validator\WhiteList': $class = $subclass; break; } @@ -590,25 +590,54 @@ class Swagger2 extends Format } break; case 'Utopia\Validator\WhiteList': - /** @var WhiteList $validator */ - $node['type'] = $validator->getType(); - $node['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; + if ($array) { + $validator = $validator->getValidator(); - // Iterate the blackList. If it matches with the current one, then it is blackListed - $allowed = true; - foreach ($this->enumBlacklist as $blacklist) { - if ($blacklist['namespace'] == $namespace && $blacklist['method'] == $methodName && $blacklist['parameter'] == $name) { - $allowed = false; - break; + $node['type'] = 'array'; + $node['collectionFormat'] = 'multi'; + $node['items'] = [ + 'type' => $validator->getType(), + ]; + if (!empty($param['example'])) { + $node['x-example'] = $param['example']; + } + + // Iterate the blackList. If it matches with the current one, then it is blackListed + $allowed = true; + foreach ($this->enumBlacklist as $blacklist) { + if ($blacklist['namespace'] == $namespace && $blacklist['method'] == $methodName && $blacklist['parameter'] == $name) { + $allowed = false; + break; + } + } + if ($allowed && $validator->getType() === 'string') { + $node['items']['enum'] = $validator->getList(); + $node['items']['x-enum-name'] = $this->getRequestEnumName($namespace, $methodName, $name); + $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); + } + if ($validator->getType() === 'integer') { + $node['items']['format'] = 'int32'; + } + } else { + $node['type'] = $validator->getType(); + $node['x-example'] = ($param['example'] ?? '') ?: $validator->getList()[0]; + + // Iterate the blackList. If it matches with the current one, then it is blackListed + $allowed = true; + foreach ($this->enumBlacklist as $blacklist) { + if ($blacklist['namespace'] == $namespace && $blacklist['method'] == $methodName && $blacklist['parameter'] == $name) { + $allowed = false; + break; + } + } + if ($allowed && $validator->getType() === 'string') { + $node['enum'] = $validator->getList(); + $node['x-enum-name'] = $this->getRequestEnumName($namespace, $methodName, $name); + $node['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); + } + if ($validator->getType() === 'integer') { + $node['format'] = 'int32'; } - } - if ($allowed && $validator->getType() === 'string') { - $node['enum'] = $validator->getList(); - $node['x-enum-name'] = $this->getRequestEnumName($namespace, $methodName, $name); - $node['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); - } - if ($validator->getType() === 'integer') { - $node['format'] = 'int32'; } break; case 'Appwrite\Utopia\Database\Validator\CompoundUID': From 0c114b8d66a469c0bf0e4324ce514527f119a6ff Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Dec 2025 09:30:43 +0530 Subject: [PATCH 4/7] fix: enum example --- 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 | 2 +- app/config/specs/open-api3-latest-console.json | 2 +- app/config/specs/open-api3-latest-server.json | 2 +- app/config/specs/swagger2-1.8.x-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 | 2 +- app/config/specs/swagger2-latest-console.json | 2 +- app/config/specs/swagger2-latest-server.json | 2 +- app/controllers/api/avatars.php | 2 +- 13 files changed, 13 insertions(+), 13 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 2faa0b3c8b..7c6f4749dd 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -5090,7 +5090,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", 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 622274c6ff..1e20edb1cf 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -5095,7 +5095,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", 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 0d448696bf..2cc71b5e0f 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -4811,7 +4811,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 2faa0b3c8b..7c6f4749dd 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -5090,7 +5090,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 622274c6ff..1e20edb1cf 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -5095,7 +5095,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 0d448696bf..2cc71b5e0f 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -4811,7 +4811,7 @@ "required": false, "schema": { "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index cecedd0a26..0d3be23667 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -5215,7 +5215,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 010a25d234..bdb559f51b 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -5230,7 +5230,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index dd2a3fb93f..a4a97b8723 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -4942,7 +4942,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index cecedd0a26..0d3be23667 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -5215,7 +5215,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 010a25d234..bdb559f51b 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -5230,7 +5230,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index dd2a3fb93f..a4a97b8723 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -4942,7 +4942,7 @@ "description": "IANA timezone identifier (e.g., \"America\/New_York\", \"Europe\/London\"). Defaults to browser default.", "required": false, "type": "string", - "x-example": "America\/New_York", + "x-example": "america\/new_york", "enum": [ "africa\/abidjan", "africa\/accra", diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 95537d2c6f..bf559d13c8 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -671,7 +671,7 @@ App::get('/v1/avatars/screenshots') ->param('userAgent', '', new Text(512), 'Custom user agent string. Defaults to browser default.', true, example: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15') ->param('fullpage', false, new Boolean(true), 'Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.', true, example: 'true') ->param('locale', '', new Text(10), 'Browser locale (e.g., "en-US", "fr-FR"). Defaults to browser default.', true, example: 'en-US') - ->param('timezone', '', new WhiteList(timezone_identifiers_list()), 'IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.', true, example: 'America/New_York') + ->param('timezone', '', new WhiteList(timezone_identifiers_list()), 'IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.', true, example: 'america/new_york') ->param('latitude', 0, new Range(-90, 90, Range::TYPE_FLOAT), 'Geolocation latitude. Pass a number between -90 to 90. Defaults to 0.', true, example: '37.7749') ->param('longitude', 0, new Range(-180, 180, Range::TYPE_FLOAT), 'Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.', true, example: '-122.4194') ->param('accuracy', 0, new Range(0, 100000, Range::TYPE_FLOAT), 'Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.', true, example: '100') From 91a1e4cfd00caf4c95d9eedeb7da49cc745e66bf Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Dec 2025 12:01:57 +0530 Subject: [PATCH 5/7] fix format --- src/Appwrite/SDK/Specification/Format/Swagger2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 81118f5908..2e86796bed 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -616,7 +616,7 @@ class Swagger2 extends Format $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } if ($validator->getType() === 'integer') { - $node['items']['format'] = 'int32'; + $node['schema']['format'] = 'int32'; } } else { $node['type'] = $validator->getType(); From 68ffa5258cf82a406cff97847c8f8fe2e7f0a2e2 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Dec 2025 12:04:30 +0530 Subject: [PATCH 6/7] fix: roles enum --- app/config/specs/open-api3-1.8.x-client.json | 20 +++++++++---------- app/config/specs/open-api3-1.8.x-console.json | 20 +++++++++---------- app/config/specs/open-api3-1.8.x-server.json | 20 +++++++++---------- app/config/specs/open-api3-latest-client.json | 20 +++++++++---------- .../specs/open-api3-latest-console.json | 20 +++++++++---------- app/config/specs/open-api3-latest-server.json | 20 +++++++++---------- app/config/specs/swagger2-1.8.x-client.json | 20 +++++++++---------- app/config/specs/swagger2-1.8.x-console.json | 20 +++++++++---------- app/config/specs/swagger2-1.8.x-server.json | 20 +++++++++---------- app/config/specs/swagger2-latest-client.json | 20 +++++++++---------- app/config/specs/swagger2-latest-console.json | 20 +++++++++---------- app/config/specs/swagger2-latest-server.json | 20 +++++++++---------- .../SDK/Specification/Format/OpenAPI3.php | 8 ++++---- .../SDK/Specification/Format/Swagger2.php | 8 ++++---- 14 files changed, 128 insertions(+), 128 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 7c6f4749dd..5d645ac86e 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -10840,11 +10840,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -11025,11 +11025,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } 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 1e20edb1cf..c1df21555c 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -42880,11 +42880,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -43065,11 +43065,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } 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 2cc71b5e0f..34087a9d74 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -32311,11 +32311,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -32500,11 +32500,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 7c6f4749dd..5d645ac86e 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -10840,11 +10840,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -11025,11 +11025,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 1e20edb1cf..c1df21555c 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -42880,11 +42880,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -43065,11 +43065,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 2cc71b5e0f..34087a9d74 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -32311,11 +32311,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -32500,11 +32500,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 0d3be23667..aaa0ca3eba 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -10814,11 +10814,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -10992,11 +10992,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index bdb559f51b..8f61ff8f29 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -42726,11 +42726,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -42904,11 +42904,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index a4a97b8723..b06a46a10e 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -32245,11 +32245,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -32427,11 +32427,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 0d3be23667..aaa0ca3eba 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -10814,11 +10814,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -10992,11 +10992,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index bdb559f51b..8f61ff8f29 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -42726,11 +42726,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -42904,11 +42904,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index a4a97b8723..b06a46a10e 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -32245,11 +32245,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } @@ -32427,11 +32427,11 @@ "x-example": null, "items": { "type": "string", - "enum": { - "2": "admin", - "3": "developer", - "4": "owner" - }, + "enum": [ + "admin", + "developer", + "owner" + ], "x-enum-name": null, "x-enum-keys": [] } diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 8e6dc68dfa..bfa33e19f3 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -626,7 +626,7 @@ class OpenAPI3 extends Format } } if ($allowed && $validator->getType() === 'string') { - $node['schema']['items']['enum'] = $validator->getList(); + $node['schema']['items']['enum'] = \array_values($validator->getList()); $node['schema']['items']['x-enum-name'] = $this->getRequestEnumName($sdk->getNamespace() ?? '', $methodName, $name); $node['schema']['items']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); } @@ -651,7 +651,7 @@ class OpenAPI3 extends Format } } if ($allowed && $validator->getType() === 'string') { - $node['schema']['enum'] = $validator->getList(); + $node['schema']['enum'] = \array_values($validator->getList()); $node['schema']['x-enum-name'] = $this->getRequestEnumName($sdk->getNamespace() ?? '', $methodName, $name); $node['schema']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); } @@ -905,13 +905,13 @@ class OpenAPI3 extends Format } if ($rule['type'] === 'enum' && !empty($rule['enum'])) { if ($rule['array']) { - $output['components']['schemas'][$model->getType()]['properties'][$name]['items']['enum'] = $rule['enum']; + $output['components']['schemas'][$model->getType()]['properties'][$name]['items']['enum'] = \array_values($rule['enum']); $enumName = $this->getResponseEnumName($model->getType(), $name); if ($enumName) { $output['components']['schemas'][$model->getType()]['properties'][$name]['items']['x-enum-name'] = $enumName; } } else { - $output['components']['schemas'][$model->getType()]['properties'][$name]['enum'] = $rule['enum']; + $output['components']['schemas'][$model->getType()]['properties'][$name]['enum'] = \array_values($rule['enum']); $enumName = $this->getResponseEnumName($model->getType(), $name); if ($enumName) { $output['components']['schemas'][$model->getType()]['properties'][$name]['x-enum-name'] = $enumName; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 2e86796bed..eddde30f87 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -611,7 +611,7 @@ class Swagger2 extends Format } } if ($allowed && $validator->getType() === 'string') { - $node['items']['enum'] = $validator->getList(); + $node['items']['enum'] = \array_values($validator->getList()); $node['items']['x-enum-name'] = $this->getRequestEnumName($namespace, $methodName, $name); $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } @@ -631,7 +631,7 @@ class Swagger2 extends Format } } if ($allowed && $validator->getType() === 'string') { - $node['enum'] = $validator->getList(); + $node['enum'] = \array_values($validator->getList()); $node['x-enum-name'] = $this->getRequestEnumName($namespace, $methodName, $name); $node['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } @@ -901,13 +901,13 @@ class Swagger2 extends Format } if ($rule['type'] === 'enum' && !empty($rule['enum'])) { if ($rule['array']) { - $output['definitions'][$model->getType()]['properties'][$name]['items']['enum'] = $rule['enum']; + $output['definitions'][$model->getType()]['properties'][$name]['items']['enum'] = \array_values($rule['enum']); $enumName = $this->getResponseEnumName($model->getType(), $name); if ($enumName) { $output['definitions'][$model->getType()]['properties'][$name]['items']['x-enum-name'] = $enumName; } } else { - $output['definitions'][$model->getType()]['properties'][$name]['enum'] = $rule['enum']; + $output['definitions'][$model->getType()]['properties'][$name]['enum'] = \array_values($rule['enum']); $enumName = $this->getResponseEnumName($model->getType(), $name); if ($enumName) { $output['definitions'][$model->getType()]['properties'][$name]['x-enum-name'] = $enumName; From b06b33016c0d9d13a4ea6c72d65fc942315de49b Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 5 Dec 2025 08:41:10 +0530 Subject: [PATCH 7/7] fix: format for int32 --- src/Appwrite/SDK/Specification/Format/Swagger2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index eddde30f87..b0deb034b4 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -616,7 +616,7 @@ class Swagger2 extends Format $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } if ($validator->getType() === 'integer') { - $node['schema']['format'] = 'int32'; + $node['items']['format'] = 'int32'; } } else { $node['type'] = $validator->getType();