diff --git a/app/config/locale/templates/email-base-styled.tpl b/app/config/locale/templates/email-base-styled.tpl index c47d276ea8..19a66e4112 100644 --- a/app/config/locale/templates/email-base-styled.tpl +++ b/app/config/locale/templates/email-base-styled.tpl @@ -20,8 +20,8 @@ } a.button { color: #ffffff !important; - background-color: #2D2D31 !important; - border-color: #414146 !important; + background-color: {{accentColor}} !important; + border-color: {{accentColor}} !important; } h1, h2, h3 { color: #373b4d !important; diff --git a/app/config/locale/templates/email-export-failed.tpl b/app/config/locale/templates/email-export-failed.tpl new file mode 100644 index 0000000000..e9a3891e23 --- /dev/null +++ b/app/config/locale/templates/email-export-failed.tpl @@ -0,0 +1,8 @@ +

{{hello}}

+

{{body}}

+

{{footer}}

+

+ {{thanks}} +
+ {{signature}} +

diff --git a/app/config/platforms.php b/app/config/platforms.php index 34c0290832..d2e6df9c2f 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -11,7 +11,7 @@ return [ [ 'key' => 'web', 'name' => 'Web', - 'version' => '21.3.0', + 'version' => '21.4.0', 'url' => 'https://github.com/appwrite/sdk-for-web', 'package' => 'https://www.npmjs.com/package/appwrite', 'enabled' => true, @@ -60,7 +60,7 @@ return [ [ 'key' => 'flutter', 'name' => 'Flutter', - 'version' => '20.2.2', + 'version' => '20.3.0', 'url' => 'https://github.com/appwrite/sdk-for-flutter', 'package' => 'https://pub.dev/packages/appwrite', 'enabled' => true, @@ -79,7 +79,7 @@ return [ [ 'key' => 'apple', 'name' => 'Apple', - 'version' => '13.3.1', + 'version' => '13.4.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.2.1', + 'version' => '11.3.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.17.1', + 'version' => '0.18.0', 'url' => 'https://github.com/appwrite/sdk-for-react-native', 'package' => 'https://npmjs.com/package/react-native-appwrite', 'enabled' => true, @@ -207,7 +207,7 @@ return [ [ 'key' => 'web', 'name' => 'Console', - 'version' => '0.1.1', + 'version' => '0.2.0', 'url' => '', 'package' => '', 'enabled' => true, @@ -226,7 +226,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '11.0.0', + 'version' => '11.1.0', '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.2.1', + 'version' => '20.3.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' => '17.4.1', + 'version' => '17.5.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.5.0', + 'version' => '13.6.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.2.1', + 'version' => '19.3.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.13.1', + 'version' => 'v0.14.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.21.2', + 'version' => '0.22.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.2.1', + 'version' => '19.3.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.2.1', + 'version' => '12.3.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.2.2', + 'version' => '13.3.0', 'url' => 'https://github.com/appwrite/sdk-for-swift', 'package' => 'https://github.com/appwrite/sdk-for-swift', 'enabled' => true, 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 73d67b45c6..5cb1fb0f06 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -296,6 +296,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -467,6 +478,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -5425,6 +5447,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6379,6 +6412,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -7333,6 +7377,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -8584,6 +8639,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -9520,6 +9586,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -9891,6 +9968,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, 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 afb9cd2a07..33b3014e38 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -332,6 +332,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -501,6 +512,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -5142,7 +5164,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -5193,6 +5216,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6208,6 +6242,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6653,6 +6698,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -9992,6 +10048,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -11420,6 +11487,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12189,6 +12267,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12619,6 +12708,17 @@ "default": 0 }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -13266,6 +13366,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -14009,6 +14120,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -16613,6 +16735,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17800,6 +17933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17875,6 +18019,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17951,6 +18106,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20863,6 +21029,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20938,6 +21115,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -21014,6 +21202,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21369,6 +21568,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -21455,6 +21665,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21755,6 +21976,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -23414,6 +23646,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -25502,6 +25745,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -26023,6 +26277,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -28682,6 +28947,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -29193,6 +29469,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -29775,6 +30062,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30885,6 +31183,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31626,6 +31935,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -32297,6 +32617,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -32754,6 +33085,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -33698,6 +34040,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -34592,6 +34945,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -35032,6 +35396,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -38329,6 +38704,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -38802,6 +39188,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -40394,6 +40791,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -40750,6 +41158,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -40838,6 +41257,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -41503,6 +41933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -41857,6 +42298,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -42188,6 +42640,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -43239,6 +43702,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -43324,6 +43798,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -44483,6 +44968,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -44813,6 +45309,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -46048,6 +46555,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } 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 f703eeceb1..b9878abaaa 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -299,6 +299,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -472,6 +483,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -4681,7 +4703,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -4733,6 +4756,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -5667,6 +5701,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6117,6 +6162,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -9486,6 +9542,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -10839,6 +10906,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -11208,6 +11286,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12061,6 +12150,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12814,6 +12914,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -15389,6 +15500,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16589,6 +16711,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16665,6 +16798,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16742,6 +16886,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19691,6 +19846,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19767,6 +19933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19844,6 +20021,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -20204,6 +20392,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20291,6 +20490,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -20598,6 +20808,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21484,6 +21705,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -22234,6 +22466,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -22831,6 +23074,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -23294,6 +23548,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -24099,6 +24364,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -24913,6 +25189,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -25358,6 +25645,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -28684,6 +28982,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -29076,6 +29385,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30390,6 +30710,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30771,6 +31102,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31451,6 +31793,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31810,6 +32163,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -32145,6 +32509,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -33136,6 +33511,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -33222,6 +33608,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -34405,6 +34802,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -34740,6 +35148,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 73d67b45c6..5cb1fb0f06 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -296,6 +296,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -467,6 +478,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -5425,6 +5447,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6379,6 +6412,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -7333,6 +7377,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -8584,6 +8639,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -9520,6 +9586,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -9891,6 +9968,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index afb9cd2a07..33b3014e38 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -332,6 +332,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -501,6 +512,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -5142,7 +5164,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -5193,6 +5216,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6208,6 +6242,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6653,6 +6698,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -9992,6 +10048,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -11420,6 +11487,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12189,6 +12267,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12619,6 +12708,17 @@ "default": 0 }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -13266,6 +13366,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -14009,6 +14120,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -16613,6 +16735,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17800,6 +17933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17875,6 +18019,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -17951,6 +18106,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20863,6 +21029,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20938,6 +21115,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -21014,6 +21202,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21369,6 +21568,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -21455,6 +21665,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21755,6 +21976,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -23414,6 +23646,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -25502,6 +25745,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -26023,6 +26277,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -28682,6 +28947,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -29193,6 +29469,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -29775,6 +30062,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30885,6 +31183,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31626,6 +31935,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -32297,6 +32617,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -32754,6 +33085,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -33698,6 +34040,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -34592,6 +34945,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -35032,6 +35396,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -38329,6 +38704,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -38802,6 +39188,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -40394,6 +40791,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -40750,6 +41158,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -40838,6 +41257,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -41503,6 +41933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -41857,6 +42298,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -42188,6 +42640,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -43239,6 +43702,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -43324,6 +43798,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -44483,6 +44968,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -44813,6 +45309,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -46048,6 +46555,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index f703eeceb1..b9878abaaa 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -299,6 +299,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -472,6 +483,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -4681,7 +4703,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -4733,6 +4756,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -5667,6 +5701,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -6117,6 +6162,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -9486,6 +9542,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -10839,6 +10906,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -11208,6 +11286,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12061,6 +12150,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -12814,6 +12914,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -15389,6 +15500,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16589,6 +16711,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16665,6 +16798,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -16742,6 +16886,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19691,6 +19846,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19767,6 +19933,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -19844,6 +20021,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -20204,6 +20392,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -20291,6 +20490,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -20598,6 +20808,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -21484,6 +21705,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -22234,6 +22466,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -22831,6 +23074,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -23294,6 +23548,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -24099,6 +24364,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -24913,6 +25189,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -25358,6 +25645,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -28684,6 +28982,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -29076,6 +29385,17 @@ "x-example": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30390,6 +30710,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -30771,6 +31102,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31451,6 +31793,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -31810,6 +32163,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -32145,6 +32509,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -33136,6 +33511,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -33222,6 +33608,17 @@ "default": "" }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] } @@ -34405,6 +34802,17 @@ "x-example": "" }, "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, @@ -34740,6 +35148,17 @@ "default": [] }, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": true + }, + "in": "query" } ] }, diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 3483aff22c..d476658f78 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -351,6 +351,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -525,6 +534,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -5554,6 +5572,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6470,6 +6497,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -7448,6 +7484,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -8648,6 +8693,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -9546,6 +9600,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -9913,6 +9976,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 09296adf29..b9cefe003d 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -397,6 +397,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -569,6 +578,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -5302,7 +5320,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -5350,6 +5369,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6358,6 +6386,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6797,6 +6834,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -10050,6 +10096,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -11427,6 +11482,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12168,6 +12232,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12612,6 +12685,15 @@ "x-example": 0, "default": 0, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -13264,6 +13346,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -13997,6 +14088,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -16588,6 +16688,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17845,6 +17954,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17917,6 +18035,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17990,6 +18117,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21052,6 +21188,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21124,6 +21269,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21197,6 +21351,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21556,6 +21719,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21637,6 +21809,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21928,6 +22109,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -23593,6 +23783,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25681,6 +25880,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -26198,6 +26406,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -28844,6 +29061,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -29354,6 +29580,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -29953,6 +30188,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31082,6 +31326,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31816,6 +32069,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -32472,6 +32734,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -32942,6 +33213,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -33839,6 +34119,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -34726,6 +35015,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -35160,6 +35458,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -38374,6 +38681,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -38827,6 +39143,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -40359,6 +40684,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -40714,6 +41048,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -40796,6 +41139,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -41444,6 +41796,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -41791,6 +42152,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -42138,6 +42508,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -43223,6 +43602,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -43303,6 +43691,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -44449,6 +44846,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -44777,6 +45183,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -45985,6 +46400,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 2a5f74b6aa..a58865bf53 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -363,6 +363,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -539,6 +548,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -4829,7 +4847,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -4878,6 +4897,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -5807,6 +5835,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6251,6 +6288,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -9534,6 +9580,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -10843,6 +10898,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -11202,6 +11266,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12084,6 +12157,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12827,6 +12909,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -15393,6 +15484,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16663,6 +16763,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16736,6 +16845,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16810,6 +16928,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -19909,6 +20036,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -19982,6 +20118,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -20056,6 +20201,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -20420,6 +20574,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -20502,6 +20665,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -20800,6 +20972,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21715,6 +21896,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -22458,6 +22648,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -23044,6 +23243,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -23520,6 +23728,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -24284,6 +24501,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25093,6 +25319,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25532,6 +25767,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -28775,6 +29019,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -29152,6 +29405,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -30423,6 +30685,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -30800,6 +31071,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31463,6 +31743,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31815,6 +32104,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -32166,6 +32464,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -33193,6 +33500,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -33274,6 +33590,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -34444,6 +34769,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -34777,6 +35111,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 3483aff22c..d476658f78 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -351,6 +351,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -525,6 +534,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -5554,6 +5572,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6470,6 +6497,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -7448,6 +7484,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -8648,6 +8693,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -9546,6 +9600,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -9913,6 +9976,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 09296adf29..b9cefe003d 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -397,6 +397,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -569,6 +578,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -5302,7 +5320,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -5350,6 +5369,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6358,6 +6386,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6797,6 +6834,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -10050,6 +10096,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -11427,6 +11482,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12168,6 +12232,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12612,6 +12685,15 @@ "x-example": 0, "default": 0, "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -13264,6 +13346,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -13997,6 +14088,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -16588,6 +16688,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17845,6 +17954,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17917,6 +18035,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -17990,6 +18117,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21052,6 +21188,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21124,6 +21269,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21197,6 +21351,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21556,6 +21719,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -21637,6 +21809,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21928,6 +22109,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -23593,6 +23783,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25681,6 +25880,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -26198,6 +26406,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -28844,6 +29061,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -29354,6 +29580,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -29953,6 +30188,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31082,6 +31326,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31816,6 +32069,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -32472,6 +32734,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -32942,6 +33213,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -33839,6 +34119,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -34726,6 +35015,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -35160,6 +35458,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -38374,6 +38681,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -38827,6 +39143,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -40359,6 +40684,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -40714,6 +41048,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -40796,6 +41139,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -41444,6 +41796,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -41791,6 +42152,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -42138,6 +42508,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -43223,6 +43602,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -43303,6 +43691,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -44449,6 +44846,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -44777,6 +45183,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -45985,6 +46400,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 2a5f74b6aa..a58865bf53 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -363,6 +363,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -539,6 +548,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -4829,7 +4847,8 @@ }, "parameters": [ "queries", - "search" + "search", + "total" ], "required": [], "responses": [ @@ -4878,6 +4897,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -5807,6 +5835,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -6251,6 +6288,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -9534,6 +9580,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -10843,6 +10898,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -11202,6 +11266,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12084,6 +12157,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -12827,6 +12909,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -15393,6 +15484,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16663,6 +16763,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16736,6 +16845,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -16810,6 +16928,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -19909,6 +20036,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -19982,6 +20118,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -20056,6 +20201,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -20420,6 +20574,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -20502,6 +20665,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -20800,6 +20972,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -21715,6 +21896,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -22458,6 +22648,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -23044,6 +23243,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -23520,6 +23728,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -24284,6 +24501,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25093,6 +25319,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -25532,6 +25767,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -28775,6 +29019,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -29152,6 +29405,15 @@ "type": "string", "x-example": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -30423,6 +30685,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -30800,6 +31071,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31463,6 +31743,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -31815,6 +32104,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -32166,6 +32464,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -33193,6 +33500,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -33274,6 +33590,15 @@ "x-example": "", "default": "", "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] } @@ -34444,6 +34769,15 @@ "type": "string", "x-example": "", "in": "path" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, @@ -34777,6 +35111,15 @@ }, "default": [], "in": "query" + }, + { + "name": "total", + "description": "When set to false, the total count returned will be 0 and will not be calculated.", + "required": false, + "type": "boolean", + "x-example": false, + "default": true, + "in": "query" } ] }, diff --git a/composer.json b/composer.json index d1b1e578b0..62811e9d32 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,4 @@ { - "name": "appwrite/server-ce", "description": "End to end backend server for frontend and mobile apps.", "type": "project", @@ -108,5 +107,23 @@ "php-http/discovery": true, "tbachert/spi": true } - } + }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/utopia-php/migration" + }, + { + "type": "vcs", + "url": "https://github.com/utopia-php/emails" + }, + { + "type": "vcs", + "url": "https://github.com/utopia-php/validators" + }, + { + "type": "vcs", + "url": "https://github.com/utopia-php/database" + } + ] } diff --git a/composer.lock b/composer.lock index e493071032..8faa5a477c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "66e5a72649d7f816ba8ec979faca4cd8", + "content-hash": "a184716dd568cd37c015e1e929dd3c24", "packages": [ { "name": "adhocore/jwt", @@ -3878,7 +3878,38 @@ "Utopia\\Database\\": "src/Database" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload-dev": { + "psr-4": { + "Tests\\E2E\\": "tests/e2e", + "Tests\\Unit\\": "tests/unit" + } + }, + "scripts": { + "build": [ + "Composer\\Config::disableProcessTimeout", + "docker compose build" + ], + "start": [ + "Composer\\Config::disableProcessTimeout", + "docker compose up -d" + ], + "test": [ + "Composer\\Config::disableProcessTimeout", + "docker compose exec tests vendor/bin/phpunit --configuration phpunit.xml" + ], + "lint": [ + "php -d memory_limit=2G ./vendor/bin/pint --test" + ], + "format": [ + "php -d memory_limit=2G ./vendor/bin/pint" + ], + "check": [ + "./vendor/bin/phpstan analyse --level 7 src tests --memory-limit 2G" + ], + "coverage": [ + "./vendor/bin/coverage-check ./tmp/clover.xml 90" + ] + }, "license": [ "MIT" ], @@ -3891,8 +3922,8 @@ "utopia" ], "support": { - "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/3.1.2" + "source": "https://github.com/utopia-php/database/tree/3.1.2", + "issues": "https://github.com/utopia-php/database/issues" }, "time": "2025-10-30T13:10:13+00:00" }, @@ -4138,7 +4169,35 @@ "Utopia\\Emails\\": "src/Emails" } }, - "notification-url": "https://packagist.org/downloads/", + "scripts": { + "test": [ + "vendor/bin/phpunit" + ], + "lint": [ + "./vendor/bin/pint --test" + ], + "format": [ + "./vendor/bin/pint" + ], + "check": [ + "./vendor/bin/phpstan analyse" + ], + "import": [ + "php import.php" + ], + "import:all": [ + "php import.php all --commit=true" + ], + "import:disposable": [ + "php import.php disposable --commit=true" + ], + "import:free": [ + "php import.php free --commit=true" + ], + "import:stats": [ + "php import.php stats" + ] + }, "license": [ "MIT" ], @@ -4150,19 +4209,19 @@ ], "description": "Utopia Emails library is simple and lite library for parsing and validating email addresses. This library is aiming to be as simple and easy to learn and use.", "keywords": [ - "RFC5322", "email", "emails", "framework", "parsing", "php", + "rfc5322", "upf", "utopia", "validation" ], "support": { - "issues": "https://github.com/utopia-php/emails/issues", - "source": "https://github.com/utopia-php/emails/tree/0.6.2" + "source": "https://github.com/utopia-php/emails/tree/0.6.2", + "issues": "https://github.com/utopia-php/emails/issues" }, "time": "2025-10-28T16:08:17+00:00" }, @@ -4490,7 +4549,25 @@ "Utopia\\Migration\\": "src/Migration" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload-dev": { + "psr-4": { + "Utopia\\Tests\\": "tests/Migration" + } + }, + "scripts": { + "test": [ + "./vendor/bin/phpunit" + ], + "lint": [ + "./vendor/bin/pint --test" + ], + "format": [ + "./vendor/bin/pint" + ], + "check": [ + "./vendor/bin/phpstan analyse --level 3 src tests --memory-limit 2G" + ] + }, "license": [ "MIT" ], @@ -4503,8 +4580,8 @@ "utopia" ], "support": { - "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/1.3.3" + "source": "https://github.com/utopia-php/migration/tree/1.3.3", + "issues": "https://github.com/utopia-php/migration/issues" }, "time": "2025-10-28T04:02:08+00:00" }, @@ -5136,7 +5213,20 @@ "Utopia\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", + "scripts": { + "lint": [ + "vendor/bin/pint --test" + ], + "format": [ + "vendor/bin/pint" + ], + "check": [ + "vendor/bin/phpstan analyse -c phpstan.neon --memory-limit 512M" + ], + "test": [ + "vendor/bin/phpunit --configuration phpunit.xml" + ] + }, "license": [ "MIT" ], @@ -5148,8 +5238,8 @@ "validator" ], "support": { - "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.0.2" + "source": "https://github.com/utopia-php/validators/tree/0.0.2", + "issues": "https://github.com/utopia-php/validators/issues" }, "time": "2025-10-20T21:52:28+00:00" }, diff --git a/docs/examples/1.8.x/client-android/java/account/list-identities.md b/docs/examples/1.8.x/client-android/java/account/list-identities.md index d4a6f9f31d..327fe39537 100644 --- a/docs/examples/1.8.x/client-android/java/account/list-identities.md +++ b/docs/examples/1.8.x/client-android/java/account/list-identities.md @@ -10,6 +10,7 @@ Account account = new Account(client); account.listIdentities( listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/account/list-logs.md b/docs/examples/1.8.x/client-android/java/account/list-logs.md index 951a479f98..4562ecc3ba 100644 --- a/docs/examples/1.8.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.8.x/client-android/java/account/list-logs.md @@ -10,6 +10,7 @@ Account account = new Account(client); account.listLogs( listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/databases/list-documents.md b/docs/examples/1.8.x/client-android/java/databases/list-documents.md index 7b2ba23453..e4102ec542 100644 --- a/docs/examples/1.8.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.8.x/client-android/java/databases/list-documents.md @@ -13,6 +13,7 @@ databases.listDocuments( "", // collectionId listOf(), // queries (optional) "", // transactionId (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/functions/list-executions.md b/docs/examples/1.8.x/client-android/java/functions/list-executions.md index 0270cf0ead..c9a1df107e 100644 --- a/docs/examples/1.8.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.8.x/client-android/java/functions/list-executions.md @@ -11,6 +11,7 @@ Functions functions = new Functions(client); functions.listExecutions( "", // functionId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/storage/list-files.md b/docs/examples/1.8.x/client-android/java/storage/list-files.md index a87286c6d6..178027cc5d 100644 --- a/docs/examples/1.8.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.8.x/client-android/java/storage/list-files.md @@ -12,6 +12,7 @@ storage.listFiles( "", // bucketId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md b/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md index 21f0005b2d..3bd1e1c77a 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md @@ -13,6 +13,7 @@ tablesDB.listRows( "", // tableId listOf(), // queries (optional) "", // transactionId (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/teams/list-memberships.md b/docs/examples/1.8.x/client-android/java/teams/list-memberships.md index 216ca40e6d..ae5cc69b4d 100644 --- a/docs/examples/1.8.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-android/java/teams/list-memberships.md @@ -12,6 +12,7 @@ teams.listMemberships( "", // teamId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/java/teams/list.md b/docs/examples/1.8.x/client-android/java/teams/list.md index b69f21ed43..fff14e2992 100644 --- a/docs/examples/1.8.x/client-android/java/teams/list.md +++ b/docs/examples/1.8.x/client-android/java/teams/list.md @@ -11,6 +11,7 @@ Teams teams = new Teams(client); teams.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/client-android/kotlin/account/list-identities.md b/docs/examples/1.8.x/client-android/kotlin/account/list-identities.md index 5908a44a9c..5ca94c6dd7 100644 --- a/docs/examples/1.8.x/client-android/kotlin/account/list-identities.md +++ b/docs/examples/1.8.x/client-android/kotlin/account/list-identities.md @@ -10,4 +10,5 @@ val account = Account(client) val result = account.listIdentities( queries = listOf(), // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.8.x/client-android/kotlin/account/list-logs.md index 385ccc0116..3d2cc4b23d 100644 --- a/docs/examples/1.8.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.8.x/client-android/kotlin/account/list-logs.md @@ -10,4 +10,5 @@ val account = Account(client) val result = account.listLogs( queries = listOf(), // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.8.x/client-android/kotlin/databases/list-documents.md index a2b6e0e0b6..e653fc16b5 100644 --- a/docs/examples/1.8.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.8.x/client-android/kotlin/databases/list-documents.md @@ -13,4 +13,5 @@ val result = databases.listDocuments( collectionId = "", queries = listOf(), // (optional) transactionId = "", // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.8.x/client-android/kotlin/functions/list-executions.md index 37ea8b8228..c24a67b2ab 100644 --- a/docs/examples/1.8.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.8.x/client-android/kotlin/functions/list-executions.md @@ -11,4 +11,5 @@ val functions = Functions(client) val result = functions.listExecutions( functionId = "", queries = listOf(), // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.8.x/client-android/kotlin/storage/list-files.md index 06f6cda4eb..f62ba749d5 100644 --- a/docs/examples/1.8.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.8.x/client-android/kotlin/storage/list-files.md @@ -12,4 +12,5 @@ val result = storage.listFiles( bucketId = "", queries = listOf(), // (optional) search = "", // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md index 6d2a4b8b40..b075e128b4 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md @@ -13,4 +13,5 @@ val result = tablesDB.listRows( tableId = "", queries = listOf(), // (optional) transactionId = "", // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.8.x/client-android/kotlin/teams/list-memberships.md index e305403a52..fd88be4793 100644 --- a/docs/examples/1.8.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-android/kotlin/teams/list-memberships.md @@ -12,4 +12,5 @@ val result = teams.listMemberships( teamId = "", queries = listOf(), // (optional) search = "", // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/teams/list.md b/docs/examples/1.8.x/client-android/kotlin/teams/list.md index 984858d26c..4b092cf38c 100644 --- a/docs/examples/1.8.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.8.x/client-android/kotlin/teams/list.md @@ -11,4 +11,5 @@ val teams = Teams(client) val result = teams.list( queries = listOf(), // (optional) search = "", // (optional) + total = false, // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/account/list-identities.md b/docs/examples/1.8.x/client-apple/examples/account/list-identities.md index 1d3a999d4a..eaa6cbda3a 100644 --- a/docs/examples/1.8.x/client-apple/examples/account/list-identities.md +++ b/docs/examples/1.8.x/client-apple/examples/account/list-identities.md @@ -7,6 +7,7 @@ let client = Client() let account = Account(client) let identityList = try await account.listIdentities( - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/account/list-logs.md b/docs/examples/1.8.x/client-apple/examples/account/list-logs.md index 2c42307f96..19a607f7aa 100644 --- a/docs/examples/1.8.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.8.x/client-apple/examples/account/list-logs.md @@ -7,6 +7,7 @@ let client = Client() let account = Account(client) let logList = try await account.listLogs( - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.8.x/client-apple/examples/databases/list-documents.md index 528d9992a4..e07c66b593 100644 --- a/docs/examples/1.8.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/client-apple/examples/databases/list-documents.md @@ -10,6 +10,7 @@ let documentList = try await databases.listDocuments( databaseId: "", collectionId: "", queries: [], // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.8.x/client-apple/examples/functions/list-executions.md index 1636d96c6d..50ed08de63 100644 --- a/docs/examples/1.8.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/client-apple/examples/functions/list-executions.md @@ -8,6 +8,7 @@ let functions = Functions(client) let executionList = try await functions.listExecutions( functionId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/storage/list-files.md b/docs/examples/1.8.x/client-apple/examples/storage/list-files.md index 48bd0d065f..66849d4746 100644 --- a/docs/examples/1.8.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.8.x/client-apple/examples/storage/list-files.md @@ -9,6 +9,7 @@ let storage = Storage(client) let fileList = try await storage.listFiles( bucketId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md index dee2ab9e81..94178aaf67 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md @@ -10,6 +10,7 @@ let rowList = try await tablesDB.listRows( databaseId: "", tableId: "", queries: [], // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.8.x/client-apple/examples/teams/list-memberships.md index 5c8669a3d8..c485d0bf27 100644 --- a/docs/examples/1.8.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-apple/examples/teams/list-memberships.md @@ -9,6 +9,7 @@ let teams = Teams(client) let membershipList = try await teams.listMemberships( teamId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-apple/examples/teams/list.md b/docs/examples/1.8.x/client-apple/examples/teams/list.md index be81e9c5aa..de209beabd 100644 --- a/docs/examples/1.8.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.8.x/client-apple/examples/teams/list.md @@ -8,6 +8,7 @@ let teams = Teams(client) let teamList = try await teams.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/client-flutter/examples/account/list-identities.md b/docs/examples/1.8.x/client-flutter/examples/account/list-identities.md index 9d2ad83c17..31f30b41ba 100644 --- a/docs/examples/1.8.x/client-flutter/examples/account/list-identities.md +++ b/docs/examples/1.8.x/client-flutter/examples/account/list-identities.md @@ -8,4 +8,5 @@ Account account = Account(client); IdentityList result = await account.listIdentities( queries: [], // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.8.x/client-flutter/examples/account/list-logs.md index 6d9b120991..a7bb5214b7 100644 --- a/docs/examples/1.8.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.8.x/client-flutter/examples/account/list-logs.md @@ -8,4 +8,5 @@ Account account = Account(client); LogList result = await account.listLogs( queries: [], // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.8.x/client-flutter/examples/databases/list-documents.md index b53120cb4e..0527c752c9 100644 --- a/docs/examples/1.8.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/client-flutter/examples/databases/list-documents.md @@ -11,4 +11,5 @@ DocumentList result = await databases.listDocuments( collectionId: '', queries: [], // optional transactionId: '', // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.8.x/client-flutter/examples/functions/list-executions.md index 232f3250d3..b4071bffeb 100644 --- a/docs/examples/1.8.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/client-flutter/examples/functions/list-executions.md @@ -9,4 +9,5 @@ Functions functions = Functions(client); ExecutionList result = await functions.listExecutions( functionId: '', queries: [], // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.8.x/client-flutter/examples/storage/list-files.md index 7950005b6a..8f7c3bd773 100644 --- a/docs/examples/1.8.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.8.x/client-flutter/examples/storage/list-files.md @@ -10,4 +10,5 @@ FileList result = await storage.listFiles( bucketId: '', queries: [], // optional search: '', // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md index 01d7066501..3830510101 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md @@ -11,4 +11,5 @@ RowList result = await tablesDB.listRows( tableId: '', queries: [], // optional transactionId: '', // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.8.x/client-flutter/examples/teams/list-memberships.md index 374dd49069..86b5eed249 100644 --- a/docs/examples/1.8.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-flutter/examples/teams/list-memberships.md @@ -10,4 +10,5 @@ MembershipList result = await teams.listMemberships( teamId: '', queries: [], // optional search: '', // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-flutter/examples/teams/list.md b/docs/examples/1.8.x/client-flutter/examples/teams/list.md index 3aa972fb5f..fd8b60f25c 100644 --- a/docs/examples/1.8.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.8.x/client-flutter/examples/teams/list.md @@ -9,4 +9,5 @@ Teams teams = Teams(client); TeamList result = await teams.list( queries: [], // optional search: '', // optional + total: false, // optional ); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/list-identities.md b/docs/examples/1.8.x/client-react-native/examples/account/list-identities.md index 2a3bbae35d..5ff727ade6 100644 --- a/docs/examples/1.8.x/client-react-native/examples/account/list-identities.md +++ b/docs/examples/1.8.x/client-react-native/examples/account/list-identities.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listIdentities({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/list-logs.md b/docs/examples/1.8.x/client-react-native/examples/account/list-logs.md index 4bb9f9fd88..e3109f32fa 100644 --- a/docs/examples/1.8.x/client-react-native/examples/account/list-logs.md +++ b/docs/examples/1.8.x/client-react-native/examples/account/list-logs.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listLogs({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/databases/list-documents.md b/docs/examples/1.8.x/client-react-native/examples/databases/list-documents.md index a744a531a1..6a9959ab9a 100644 --- a/docs/examples/1.8.x/client-react-native/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/client-react-native/examples/databases/list-documents.md @@ -10,7 +10,8 @@ const result = await databases.listDocuments({ databaseId: '', collectionId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/functions/list-executions.md b/docs/examples/1.8.x/client-react-native/examples/functions/list-executions.md index 7b046dde82..e832293e2c 100644 --- a/docs/examples/1.8.x/client-react-native/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/client-react-native/examples/functions/list-executions.md @@ -8,7 +8,8 @@ const functions = new Functions(client); const result = await functions.listExecutions({ functionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/storage/list-files.md b/docs/examples/1.8.x/client-react-native/examples/storage/list-files.md index 4c6e159d38..38569ad9fd 100644 --- a/docs/examples/1.8.x/client-react-native/examples/storage/list-files.md +++ b/docs/examples/1.8.x/client-react-native/examples/storage/list-files.md @@ -9,7 +9,8 @@ const storage = new Storage(client); const result = await storage.listFiles({ bucketId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md index 7cab86bc64..85e50b54d5 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md @@ -10,7 +10,8 @@ const result = await tablesDB.listRows({ databaseId: '', tableId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/teams/list-memberships.md b/docs/examples/1.8.x/client-react-native/examples/teams/list-memberships.md index 12f71549b5..5c017378a9 100644 --- a/docs/examples/1.8.x/client-react-native/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-react-native/examples/teams/list-memberships.md @@ -9,7 +9,8 @@ const teams = new Teams(client); const result = await teams.listMemberships({ teamId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/teams/list.md b/docs/examples/1.8.x/client-react-native/examples/teams/list.md index f9ca4c4054..36fdcfbd08 100644 --- a/docs/examples/1.8.x/client-react-native/examples/teams/list.md +++ b/docs/examples/1.8.x/client-react-native/examples/teams/list.md @@ -8,7 +8,8 @@ const teams = new Teams(client); const result = await teams.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/list-identities.md b/docs/examples/1.8.x/client-web/examples/account/list-identities.md index 28cc409f26..22858c2c96 100644 --- a/docs/examples/1.8.x/client-web/examples/account/list-identities.md +++ b/docs/examples/1.8.x/client-web/examples/account/list-identities.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listIdentities({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/list-logs.md b/docs/examples/1.8.x/client-web/examples/account/list-logs.md index ec763f9a08..3dc4f4df1e 100644 --- a/docs/examples/1.8.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.8.x/client-web/examples/account/list-logs.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listLogs({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/databases/list-documents.md b/docs/examples/1.8.x/client-web/examples/databases/list-documents.md index ece656a644..a566c1ecfb 100644 --- a/docs/examples/1.8.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/client-web/examples/databases/list-documents.md @@ -10,7 +10,8 @@ const result = await databases.listDocuments({ databaseId: '', collectionId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/functions/list-executions.md b/docs/examples/1.8.x/client-web/examples/functions/list-executions.md index 159882c512..daddf56f89 100644 --- a/docs/examples/1.8.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/client-web/examples/functions/list-executions.md @@ -8,7 +8,8 @@ const functions = new Functions(client); const result = await functions.listExecutions({ functionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/storage/list-files.md b/docs/examples/1.8.x/client-web/examples/storage/list-files.md index 154212dfec..70bc0e0f01 100644 --- a/docs/examples/1.8.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.8.x/client-web/examples/storage/list-files.md @@ -9,7 +9,8 @@ const storage = new Storage(client); const result = await storage.listFiles({ bucketId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md index c0efd8486c..8b1120c913 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md @@ -10,7 +10,8 @@ const result = await tablesDB.listRows({ databaseId: '', tableId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.8.x/client-web/examples/teams/list-memberships.md index d4e342044d..588995bae9 100644 --- a/docs/examples/1.8.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/client-web/examples/teams/list-memberships.md @@ -9,7 +9,8 @@ const teams = new Teams(client); const result = await teams.listMemberships({ teamId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/teams/list.md b/docs/examples/1.8.x/client-web/examples/teams/list.md index df57f25dfd..f18f5babca 100644 --- a/docs/examples/1.8.x/client-web/examples/teams/list.md +++ b/docs/examples/1.8.x/client-web/examples/teams/list.md @@ -8,7 +8,8 @@ const teams = new Teams(client); const result = await teams.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/list-identities.md b/docs/examples/1.8.x/console-web/examples/account/list-identities.md index a41b9012e7..334b0a766e 100644 --- a/docs/examples/1.8.x/console-web/examples/account/list-identities.md +++ b/docs/examples/1.8.x/console-web/examples/account/list-identities.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listIdentities({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/list-logs.md b/docs/examples/1.8.x/console-web/examples/account/list-logs.md index 9dd9339b7c..3a26507b00 100644 --- a/docs/examples/1.8.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.8.x/console-web/examples/account/list-logs.md @@ -7,7 +7,8 @@ const client = new Client() const account = new Account(client); const result = await account.listLogs({ - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.8.x/console-web/examples/databases/list-attributes.md index cebeaf2121..e46462ca93 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/console-web/examples/databases/list-attributes.md @@ -9,7 +9,8 @@ const databases = new Databases(client); const result = await databases.listAttributes({ databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/list-collections.md b/docs/examples/1.8.x/console-web/examples/databases/list-collections.md index bb53f9875c..4d94372e18 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/console-web/examples/databases/list-collections.md @@ -9,7 +9,8 @@ const databases = new Databases(client); const result = await databases.listCollections({ databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/list-documents.md b/docs/examples/1.8.x/console-web/examples/databases/list-documents.md index f0a7a27890..848f102be3 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/console-web/examples/databases/list-documents.md @@ -10,7 +10,8 @@ const result = await databases.listDocuments({ databaseId: '', collectionId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.8.x/console-web/examples/databases/list-indexes.md index 6aa4d33299..e101993b42 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/console-web/examples/databases/list-indexes.md @@ -9,7 +9,8 @@ const databases = new Databases(client); const result = await databases.listIndexes({ databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/databases/list.md b/docs/examples/1.8.x/console-web/examples/databases/list.md index 79292dbacf..75f484ef92 100644 --- a/docs/examples/1.8.x/console-web/examples/databases/list.md +++ b/docs/examples/1.8.x/console-web/examples/databases/list.md @@ -8,7 +8,8 @@ const databases = new Databases(client); const result = await databases.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.8.x/console-web/examples/functions/list-deployments.md index becb2cf9cd..4b5a8fb6f7 100644 --- a/docs/examples/1.8.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/console-web/examples/functions/list-deployments.md @@ -9,7 +9,8 @@ const functions = new Functions(client); const result = await functions.listDeployments({ functionId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/functions/list-executions.md b/docs/examples/1.8.x/console-web/examples/functions/list-executions.md index f11089c16e..87fdd6a81c 100644 --- a/docs/examples/1.8.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/console-web/examples/functions/list-executions.md @@ -8,7 +8,8 @@ const functions = new Functions(client); const result = await functions.listExecutions({ functionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/functions/list-templates.md b/docs/examples/1.8.x/console-web/examples/functions/list-templates.md index e98df543b3..ab6600c44f 100644 --- a/docs/examples/1.8.x/console-web/examples/functions/list-templates.md +++ b/docs/examples/1.8.x/console-web/examples/functions/list-templates.md @@ -10,7 +10,8 @@ const result = await functions.listTemplates({ runtimes: [], // optional useCases: [], // optional limit: 1, // optional - offset: 0 // optional + offset: 0, // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/functions/list.md b/docs/examples/1.8.x/console-web/examples/functions/list.md index 67e9db30dc..b73230c49b 100644 --- a/docs/examples/1.8.x/console-web/examples/functions/list.md +++ b/docs/examples/1.8.x/console-web/examples/functions/list.md @@ -8,7 +8,8 @@ const functions = new Functions(client); const result = await functions.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/console-web/examples/messaging/list-message-logs.md index 1ad57feadf..53db8aa20c 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-message-logs.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listMessageLogs({ messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-messages.md b/docs/examples/1.8.x/console-web/examples/messaging/list-messages.md index b003dc219e..59f32fc6cb 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-messages.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listMessages({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/console-web/examples/messaging/list-provider-logs.md index c40c50899e..03e3176601 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-provider-logs.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listProviderLogs({ providerId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-providers.md b/docs/examples/1.8.x/console-web/examples/messaging/list-providers.md index f45da6437e..219eec2565 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-providers.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listProviders({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/console-web/examples/messaging/list-subscriber-logs.md index 34fea03b79..6514db9123 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-subscriber-logs.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listSubscriberLogs({ subscriberId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/console-web/examples/messaging/list-subscribers.md index afe8374f9f..e171042823 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-subscribers.md @@ -9,7 +9,8 @@ const messaging = new Messaging(client); const result = await messaging.listSubscribers({ topicId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-targets.md b/docs/examples/1.8.x/console-web/examples/messaging/list-targets.md index eb9ae44a0c..b37b232984 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-targets.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listTargets({ messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/console-web/examples/messaging/list-topic-logs.md index e44e2643e7..6b2348ff4f 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-topic-logs.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listTopicLogs({ topicId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/list-topics.md b/docs/examples/1.8.x/console-web/examples/messaging/list-topics.md index f775eb8fe3..eba699b40b 100644 --- a/docs/examples/1.8.x/console-web/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/console-web/examples/messaging/list-topics.md @@ -8,7 +8,8 @@ const messaging = new Messaging(client); const result = await messaging.listTopics({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/migrations/list.md b/docs/examples/1.8.x/console-web/examples/migrations/list.md index ea053a8e80..42b6e602e5 100644 --- a/docs/examples/1.8.x/console-web/examples/migrations/list.md +++ b/docs/examples/1.8.x/console-web/examples/migrations/list.md @@ -8,7 +8,8 @@ const migrations = new Migrations(client); const result = await migrations.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/list-keys.md b/docs/examples/1.8.x/console-web/examples/projects/list-keys.md index 3a47780c1c..c552e011df 100644 --- a/docs/examples/1.8.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.8.x/console-web/examples/projects/list-keys.md @@ -7,7 +7,8 @@ const client = new Client() const projects = new Projects(client); const result = await projects.listKeys({ - projectId: '' + projectId: '', + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.8.x/console-web/examples/projects/list-platforms.md index 475bc068ef..d08419cded 100644 --- a/docs/examples/1.8.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.8.x/console-web/examples/projects/list-platforms.md @@ -7,7 +7,8 @@ const client = new Client() const projects = new Projects(client); const result = await projects.listPlatforms({ - projectId: '' + projectId: '', + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.8.x/console-web/examples/projects/list-webhooks.md index 89cdf35b26..ef3f41741e 100644 --- a/docs/examples/1.8.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.8.x/console-web/examples/projects/list-webhooks.md @@ -7,7 +7,8 @@ const client = new Client() const projects = new Projects(client); const result = await projects.listWebhooks({ - projectId: '' + projectId: '', + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/list.md b/docs/examples/1.8.x/console-web/examples/projects/list.md index 81dc422130..4cc12dc756 100644 --- a/docs/examples/1.8.x/console-web/examples/projects/list.md +++ b/docs/examples/1.8.x/console-web/examples/projects/list.md @@ -8,7 +8,8 @@ const projects = new Projects(client); const result = await projects.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/proxy/list-rules.md b/docs/examples/1.8.x/console-web/examples/proxy/list-rules.md index 43c7ed2128..c7792fc808 100644 --- a/docs/examples/1.8.x/console-web/examples/proxy/list-rules.md +++ b/docs/examples/1.8.x/console-web/examples/proxy/list-rules.md @@ -8,7 +8,8 @@ const proxy = new Proxy(client); const result = await proxy.listRules({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/sites/list-deployments.md b/docs/examples/1.8.x/console-web/examples/sites/list-deployments.md index 3de3554e99..8d9bda9948 100644 --- a/docs/examples/1.8.x/console-web/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/console-web/examples/sites/list-deployments.md @@ -9,7 +9,8 @@ const sites = new Sites(client); const result = await sites.listDeployments({ siteId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/sites/list-logs.md b/docs/examples/1.8.x/console-web/examples/sites/list-logs.md index e60203644a..4e990baa31 100644 --- a/docs/examples/1.8.x/console-web/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/console-web/examples/sites/list-logs.md @@ -8,7 +8,8 @@ const sites = new Sites(client); const result = await sites.listLogs({ siteId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/sites/list.md b/docs/examples/1.8.x/console-web/examples/sites/list.md index b3d4f6865c..859d25da93 100644 --- a/docs/examples/1.8.x/console-web/examples/sites/list.md +++ b/docs/examples/1.8.x/console-web/examples/sites/list.md @@ -8,7 +8,8 @@ const sites = new Sites(client); const result = await sites.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.8.x/console-web/examples/storage/list-buckets.md index 548daed87b..8b6b8065e0 100644 --- a/docs/examples/1.8.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/console-web/examples/storage/list-buckets.md @@ -8,7 +8,8 @@ const storage = new Storage(client); const result = await storage.listBuckets({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/storage/list-files.md b/docs/examples/1.8.x/console-web/examples/storage/list-files.md index 245c614b17..94c1bd6584 100644 --- a/docs/examples/1.8.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.8.x/console-web/examples/storage/list-files.md @@ -9,7 +9,8 @@ const storage = new Storage(client); const result = await storage.listFiles({ bucketId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md index ea20458266..fb36125432 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md @@ -9,7 +9,8 @@ const tablesDB = new TablesDB(client); const result = await tablesDB.listColumns({ databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md index dd00898f23..c1b4ef1fd5 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md @@ -9,7 +9,8 @@ const tablesDB = new TablesDB(client); const result = await tablesDB.listIndexes({ databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md index d87bd450d0..ae4343cbc2 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md @@ -10,7 +10,8 @@ const result = await tablesDB.listRows({ databaseId: '', tableId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md index 1d7c6d511f..5e2dc93c25 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md @@ -9,7 +9,8 @@ const tablesDB = new TablesDB(client); const result = await tablesDB.listTables({ databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list.md index 002a6f75e0..1f4dbdccae 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list.md @@ -8,7 +8,8 @@ const tablesDB = new TablesDB(client); const result = await tablesDB.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/teams/list-logs.md b/docs/examples/1.8.x/console-web/examples/teams/list-logs.md index a077ae59ce..8f5f6370ad 100644 --- a/docs/examples/1.8.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.8.x/console-web/examples/teams/list-logs.md @@ -8,7 +8,8 @@ const teams = new Teams(client); const result = await teams.listLogs({ teamId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.8.x/console-web/examples/teams/list-memberships.md index a5cf9f0fbf..644d466d73 100644 --- a/docs/examples/1.8.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/console-web/examples/teams/list-memberships.md @@ -9,7 +9,8 @@ const teams = new Teams(client); const result = await teams.listMemberships({ teamId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/teams/list.md b/docs/examples/1.8.x/console-web/examples/teams/list.md index 5d7dbcd3d9..3588a9cd61 100644 --- a/docs/examples/1.8.x/console-web/examples/teams/list.md +++ b/docs/examples/1.8.x/console-web/examples/teams/list.md @@ -8,7 +8,8 @@ const teams = new Teams(client); const result = await teams.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tokens/list.md b/docs/examples/1.8.x/console-web/examples/tokens/list.md index 29b9a3d242..8172e7b239 100644 --- a/docs/examples/1.8.x/console-web/examples/tokens/list.md +++ b/docs/examples/1.8.x/console-web/examples/tokens/list.md @@ -9,7 +9,8 @@ const tokens = new Tokens(client); const result = await tokens.list({ bucketId: '', fileId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-identities.md b/docs/examples/1.8.x/console-web/examples/users/list-identities.md index 4cf88ccb54..69a35d7dc6 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list-identities.md +++ b/docs/examples/1.8.x/console-web/examples/users/list-identities.md @@ -8,7 +8,8 @@ const users = new Users(client); const result = await users.listIdentities({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-logs.md b/docs/examples/1.8.x/console-web/examples/users/list-logs.md index dfdaf1a068..ca7c3f8383 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.8.x/console-web/examples/users/list-logs.md @@ -8,7 +8,8 @@ const users = new Users(client); const result = await users.listLogs({ userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-memberships.md b/docs/examples/1.8.x/console-web/examples/users/list-memberships.md index e2b49223f8..b45d1cf717 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/console-web/examples/users/list-memberships.md @@ -9,7 +9,8 @@ const users = new Users(client); const result = await users.listMemberships({ userId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-sessions.md b/docs/examples/1.8.x/console-web/examples/users/list-sessions.md index a506008fd7..9cd4c1e2ca 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/console-web/examples/users/list-sessions.md @@ -7,7 +7,8 @@ const client = new Client() const users = new Users(client); const result = await users.listSessions({ - userId: '' + userId: '', + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-targets.md b/docs/examples/1.8.x/console-web/examples/users/list-targets.md index f3af0c4011..f5aaa707d5 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list-targets.md +++ b/docs/examples/1.8.x/console-web/examples/users/list-targets.md @@ -8,7 +8,8 @@ const users = new Users(client); const result = await users.listTargets({ userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list.md b/docs/examples/1.8.x/console-web/examples/users/list.md index de75f2dacb..a5c0bc0795 100644 --- a/docs/examples/1.8.x/console-web/examples/users/list.md +++ b/docs/examples/1.8.x/console-web/examples/users/list.md @@ -8,7 +8,8 @@ const users = new Users(client); const result = await users.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/vcs/list-installations.md b/docs/examples/1.8.x/console-web/examples/vcs/list-installations.md index 5a90607262..e7e7d3a236 100644 --- a/docs/examples/1.8.x/console-web/examples/vcs/list-installations.md +++ b/docs/examples/1.8.x/console-web/examples/vcs/list-installations.md @@ -8,7 +8,8 @@ const vcs = new Vcs(client); const result = await vcs.listInstallations({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/account/list-identities.md b/docs/examples/1.8.x/server-dart/examples/account/list-identities.md index a0b67851c2..26d8ae6a0f 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-dart/examples/account/list-identities.md @@ -9,4 +9,5 @@ Account account = Account(client); IdentityList result = await account.listIdentities( queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/account/list-logs.md b/docs/examples/1.8.x/server-dart/examples/account/list-logs.md index d3c50af1d5..ceff065160 100644 --- a/docs/examples/1.8.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/account/list-logs.md @@ -9,4 +9,5 @@ Account account = Account(client); LogList result = await account.listLogs( queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-dart/examples/databases/list-attributes.md index 64aaf331b8..61b407cd74 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/list-attributes.md @@ -11,4 +11,5 @@ AttributeList result = await databases.listAttributes( databaseId: '', collectionId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.8.x/server-dart/examples/databases/list-collections.md index 69c2a0fe61..8feb6e7073 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/list-collections.md @@ -11,4 +11,5 @@ CollectionList result = await databases.listCollections( databaseId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.8.x/server-dart/examples/databases/list-documents.md index 74d849a2cb..cb4284a825 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/list-documents.md @@ -12,4 +12,5 @@ DocumentList result = await databases.listDocuments( collectionId: '', queries: [], // (optional) transactionId: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/databases/list-indexes.md index 38b95d5d5b..1a984af456 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/list-indexes.md @@ -11,4 +11,5 @@ IndexList result = await databases.listIndexes( databaseId: '', collectionId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/databases/list.md b/docs/examples/1.8.x/server-dart/examples/databases/list.md index 2de4e97cf2..ba321857b4 100644 --- a/docs/examples/1.8.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.8.x/server-dart/examples/databases/list.md @@ -10,4 +10,5 @@ Databases databases = Databases(client); DatabaseList result = await databases.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-dart/examples/functions/list-deployments.md index d07d2b32f3..5a3187334b 100644 --- a/docs/examples/1.8.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-dart/examples/functions/list-deployments.md @@ -11,4 +11,5 @@ DeploymentList result = await functions.listDeployments( functionId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.8.x/server-dart/examples/functions/list-executions.md index 1dfd39093d..fb409ed3d6 100644 --- a/docs/examples/1.8.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-dart/examples/functions/list-executions.md @@ -10,4 +10,5 @@ Functions functions = Functions(client); ExecutionList result = await functions.listExecutions( functionId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/functions/list.md b/docs/examples/1.8.x/server-dart/examples/functions/list.md index 8eaeec0625..8b4a3235b3 100644 --- a/docs/examples/1.8.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.8.x/server-dart/examples/functions/list.md @@ -10,4 +10,5 @@ Functions functions = Functions(client); FunctionList result = await functions.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-message-logs.md index 1d2b1805b4..8a109b22f9 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-message-logs.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); LogList result = await messaging.listMessageLogs( messageId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-messages.md index 2c0a142ee8..f8d6728d70 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-messages.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); MessageList result = await messaging.listMessages( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-provider-logs.md index 9f40a5fa49..f7bd179b07 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-provider-logs.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); LogList result = await messaging.listProviderLogs( providerId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-providers.md index df7a8a022c..b8e67f3db2 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-providers.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); ProviderList result = await messaging.listProviders( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-subscriber-logs.md index 3a9593ca89..0268b5eab1 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-subscriber-logs.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); LogList result = await messaging.listSubscriberLogs( subscriberId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-subscribers.md index 19d907cd9a..0a2816cf99 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-subscribers.md @@ -11,4 +11,5 @@ SubscriberList result = await messaging.listSubscribers( topicId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-targets.md index 5a327773c2..6a527e4b14 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-targets.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); TargetList result = await messaging.listTargets( messageId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-topic-logs.md index 0ab02eaa74..ad18a03dfe 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-topic-logs.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); LogList result = await messaging.listTopicLogs( topicId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-dart/examples/messaging/list-topics.md index c5fdb4901f..cd9302b846 100644 --- a/docs/examples/1.8.x/server-dart/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-dart/examples/messaging/list-topics.md @@ -10,4 +10,5 @@ Messaging messaging = Messaging(client); TopicList result = await messaging.listTopics( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-dart/examples/sites/list-deployments.md index 6f6c9ce3f0..184e651130 100644 --- a/docs/examples/1.8.x/server-dart/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-dart/examples/sites/list-deployments.md @@ -11,4 +11,5 @@ DeploymentList result = await sites.listDeployments( siteId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/sites/list-logs.md b/docs/examples/1.8.x/server-dart/examples/sites/list-logs.md index 4ccf170f8b..98dd549c33 100644 --- a/docs/examples/1.8.x/server-dart/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/sites/list-logs.md @@ -10,4 +10,5 @@ Sites sites = Sites(client); ExecutionList result = await sites.listLogs( siteId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/sites/list.md b/docs/examples/1.8.x/server-dart/examples/sites/list.md index 0dd52262f1..89a5f23973 100644 --- a/docs/examples/1.8.x/server-dart/examples/sites/list.md +++ b/docs/examples/1.8.x/server-dart/examples/sites/list.md @@ -10,4 +10,5 @@ Sites sites = Sites(client); SiteList result = await sites.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-dart/examples/storage/list-buckets.md index c20dac1968..82abf277b5 100644 --- a/docs/examples/1.8.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-dart/examples/storage/list-buckets.md @@ -10,4 +10,5 @@ Storage storage = Storage(client); BucketList result = await storage.listBuckets( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/storage/list-files.md b/docs/examples/1.8.x/server-dart/examples/storage/list-files.md index 28f85b091a..0d2644a147 100644 --- a/docs/examples/1.8.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-dart/examples/storage/list-files.md @@ -11,4 +11,5 @@ FileList result = await storage.listFiles( bucketId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md index 2665c0db2e..285953f29f 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md @@ -11,4 +11,5 @@ ColumnList result = await tablesDB.listColumns( databaseId: '', tableId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md index 5028923db7..71686bee92 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md @@ -11,4 +11,5 @@ ColumnIndexList result = await tablesDB.listIndexes( databaseId: '', tableId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md index a429de72f6..bf25a9e77c 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md @@ -12,4 +12,5 @@ RowList result = await tablesDB.listRows( tableId: '', queries: [], // (optional) transactionId: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md index ede3f5cd53..dabfb33cfd 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md @@ -11,4 +11,5 @@ TableList result = await tablesDB.listTables( databaseId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md index e13187de67..d274fc31f5 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md @@ -10,4 +10,5 @@ TablesDB tablesDB = TablesDB(client); DatabaseList result = await tablesDB.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-dart/examples/teams/list-memberships.md index 3c01dec4c5..729550f082 100644 --- a/docs/examples/1.8.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-dart/examples/teams/list-memberships.md @@ -11,4 +11,5 @@ MembershipList result = await teams.listMemberships( teamId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/teams/list.md b/docs/examples/1.8.x/server-dart/examples/teams/list.md index 093a139f71..f620431b01 100644 --- a/docs/examples/1.8.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.8.x/server-dart/examples/teams/list.md @@ -10,4 +10,5 @@ Teams teams = Teams(client); TeamList result = await teams.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/tokens/list.md b/docs/examples/1.8.x/server-dart/examples/tokens/list.md index 5331e44de3..c626cac348 100644 --- a/docs/examples/1.8.x/server-dart/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-dart/examples/tokens/list.md @@ -11,4 +11,5 @@ ResourceTokenList result = await tokens.list( bucketId: '', fileId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-identities.md b/docs/examples/1.8.x/server-dart/examples/users/list-identities.md index 2c14775e9a..92131c2cd6 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list-identities.md @@ -10,4 +10,5 @@ Users users = Users(client); IdentityList result = await users.listIdentities( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-logs.md b/docs/examples/1.8.x/server-dart/examples/users/list-logs.md index 5885dcb874..717c69cc81 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list-logs.md @@ -10,4 +10,5 @@ Users users = Users(client); LogList result = await users.listLogs( userId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.8.x/server-dart/examples/users/list-memberships.md index dabe5a123c..9fc3c05f0e 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list-memberships.md @@ -11,4 +11,5 @@ MembershipList result = await users.listMemberships( userId: '', queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.8.x/server-dart/examples/users/list-sessions.md index 22a37c05a0..ba5bfac087 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list-sessions.md @@ -9,4 +9,5 @@ Users users = Users(client); SessionList result = await users.listSessions( userId: '', + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-targets.md b/docs/examples/1.8.x/server-dart/examples/users/list-targets.md index 971fbea0e1..4c14e6fc84 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list-targets.md @@ -10,4 +10,5 @@ Users users = Users(client); TargetList result = await users.listTargets( userId: '', queries: [], // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list.md b/docs/examples/1.8.x/server-dart/examples/users/list.md index 6d34bb470b..ad885e164f 100644 --- a/docs/examples/1.8.x/server-dart/examples/users/list.md +++ b/docs/examples/1.8.x/server-dart/examples/users/list.md @@ -10,4 +10,5 @@ Users users = Users(client); UserList result = await users.list( queries: [], // (optional) search: '', // (optional) + total: false, // (optional) ); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/list-identities.md b/docs/examples/1.8.x/server-dotnet/examples/account/list-identities.md index 661fab9f4e..e10d8e7111 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/list-identities.md @@ -10,5 +10,6 @@ Client client = new Client() Account account = new Account(client); IdentityList result = await account.ListIdentities( - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/list-logs.md b/docs/examples/1.8.x/server-dotnet/examples/account/list-logs.md index 8e5eadf961..f4a4052c15 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/account/list-logs.md @@ -10,5 +10,6 @@ Client client = new Client() Account account = new Account(client); LogList result = await account.ListLogs( - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-dotnet/examples/databases/list-attributes.md index d2ac6c3afd..c14c92b380 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/list-attributes.md @@ -12,5 +12,6 @@ Databases databases = new Databases(client); AttributeList result = await databases.ListAttributes( databaseId: "", collectionId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/list-collections.md b/docs/examples/1.8.x/server-dotnet/examples/databases/list-collections.md index 5dacb62e97..b840648c24 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/list-collections.md @@ -12,5 +12,6 @@ Databases databases = new Databases(client); CollectionList result = await databases.ListCollections( databaseId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/list-documents.md b/docs/examples/1.8.x/server-dotnet/examples/databases/list-documents.md index 643c42015d..6d6a91adef 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/list-documents.md @@ -13,5 +13,6 @@ DocumentList result = await databases.ListDocuments( databaseId: "", collectionId: "", queries: new List(), // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/databases/list-indexes.md index e6adab1f2d..866f14855c 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/list-indexes.md @@ -12,5 +12,6 @@ Databases databases = new Databases(client); IndexList result = await databases.ListIndexes( databaseId: "", collectionId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/databases/list.md b/docs/examples/1.8.x/server-dotnet/examples/databases/list.md index d2b552b27c..cb7fa8ccf3 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/databases/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/databases/list.md @@ -11,5 +11,6 @@ Databases databases = new Databases(client); DatabaseList result = await databases.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-dotnet/examples/functions/list-deployments.md index 093befcf61..aabb168072 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-dotnet/examples/functions/list-deployments.md @@ -12,5 +12,6 @@ Functions functions = new Functions(client); DeploymentList result = await functions.ListDeployments( functionId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/functions/list-executions.md b/docs/examples/1.8.x/server-dotnet/examples/functions/list-executions.md index 6ec320eb7a..325093bd43 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-dotnet/examples/functions/list-executions.md @@ -11,5 +11,6 @@ Functions functions = new Functions(client); ExecutionList result = await functions.ListExecutions( functionId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/functions/list.md b/docs/examples/1.8.x/server-dotnet/examples/functions/list.md index 750642d498..56b457c2dc 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/functions/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/functions/list.md @@ -11,5 +11,6 @@ Functions functions = new Functions(client); FunctionList result = await functions.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-message-logs.md index 49d3513127..8956394e31 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-message-logs.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); LogList result = await messaging.ListMessageLogs( messageId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-messages.md index 4c17128e72..68bd4079bb 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-messages.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); MessageList result = await messaging.ListMessages( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-provider-logs.md index 928c14845a..50a578e179 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-provider-logs.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); LogList result = await messaging.ListProviderLogs( providerId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-providers.md index 6cf5757fb6..85d357e1fb 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-providers.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); ProviderList result = await messaging.ListProviders( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscriber-logs.md index 815f1325d4..53e14032cc 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscriber-logs.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); LogList result = await messaging.ListSubscriberLogs( subscriberId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscribers.md index b522be327c..1782e0cb0f 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-subscribers.md @@ -12,5 +12,6 @@ Messaging messaging = new Messaging(client); SubscriberList result = await messaging.ListSubscribers( topicId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-targets.md index a8e8de567e..5e44378cd7 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-targets.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); TargetList result = await messaging.ListTargets( messageId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topic-logs.md index 093db0ff2c..a58cfe6989 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topic-logs.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); LogList result = await messaging.ListTopicLogs( topicId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topics.md index cc88afab69..d3a8b77317 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/list-topics.md @@ -11,5 +11,6 @@ Messaging messaging = new Messaging(client); TopicList result = await messaging.ListTopics( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-dotnet/examples/sites/list-deployments.md index ac1cae9127..e2cae052ee 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-dotnet/examples/sites/list-deployments.md @@ -12,5 +12,6 @@ Sites sites = new Sites(client); DeploymentList result = await sites.ListDeployments( siteId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/sites/list-logs.md b/docs/examples/1.8.x/server-dotnet/examples/sites/list-logs.md index 692bd707b2..f4935ee3f4 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/sites/list-logs.md @@ -11,5 +11,6 @@ Sites sites = new Sites(client); ExecutionList result = await sites.ListLogs( siteId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/sites/list.md b/docs/examples/1.8.x/server-dotnet/examples/sites/list.md index 649ee50331..a7593da2e1 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/sites/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/sites/list.md @@ -11,5 +11,6 @@ Sites sites = new Sites(client); SiteList result = await sites.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-dotnet/examples/storage/list-buckets.md index 8e397729e6..6762192efb 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-dotnet/examples/storage/list-buckets.md @@ -11,5 +11,6 @@ Storage storage = new Storage(client); BucketList result = await storage.ListBuckets( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/storage/list-files.md b/docs/examples/1.8.x/server-dotnet/examples/storage/list-files.md index 2751da5244..04dff4a3d1 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-dotnet/examples/storage/list-files.md @@ -12,5 +12,6 @@ Storage storage = new Storage(client); FileList result = await storage.ListFiles( bucketId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md index 345ac00bf5..3a11c5a6d0 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md @@ -12,5 +12,6 @@ TablesDB tablesDB = new TablesDB(client); ColumnList result = await tablesDB.ListColumns( databaseId: "", tableId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md index 6074787f38..dfbff0b230 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md @@ -12,5 +12,6 @@ TablesDB tablesDB = new TablesDB(client); ColumnIndexList result = await tablesDB.ListIndexes( databaseId: "", tableId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md index 79f809d35d..8c8493e7ad 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md @@ -13,5 +13,6 @@ RowList result = await tablesDB.ListRows( databaseId: "", tableId: "", queries: new List(), // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md index 9e94dc84ee..11bf2382de 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md @@ -12,5 +12,6 @@ TablesDB tablesDB = new TablesDB(client); TableList result = await tablesDB.ListTables( databaseId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md index 8b320eeb00..144f0879b7 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md @@ -11,5 +11,6 @@ TablesDB tablesDB = new TablesDB(client); DatabaseList result = await tablesDB.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-dotnet/examples/teams/list-memberships.md index 6072158100..b3aa6838ef 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-dotnet/examples/teams/list-memberships.md @@ -12,5 +12,6 @@ Teams teams = new Teams(client); MembershipList result = await teams.ListMemberships( teamId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/teams/list.md b/docs/examples/1.8.x/server-dotnet/examples/teams/list.md index b1ca72b82e..70bdc6e363 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/teams/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/teams/list.md @@ -11,5 +11,6 @@ Teams teams = new Teams(client); TeamList result = await teams.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tokens/list.md b/docs/examples/1.8.x/server-dotnet/examples/tokens/list.md index 68579f237b..ee1066cdf5 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tokens/list.md @@ -12,5 +12,6 @@ Tokens tokens = new Tokens(client); ResourceTokenList result = await tokens.List( bucketId: "", fileId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-identities.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-identities.md index 996edfba71..375b3df826 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-identities.md @@ -11,5 +11,6 @@ Users users = new Users(client); IdentityList result = await users.ListIdentities( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-logs.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-logs.md index 822d16fe64..d6769b89ad 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-logs.md @@ -11,5 +11,6 @@ Users users = new Users(client); LogList result = await users.ListLogs( userId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-memberships.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-memberships.md index 4296cd2dcd..6f9f3fa233 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-memberships.md @@ -12,5 +12,6 @@ Users users = new Users(client); MembershipList result = await users.ListMemberships( userId: "", queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-sessions.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-sessions.md index 97f92f3b07..7410cdcb87 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-sessions.md @@ -10,5 +10,6 @@ Client client = new Client() Users users = new Users(client); SessionList result = await users.ListSessions( - userId: "" + userId: "", + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-targets.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-targets.md index aa59ce2983..f04ffd3a07 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-targets.md @@ -11,5 +11,6 @@ Users users = new Users(client); TargetList result = await users.ListTargets( userId: "", - queries: new List() // optional + queries: new List(), // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list.md b/docs/examples/1.8.x/server-dotnet/examples/users/list.md index aae7ae27b3..a2b22a9e25 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/users/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list.md @@ -11,5 +11,6 @@ Users users = new Users(client); UserList result = await users.List( queries: new List(), // optional - search: "" // optional + search: "", // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/account/list-identities.md b/docs/examples/1.8.x/server-go/examples/account/list-identities.md index 8114ff9e2f..30a367e6d6 100644 --- a/docs/examples/1.8.x/server-go/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-go/examples/account/list-identities.md @@ -16,4 +16,5 @@ service := account.New(client) response, error := service.ListIdentities( account.WithListIdentitiesQueries([]interface{}{}), + account.WithListIdentitiesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/account/list-logs.md b/docs/examples/1.8.x/server-go/examples/account/list-logs.md index d72597e8d2..f217318113 100644 --- a/docs/examples/1.8.x/server-go/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-go/examples/account/list-logs.md @@ -16,4 +16,5 @@ service := account.New(client) response, error := service.ListLogs( account.WithListLogsQueries([]interface{}{}), + account.WithListLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-go/examples/databases/list-attributes.md index 061e43bb05..27861ed656 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-go/examples/databases/list-attributes.md @@ -18,4 +18,5 @@ response, error := service.ListAttributes( "", "", databases.WithListAttributesQueries([]interface{}{}), + databases.WithListAttributesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/list-collections.md b/docs/examples/1.8.x/server-go/examples/databases/list-collections.md index 2926768f0b..52f0da90b2 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-go/examples/databases/list-collections.md @@ -18,4 +18,5 @@ response, error := service.ListCollections( "", databases.WithListCollectionsQueries([]interface{}{}), databases.WithListCollectionsSearch(""), + databases.WithListCollectionsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/list-documents.md b/docs/examples/1.8.x/server-go/examples/databases/list-documents.md index 3d83145a61..d5c0c029f4 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-go/examples/databases/list-documents.md @@ -19,4 +19,5 @@ response, error := service.ListDocuments( "", databases.WithListDocumentsQueries([]interface{}{}), databases.WithListDocumentsTransactionId(""), + databases.WithListDocumentsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-go/examples/databases/list-indexes.md index c26fbc8e7f..9d9bb0b034 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-go/examples/databases/list-indexes.md @@ -18,4 +18,5 @@ response, error := service.ListIndexes( "", "", databases.WithListIndexesQueries([]interface{}{}), + databases.WithListIndexesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/databases/list.md b/docs/examples/1.8.x/server-go/examples/databases/list.md index 657d3b6b78..9b7d2f76b9 100644 --- a/docs/examples/1.8.x/server-go/examples/databases/list.md +++ b/docs/examples/1.8.x/server-go/examples/databases/list.md @@ -17,4 +17,5 @@ service := databases.New(client) response, error := service.List( databases.WithListQueries([]interface{}{}), databases.WithListSearch(""), + databases.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-go/examples/functions/list-deployments.md index af00c765c8..5716984814 100644 --- a/docs/examples/1.8.x/server-go/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-go/examples/functions/list-deployments.md @@ -18,4 +18,5 @@ response, error := service.ListDeployments( "", functions.WithListDeploymentsQueries([]interface{}{}), functions.WithListDeploymentsSearch(""), + functions.WithListDeploymentsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/functions/list-executions.md b/docs/examples/1.8.x/server-go/examples/functions/list-executions.md index 8cb902f353..498d103e5e 100644 --- a/docs/examples/1.8.x/server-go/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-go/examples/functions/list-executions.md @@ -17,4 +17,5 @@ service := functions.New(client) response, error := service.ListExecutions( "", functions.WithListExecutionsQueries([]interface{}{}), + functions.WithListExecutionsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/functions/list.md b/docs/examples/1.8.x/server-go/examples/functions/list.md index 8d7b5c9bf0..f152c15676 100644 --- a/docs/examples/1.8.x/server-go/examples/functions/list.md +++ b/docs/examples/1.8.x/server-go/examples/functions/list.md @@ -17,4 +17,5 @@ service := functions.New(client) response, error := service.List( functions.WithListQueries([]interface{}{}), functions.WithListSearch(""), + functions.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-go/examples/messaging/list-message-logs.md index aeb6c12f98..b633f8ae73 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-message-logs.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListMessageLogs( "", messaging.WithListMessageLogsQueries([]interface{}{}), + messaging.WithListMessageLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-go/examples/messaging/list-messages.md index 595072eb74..6eb2284f1a 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-messages.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListMessages( messaging.WithListMessagesQueries([]interface{}{}), messaging.WithListMessagesSearch(""), + messaging.WithListMessagesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-go/examples/messaging/list-provider-logs.md index 8f6ddc07b4..ba42f32d73 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-provider-logs.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListProviderLogs( "", messaging.WithListProviderLogsQueries([]interface{}{}), + messaging.WithListProviderLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-go/examples/messaging/list-providers.md index 2fbde76d7a..27df6f1cbe 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-providers.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListProviders( messaging.WithListProvidersQueries([]interface{}{}), messaging.WithListProvidersSearch(""), + messaging.WithListProvidersTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-go/examples/messaging/list-subscriber-logs.md index d08a1706b4..82aadb5d06 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-subscriber-logs.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListSubscriberLogs( "", messaging.WithListSubscriberLogsQueries([]interface{}{}), + messaging.WithListSubscriberLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-go/examples/messaging/list-subscribers.md index 40fb7c1f07..fbdb03633e 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-subscribers.md @@ -18,4 +18,5 @@ response, error := service.ListSubscribers( "", messaging.WithListSubscribersQueries([]interface{}{}), messaging.WithListSubscribersSearch(""), + messaging.WithListSubscribersTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-go/examples/messaging/list-targets.md index 16d9828499..c268993ba7 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-targets.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListTargets( "", messaging.WithListTargetsQueries([]interface{}{}), + messaging.WithListTargetsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-go/examples/messaging/list-topic-logs.md index e147de400a..3777f61f3f 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-topic-logs.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListTopicLogs( "", messaging.WithListTopicLogsQueries([]interface{}{}), + messaging.WithListTopicLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-go/examples/messaging/list-topics.md index e507de7da8..d4198f4818 100644 --- a/docs/examples/1.8.x/server-go/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-go/examples/messaging/list-topics.md @@ -17,4 +17,5 @@ service := messaging.New(client) response, error := service.ListTopics( messaging.WithListTopicsQueries([]interface{}{}), messaging.WithListTopicsSearch(""), + messaging.WithListTopicsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-go/examples/sites/list-deployments.md index b4dafaf145..626e89c84e 100644 --- a/docs/examples/1.8.x/server-go/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-go/examples/sites/list-deployments.md @@ -18,4 +18,5 @@ response, error := service.ListDeployments( "", sites.WithListDeploymentsQueries([]interface{}{}), sites.WithListDeploymentsSearch(""), + sites.WithListDeploymentsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/sites/list-logs.md b/docs/examples/1.8.x/server-go/examples/sites/list-logs.md index 64b6009adc..969c766071 100644 --- a/docs/examples/1.8.x/server-go/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-go/examples/sites/list-logs.md @@ -17,4 +17,5 @@ service := sites.New(client) response, error := service.ListLogs( "", sites.WithListLogsQueries([]interface{}{}), + sites.WithListLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/sites/list.md b/docs/examples/1.8.x/server-go/examples/sites/list.md index 83fea84293..b6b39ebf06 100644 --- a/docs/examples/1.8.x/server-go/examples/sites/list.md +++ b/docs/examples/1.8.x/server-go/examples/sites/list.md @@ -17,4 +17,5 @@ service := sites.New(client) response, error := service.List( sites.WithListQueries([]interface{}{}), sites.WithListSearch(""), + sites.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-go/examples/storage/list-buckets.md index 3d10e6ab7f..34b7ee789f 100644 --- a/docs/examples/1.8.x/server-go/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-go/examples/storage/list-buckets.md @@ -17,4 +17,5 @@ service := storage.New(client) response, error := service.ListBuckets( storage.WithListBucketsQueries([]interface{}{}), storage.WithListBucketsSearch(""), + storage.WithListBucketsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/storage/list-files.md b/docs/examples/1.8.x/server-go/examples/storage/list-files.md index 62a09b3f20..d764f53a2d 100644 --- a/docs/examples/1.8.x/server-go/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-go/examples/storage/list-files.md @@ -18,4 +18,5 @@ response, error := service.ListFiles( "", storage.WithListFilesQueries([]interface{}{}), storage.WithListFilesSearch(""), + storage.WithListFilesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-go/examples/tablesdb/list-columns.md index c6646c0f1d..9a7f4099cb 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/list-columns.md @@ -18,4 +18,5 @@ response, error := service.ListColumns( "", "", tablesdb.WithListColumnsQueries([]interface{}{}), + tablesdb.WithListColumnsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-go/examples/tablesdb/list-indexes.md index bc13bb7488..826c55dcf2 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/list-indexes.md @@ -18,4 +18,5 @@ response, error := service.ListIndexes( "", "", tablesdb.WithListIndexesQueries([]interface{}{}), + tablesdb.WithListIndexesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-go/examples/tablesdb/list-rows.md index 784fbc81d9..5a421ef675 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/list-rows.md @@ -19,4 +19,5 @@ response, error := service.ListRows( "", tablesdb.WithListRowsQueries([]interface{}{}), tablesdb.WithListRowsTransactionId(""), + tablesdb.WithListRowsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-go/examples/tablesdb/list-tables.md index 2029c538ee..b9f7714514 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/list-tables.md @@ -18,4 +18,5 @@ response, error := service.ListTables( "", tablesdb.WithListTablesQueries([]interface{}{}), tablesdb.WithListTablesSearch(""), + tablesdb.WithListTablesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tablesdb/list.md b/docs/examples/1.8.x/server-go/examples/tablesdb/list.md index 99f35ae06d..aba33d9ca7 100644 --- a/docs/examples/1.8.x/server-go/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-go/examples/tablesdb/list.md @@ -17,4 +17,5 @@ service := tablesdb.New(client) response, error := service.List( tablesdb.WithListQueries([]interface{}{}), tablesdb.WithListSearch(""), + tablesdb.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-go/examples/teams/list-memberships.md index 0e7ea18fd3..8b71afe738 100644 --- a/docs/examples/1.8.x/server-go/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-go/examples/teams/list-memberships.md @@ -18,4 +18,5 @@ response, error := service.ListMemberships( "", teams.WithListMembershipsQueries([]interface{}{}), teams.WithListMembershipsSearch(""), + teams.WithListMembershipsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/teams/list.md b/docs/examples/1.8.x/server-go/examples/teams/list.md index 579546fcc2..177763727c 100644 --- a/docs/examples/1.8.x/server-go/examples/teams/list.md +++ b/docs/examples/1.8.x/server-go/examples/teams/list.md @@ -17,4 +17,5 @@ service := teams.New(client) response, error := service.List( teams.WithListQueries([]interface{}{}), teams.WithListSearch(""), + teams.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/tokens/list.md b/docs/examples/1.8.x/server-go/examples/tokens/list.md index 7686f065e7..e84ee1e335 100644 --- a/docs/examples/1.8.x/server-go/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-go/examples/tokens/list.md @@ -18,4 +18,5 @@ response, error := service.List( "", "", tokens.WithListQueries([]interface{}{}), + tokens.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list-identities.md b/docs/examples/1.8.x/server-go/examples/users/list-identities.md index 047b2165f7..9858a2a288 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-go/examples/users/list-identities.md @@ -17,4 +17,5 @@ service := users.New(client) response, error := service.ListIdentities( users.WithListIdentitiesQueries([]interface{}{}), users.WithListIdentitiesSearch(""), + users.WithListIdentitiesTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list-logs.md b/docs/examples/1.8.x/server-go/examples/users/list-logs.md index 56f3397939..d3b2840bdb 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-go/examples/users/list-logs.md @@ -17,4 +17,5 @@ service := users.New(client) response, error := service.ListLogs( "", users.WithListLogsQueries([]interface{}{}), + users.WithListLogsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list-memberships.md b/docs/examples/1.8.x/server-go/examples/users/list-memberships.md index fd2f1329fd..28b96dae89 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-go/examples/users/list-memberships.md @@ -18,4 +18,5 @@ response, error := service.ListMemberships( "", users.WithListMembershipsQueries([]interface{}{}), users.WithListMembershipsSearch(""), + users.WithListMembershipsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list-sessions.md b/docs/examples/1.8.x/server-go/examples/users/list-sessions.md index 6b55a9a5fb..60ccd7880a 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-go/examples/users/list-sessions.md @@ -16,4 +16,5 @@ service := users.New(client) response, error := service.ListSessions( "", + users.WithListSessionsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list-targets.md b/docs/examples/1.8.x/server-go/examples/users/list-targets.md index ac5ba41c97..1e73882553 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-go/examples/users/list-targets.md @@ -17,4 +17,5 @@ service := users.New(client) response, error := service.ListTargets( "", users.WithListTargetsQueries([]interface{}{}), + users.WithListTargetsTotal(false), ) diff --git a/docs/examples/1.8.x/server-go/examples/users/list.md b/docs/examples/1.8.x/server-go/examples/users/list.md index cffc9793f0..b50a818f5b 100644 --- a/docs/examples/1.8.x/server-go/examples/users/list.md +++ b/docs/examples/1.8.x/server-go/examples/users/list.md @@ -17,4 +17,5 @@ service := users.New(client) response, error := service.List( users.WithListQueries([]interface{}{}), users.WithListSearch(""), + users.WithListTotal(false), ) diff --git a/docs/examples/1.8.x/server-kotlin/java/account/list-identities.md b/docs/examples/1.8.x/server-kotlin/java/account/list-identities.md index ceb4b3099a..8d204d5920 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/list-identities.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/list-identities.md @@ -11,6 +11,7 @@ Account account = new Account(client); account.listIdentities( listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.8.x/server-kotlin/java/account/list-logs.md index de22fcec6a..4b301a11e0 100644 --- a/docs/examples/1.8.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/account/list-logs.md @@ -11,6 +11,7 @@ Account account = new Account(client); account.listLogs( listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.8.x/server-kotlin/java/databases/list-attributes.md index 9681831a35..b1b3bd1b9c 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/list-attributes.md @@ -13,6 +13,7 @@ databases.listAttributes( "", // databaseId "", // collectionId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.8.x/server-kotlin/java/databases/list-collections.md index 32534474e1..efb0e7f89b 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/list-collections.md @@ -13,6 +13,7 @@ databases.listCollections( "", // databaseId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.8.x/server-kotlin/java/databases/list-documents.md index 1e84348c1a..472d15ba27 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/list-documents.md @@ -14,6 +14,7 @@ databases.listDocuments( "", // collectionId listOf(), // queries (optional) "", // transactionId (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/databases/list-indexes.md index 8c912bb36c..5715af7d47 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/list-indexes.md @@ -13,6 +13,7 @@ databases.listIndexes( "", // databaseId "", // collectionId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/databases/list.md b/docs/examples/1.8.x/server-kotlin/java/databases/list.md index 758b9f75fe..a3f2d51fed 100644 --- a/docs/examples/1.8.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/databases/list.md @@ -12,6 +12,7 @@ Databases databases = new Databases(client); databases.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.8.x/server-kotlin/java/functions/list-deployments.md index 16a10ca4a2..a0ea8b68b3 100644 --- a/docs/examples/1.8.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-kotlin/java/functions/list-deployments.md @@ -13,6 +13,7 @@ functions.listDeployments( "", // functionId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.8.x/server-kotlin/java/functions/list-executions.md index 25a9af80aa..8026d4730b 100644 --- a/docs/examples/1.8.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.8.x/server-kotlin/java/functions/list-executions.md @@ -12,6 +12,7 @@ Functions functions = new Functions(client); functions.listExecutions( "", // functionId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/functions/list.md b/docs/examples/1.8.x/server-kotlin/java/functions/list.md index a9a320660d..5d0f59c3b8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/functions/list.md @@ -12,6 +12,7 @@ Functions functions = new Functions(client); functions.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-message-logs.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-message-logs.md index 0f94e46cd1..253299ccec 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-message-logs.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listMessageLogs( "", // messageId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-messages.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-messages.md index 006ba7c27f..6535222999 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-messages.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listMessages( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-provider-logs.md index 5f77f2d03d..3bce21144d 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-provider-logs.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listProviderLogs( "", // providerId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-providers.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-providers.md index b069dda04c..115cd41745 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-providers.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listProviders( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscriber-logs.md index b10e446a66..e2e1e94667 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscriber-logs.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listSubscriberLogs( "", // subscriberId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscribers.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscribers.md index 52ca5b0d01..3b87ed865d 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-subscribers.md @@ -13,6 +13,7 @@ messaging.listSubscribers( "", // topicId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-targets.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-targets.md index 5b9f40e873..db6aee1f68 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-targets.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listTargets( "", // messageId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-topic-logs.md index b2e9444419..800bb6b7d2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-topic-logs.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listTopicLogs( "", // topicId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/list-topics.md b/docs/examples/1.8.x/server-kotlin/java/messaging/list-topics.md index e6408a60e1..bd53b41d21 100644 --- a/docs/examples/1.8.x/server-kotlin/java/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/list-topics.md @@ -12,6 +12,7 @@ Messaging messaging = new Messaging(client); messaging.listTopics( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/sites/list-deployments.md b/docs/examples/1.8.x/server-kotlin/java/sites/list-deployments.md index 8bcec54efe..a19f4ecf09 100644 --- a/docs/examples/1.8.x/server-kotlin/java/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-kotlin/java/sites/list-deployments.md @@ -13,6 +13,7 @@ sites.listDeployments( "", // siteId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/sites/list-logs.md b/docs/examples/1.8.x/server-kotlin/java/sites/list-logs.md index 3532882a8d..85c2171aa2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/sites/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/sites/list-logs.md @@ -12,6 +12,7 @@ Sites sites = new Sites(client); sites.listLogs( "", // siteId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/sites/list.md b/docs/examples/1.8.x/server-kotlin/java/sites/list.md index 39a1c06407..20b5533c7a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/sites/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/sites/list.md @@ -12,6 +12,7 @@ Sites sites = new Sites(client); sites.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.8.x/server-kotlin/java/storage/list-buckets.md index 9d85957803..504cfb7ce2 100644 --- a/docs/examples/1.8.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-kotlin/java/storage/list-buckets.md @@ -12,6 +12,7 @@ Storage storage = new Storage(client); storage.listBuckets( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.8.x/server-kotlin/java/storage/list-files.md index f002754813..6397ca07bc 100644 --- a/docs/examples/1.8.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.8.x/server-kotlin/java/storage/list-files.md @@ -13,6 +13,7 @@ storage.listFiles( "", // bucketId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md index f0e70d3dd4..bdf376cb33 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md @@ -13,6 +13,7 @@ tablesDB.listColumns( "", // databaseId "", // tableId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md index 1e5d1f9e11..5b73204314 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md @@ -13,6 +13,7 @@ tablesDB.listIndexes( "", // databaseId "", // tableId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md index 96520e2bc5..8d7956bbc6 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md @@ -14,6 +14,7 @@ tablesDB.listRows( "", // tableId listOf(), // queries (optional) "", // transactionId (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md index 5e98cb60af..646be0f4a4 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md @@ -13,6 +13,7 @@ tablesDB.listTables( "", // databaseId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md index 34dc9dae01..98784df806 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md @@ -12,6 +12,7 @@ TablesDB tablesDB = new TablesDB(client); tablesDB.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.8.x/server-kotlin/java/teams/list-memberships.md index 9694482008..bfbf519db8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-kotlin/java/teams/list-memberships.md @@ -13,6 +13,7 @@ teams.listMemberships( "", // teamId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/teams/list.md b/docs/examples/1.8.x/server-kotlin/java/teams/list.md index d0855ba841..7ff98ad86f 100644 --- a/docs/examples/1.8.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/teams/list.md @@ -12,6 +12,7 @@ Teams teams = new Teams(client); teams.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/tokens/list.md b/docs/examples/1.8.x/server-kotlin/java/tokens/list.md index a59e9f5ee8..23c51a64ef 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tokens/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/tokens/list.md @@ -13,6 +13,7 @@ tokens.list( "", // bucketId "", // fileId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-identities.md b/docs/examples/1.8.x/server-kotlin/java/users/list-identities.md index e0fc9d122a..fc95c8e48c 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list-identities.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-identities.md @@ -12,6 +12,7 @@ Users users = new Users(client); users.listIdentities( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.8.x/server-kotlin/java/users/list-logs.md index 86c94ee3a4..4a2e549ed4 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-logs.md @@ -12,6 +12,7 @@ Users users = new Users(client); users.listLogs( "", // userId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.8.x/server-kotlin/java/users/list-memberships.md index d0cee13275..36e67ae322 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-memberships.md @@ -13,6 +13,7 @@ users.listMemberships( "", // userId listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.8.x/server-kotlin/java/users/list-sessions.md index 7e13cb31c9..d3b24e53ac 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-sessions.md @@ -11,6 +11,7 @@ Users users = new Users(client); users.listSessions( "", // userId + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-targets.md b/docs/examples/1.8.x/server-kotlin/java/users/list-targets.md index efa754273f..156aaefa7e 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list-targets.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-targets.md @@ -12,6 +12,7 @@ Users users = new Users(client); users.listTargets( "", // userId listOf(), // queries (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list.md b/docs/examples/1.8.x/server-kotlin/java/users/list.md index d587eaf46b..ec038afded 100644 --- a/docs/examples/1.8.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/users/list.md @@ -12,6 +12,7 @@ Users users = new Users(client); users.list( listOf(), // queries (optional) "", // search (optional) + false, // total (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/list-identities.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-identities.md index 32eb86cb43..874ee8f4d2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/list-identities.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-identities.md @@ -10,5 +10,6 @@ val client = Client() val account = Account(client) val response = account.listIdentities( - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-logs.md index 345b2f1f06..db0917b5c0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-logs.md @@ -10,5 +10,6 @@ val client = Client() val account = Account(client) val response = account.listLogs( - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-attributes.md index 5ddb0a6fea..c2a3e66d7c 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-attributes.md @@ -12,5 +12,6 @@ val databases = Databases(client) val response = databases.listAttributes( databaseId = "", collectionId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-collections.md index 5340903927..2a646c7f72 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-collections.md @@ -12,5 +12,6 @@ val databases = Databases(client) val response = databases.listCollections( databaseId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-documents.md index ab75493964..61a3729a85 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-documents.md @@ -13,5 +13,6 @@ val response = databases.listDocuments( databaseId = "", collectionId = "", queries = listOf(), // optional - transactionId = "" // optional + transactionId = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-indexes.md index 2ab2e6a1b2..a3242827a2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list-indexes.md @@ -12,5 +12,6 @@ val databases = Databases(client) val response = databases.listIndexes( databaseId = "", collectionId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list.md index cd61a0e714..a12b54c387 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/databases/list.md @@ -11,5 +11,6 @@ val databases = Databases(client) val response = databases.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-deployments.md index 9318442afa..63f48503d8 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-deployments.md @@ -12,5 +12,6 @@ val functions = Functions(client) val response = functions.listDeployments( functionId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-executions.md index 926719cda8..75fc51ef5b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list-executions.md @@ -11,5 +11,6 @@ val functions = Functions(client) val response = functions.listExecutions( functionId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list.md index b10fdff53a..4cf8518a70 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/functions/list.md @@ -11,5 +11,6 @@ val functions = Functions(client) val response = functions.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-message-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-message-logs.md index e1463f8911..2f03870b96 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-message-logs.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listMessageLogs( messageId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-messages.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-messages.md index 618f8c493e..22aae7ebac 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-messages.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listMessages( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-provider-logs.md index ab0a9f1260..2f7eb728e5 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-provider-logs.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listProviderLogs( providerId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-providers.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-providers.md index 34c70a9c86..5c200e7b54 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-providers.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listProviders( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md index 8a82af8f70..f7c9324c30 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listSubscriberLogs( subscriberId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscribers.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscribers.md index acf5249900..0056974198 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-subscribers.md @@ -12,5 +12,6 @@ val messaging = Messaging(client) val response = messaging.listSubscribers( topicId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-targets.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-targets.md index ad500f0e38..2611fc94a2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-targets.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listTargets( messageId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topic-logs.md index 683b418032..c7e81b273a 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topic-logs.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listTopicLogs( topicId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topics.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topics.md index 125c6ffb82..a2c64e688b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/list-topics.md @@ -11,5 +11,6 @@ val messaging = Messaging(client) val response = messaging.listTopics( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-deployments.md b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-deployments.md index 6bc29ccd0e..51152978ee 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-deployments.md @@ -12,5 +12,6 @@ val sites = Sites(client) val response = sites.listDeployments( siteId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-logs.md index d7979ded39..95848b258b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list-logs.md @@ -11,5 +11,6 @@ val sites = Sites(client) val response = sites.listLogs( siteId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list.md index 26e965177d..844823db08 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/sites/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/sites/list.md @@ -11,5 +11,6 @@ val sites = Sites(client) val response = sites.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-buckets.md index a8a066dc9f..b502367c94 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-buckets.md @@ -11,5 +11,6 @@ val storage = Storage(client) val response = storage.listBuckets( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-files.md index cb9a776775..648d37dca4 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/storage/list-files.md @@ -12,5 +12,6 @@ val storage = Storage(client) val response = storage.listFiles( bucketId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md index 85a9aabb28..663da3cb91 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md @@ -12,5 +12,6 @@ val tablesDB = TablesDB(client) val response = tablesDB.listColumns( databaseId = "", tableId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md index db5aad4e80..59a64a40a7 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md @@ -12,5 +12,6 @@ val tablesDB = TablesDB(client) val response = tablesDB.listIndexes( databaseId = "", tableId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md index 711e4e1a31..ba6e1fe285 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md @@ -13,5 +13,6 @@ val response = tablesDB.listRows( databaseId = "", tableId = "", queries = listOf(), // optional - transactionId = "" // optional + transactionId = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md index 1e8eb8f7c7..c504d732c2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md @@ -12,5 +12,6 @@ val tablesDB = TablesDB(client) val response = tablesDB.listTables( databaseId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md index 58b48a09ed..942880cd58 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md @@ -11,5 +11,6 @@ val tablesDB = TablesDB(client) val response = tablesDB.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.8.x/server-kotlin/kotlin/teams/list-memberships.md index 287087394e..edcbd0d0bd 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/teams/list-memberships.md @@ -12,5 +12,6 @@ val teams = Teams(client) val response = teams.listMemberships( teamId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/teams/list.md index ee3e3e43b4..591efa4fb1 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/teams/list.md @@ -11,5 +11,6 @@ val teams = Teams(client) val response = teams.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tokens/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/tokens/list.md index 697579065c..01f369de09 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tokens/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tokens/list.md @@ -12,5 +12,6 @@ val tokens = Tokens(client) val response = tokens.list( bucketId = "", fileId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-identities.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-identities.md index 1ac0e5b887..f7cc447e8d 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-identities.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-identities.md @@ -11,5 +11,6 @@ val users = Users(client) val response = users.listIdentities( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-logs.md index a263293a7a..3e8bfa3fce 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-logs.md @@ -11,5 +11,6 @@ val users = Users(client) val response = users.listLogs( userId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-memberships.md index 7df13df4e2..b2f87b3748 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-memberships.md @@ -12,5 +12,6 @@ val users = Users(client) val response = users.listMemberships( userId = "", queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-sessions.md index 4ff34dd53e..9231c01ed0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-sessions.md @@ -10,5 +10,6 @@ val client = Client() val users = Users(client) val response = users.listSessions( - userId = "" + userId = "", + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-targets.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-targets.md index 0824acfd9e..133161fef2 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-targets.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-targets.md @@ -11,5 +11,6 @@ val users = Users(client) val response = users.listTargets( userId = "", - queries = listOf() // optional + queries = listOf(), // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list.md index 23dd217a6c..a2a7b6e87f 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list.md @@ -11,5 +11,6 @@ val users = Users(client) val response = users.list( queries = listOf(), // optional - search = "" // optional + search = "", // optional + total = false // optional ) diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/list-identities.md b/docs/examples/1.8.x/server-nodejs/examples/account/list-identities.md index b124065db7..b5541bf38e 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/list-identities.md @@ -8,5 +8,6 @@ const client = new sdk.Client() const account = new sdk.Account(client); const result = await account.listIdentities({ - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.8.x/server-nodejs/examples/account/list-logs.md index ca47edda5e..06b36e5563 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/account/list-logs.md @@ -8,5 +8,6 @@ const client = new sdk.Client() const account = new sdk.Account(client); const result = await account.listLogs({ - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-nodejs/examples/databases/list-attributes.md index a69800c4d7..2937e54719 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/list-attributes.md @@ -10,5 +10,6 @@ const databases = new sdk.Databases(client); const result = await databases.listAttributes({ databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.8.x/server-nodejs/examples/databases/list-collections.md index 933b53ce83..7e11fae640 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/list-collections.md @@ -10,5 +10,6 @@ const databases = new sdk.Databases(client); const result = await databases.listCollections({ databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.8.x/server-nodejs/examples/databases/list-documents.md index 7405f3e28d..40fb6800eb 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/list-documents.md @@ -11,5 +11,6 @@ const result = await databases.listDocuments({ databaseId: '', collectionId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/databases/list-indexes.md index f48112fccf..ad3dbb335e 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/list-indexes.md @@ -10,5 +10,6 @@ const databases = new sdk.Databases(client); const result = await databases.listIndexes({ databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/databases/list.md b/docs/examples/1.8.x/server-nodejs/examples/databases/list.md index 4ac7e47d46..0aee1a93ab 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/databases/list.md @@ -9,5 +9,6 @@ const databases = new sdk.Databases(client); const result = await databases.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-nodejs/examples/functions/list-deployments.md index e14c6d0441..62f1155301 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-nodejs/examples/functions/list-deployments.md @@ -10,5 +10,6 @@ const functions = new sdk.Functions(client); const result = await functions.listDeployments({ functionId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.8.x/server-nodejs/examples/functions/list-executions.md index 0d1ceb7223..8a9b93a4f4 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-nodejs/examples/functions/list-executions.md @@ -9,5 +9,6 @@ const functions = new sdk.Functions(client); const result = await functions.listExecutions({ functionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/functions/list.md b/docs/examples/1.8.x/server-nodejs/examples/functions/list.md index 847c34531a..3f883087f4 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/functions/list.md @@ -9,5 +9,6 @@ const functions = new sdk.Functions(client); const result = await functions.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-message-logs.md index c2d32f014b..b7d0701ab6 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-message-logs.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listMessageLogs({ messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-messages.md index 2edc75f689..ecbaf74233 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-messages.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listMessages({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-provider-logs.md index 35fd2cf9b0..e91c69c209 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-provider-logs.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listProviderLogs({ providerId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-providers.md index 2445597f3e..1a05f22a94 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-providers.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listProviders({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscriber-logs.md index 1da2c3bc27..a613829b39 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscriber-logs.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listSubscriberLogs({ subscriberId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscribers.md index c2b594e4b2..ba2cbc5104 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-subscribers.md @@ -10,5 +10,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listSubscribers({ topicId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-targets.md index 75a4aa60f6..ceede50b43 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-targets.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listTargets({ messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topic-logs.md index eacf4822b7..f4d0746e4c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topic-logs.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listTopicLogs({ topicId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topics.md index 3ff5538949..be321b97f0 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/list-topics.md @@ -9,5 +9,6 @@ const messaging = new sdk.Messaging(client); const result = await messaging.listTopics({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-nodejs/examples/sites/list-deployments.md index 53a900ee77..4684938b3a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-nodejs/examples/sites/list-deployments.md @@ -10,5 +10,6 @@ const sites = new sdk.Sites(client); const result = await sites.listDeployments({ siteId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/sites/list-logs.md b/docs/examples/1.8.x/server-nodejs/examples/sites/list-logs.md index 17428d71f1..09791a4a24 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/sites/list-logs.md @@ -9,5 +9,6 @@ const sites = new sdk.Sites(client); const result = await sites.listLogs({ siteId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/sites/list.md b/docs/examples/1.8.x/server-nodejs/examples/sites/list.md index 2f2f884989..7066ca987a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/sites/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/sites/list.md @@ -9,5 +9,6 @@ const sites = new sdk.Sites(client); const result = await sites.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-nodejs/examples/storage/list-buckets.md index a6dcf4004a..1ddc3daa3a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-nodejs/examples/storage/list-buckets.md @@ -9,5 +9,6 @@ const storage = new sdk.Storage(client); const result = await storage.listBuckets({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.8.x/server-nodejs/examples/storage/list-files.md index b22c1c1047..a8e8480e20 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-nodejs/examples/storage/list-files.md @@ -10,5 +10,6 @@ const storage = new sdk.Storage(client); const result = await storage.listFiles({ bucketId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md index b756a3d0bb..8f6c66be99 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md @@ -10,5 +10,6 @@ const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listColumns({ databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md index 1c99bf935a..7d8ab895b3 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md @@ -10,5 +10,6 @@ const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listIndexes({ databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md index 3f29781a91..ed4fab21e9 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md @@ -11,5 +11,6 @@ const result = await tablesDB.listRows({ databaseId: '', tableId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md index f6d6608c1a..602b41dbe7 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md @@ -10,5 +10,6 @@ const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listTables({ databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md index 6648ea789c..1b3fce7aeb 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md @@ -9,5 +9,6 @@ const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-nodejs/examples/teams/list-memberships.md index 3a18bbb001..228c997289 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-nodejs/examples/teams/list-memberships.md @@ -10,5 +10,6 @@ const teams = new sdk.Teams(client); const result = await teams.listMemberships({ teamId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/teams/list.md b/docs/examples/1.8.x/server-nodejs/examples/teams/list.md index ef4ab51954..1d1b714717 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/teams/list.md @@ -9,5 +9,6 @@ const teams = new sdk.Teams(client); const result = await teams.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tokens/list.md b/docs/examples/1.8.x/server-nodejs/examples/tokens/list.md index 41833b80e7..13699a300a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tokens/list.md @@ -10,5 +10,6 @@ const tokens = new sdk.Tokens(client); const result = await tokens.list({ bucketId: '', fileId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-identities.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-identities.md index 2ff959c36a..34414b441a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-identities.md @@ -9,5 +9,6 @@ const users = new sdk.Users(client); const result = await users.listIdentities({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-logs.md index 345d736c9e..a768eb1752 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-logs.md @@ -9,5 +9,6 @@ const users = new sdk.Users(client); const result = await users.listLogs({ userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-memberships.md index 4b2cc1fede..9de178b1e8 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-memberships.md @@ -10,5 +10,6 @@ const users = new sdk.Users(client); const result = await users.listMemberships({ userId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-sessions.md index e1082c5d9e..6f85fdd349 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-sessions.md @@ -8,5 +8,6 @@ const client = new sdk.Client() const users = new sdk.Users(client); const result = await users.listSessions({ - userId: '' + userId: '', + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-targets.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-targets.md index ded1bbe9cc..8fa403354d 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-targets.md @@ -9,5 +9,6 @@ const users = new sdk.Users(client); const result = await users.listTargets({ userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list.md b/docs/examples/1.8.x/server-nodejs/examples/users/list.md index 74e72f5473..0148c9eda7 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list.md @@ -9,5 +9,6 @@ const users = new sdk.Users(client); const result = await users.list({ queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional }); diff --git a/docs/examples/1.8.x/server-php/examples/account/list-identities.md b/docs/examples/1.8.x/server-php/examples/account/list-identities.md index a7d0a85c66..b75a64cf01 100644 --- a/docs/examples/1.8.x/server-php/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-php/examples/account/list-identities.md @@ -11,5 +11,6 @@ $client = (new Client()) $account = new Account($client); $result = $account->listIdentities( - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/list-logs.md b/docs/examples/1.8.x/server-php/examples/account/list-logs.md index cc7a173d2e..deddc9ec88 100644 --- a/docs/examples/1.8.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-php/examples/account/list-logs.md @@ -11,5 +11,6 @@ $client = (new Client()) $account = new Account($client); $result = $account->listLogs( - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-php/examples/databases/list-attributes.md index 3105fc419c..e770292a23 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-php/examples/databases/list-attributes.md @@ -13,5 +13,6 @@ $databases = new Databases($client); $result = $databases->listAttributes( databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/list-collections.md b/docs/examples/1.8.x/server-php/examples/databases/list-collections.md index 533b26a055..c71866be55 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-php/examples/databases/list-collections.md @@ -13,5 +13,6 @@ $databases = new Databases($client); $result = $databases->listCollections( databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/list-documents.md b/docs/examples/1.8.x/server-php/examples/databases/list-documents.md index 10dcc82340..8713327fe7 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-php/examples/databases/list-documents.md @@ -14,5 +14,6 @@ $result = $databases->listDocuments( databaseId: '', collectionId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-php/examples/databases/list-indexes.md index 65b45dae80..a26ff7cf3b 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-php/examples/databases/list-indexes.md @@ -13,5 +13,6 @@ $databases = new Databases($client); $result = $databases->listIndexes( databaseId: '', collectionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/databases/list.md b/docs/examples/1.8.x/server-php/examples/databases/list.md index 6bba74da59..f5baccc6a2 100644 --- a/docs/examples/1.8.x/server-php/examples/databases/list.md +++ b/docs/examples/1.8.x/server-php/examples/databases/list.md @@ -12,5 +12,6 @@ $databases = new Databases($client); $result = $databases->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-php/examples/functions/list-deployments.md index 7bbaa0ed3e..bf9031851a 100644 --- a/docs/examples/1.8.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-php/examples/functions/list-deployments.md @@ -13,5 +13,6 @@ $functions = new Functions($client); $result = $functions->listDeployments( functionId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/functions/list-executions.md b/docs/examples/1.8.x/server-php/examples/functions/list-executions.md index 77a8ba7223..4a7c79cc08 100644 --- a/docs/examples/1.8.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-php/examples/functions/list-executions.md @@ -12,5 +12,6 @@ $functions = new Functions($client); $result = $functions->listExecutions( functionId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/functions/list.md b/docs/examples/1.8.x/server-php/examples/functions/list.md index de914afc58..1646a06bdb 100644 --- a/docs/examples/1.8.x/server-php/examples/functions/list.md +++ b/docs/examples/1.8.x/server-php/examples/functions/list.md @@ -12,5 +12,6 @@ $functions = new Functions($client); $result = $functions->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-php/examples/messaging/list-message-logs.md index 03231375f8..4e0ab3ea8d 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-message-logs.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listMessageLogs( messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-php/examples/messaging/list-messages.md index 965fe08fc7..d66c64f539 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-messages.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listMessages( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-php/examples/messaging/list-provider-logs.md index 761bb966d6..8c8d7f1f58 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-provider-logs.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listProviderLogs( providerId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-php/examples/messaging/list-providers.md index 614e9c58f1..da0910ec73 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-providers.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listProviders( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-php/examples/messaging/list-subscriber-logs.md index c710575a46..9e453a24ef 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-subscriber-logs.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listSubscriberLogs( subscriberId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-php/examples/messaging/list-subscribers.md index d2625cd555..f21c788e21 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-subscribers.md @@ -13,5 +13,6 @@ $messaging = new Messaging($client); $result = $messaging->listSubscribers( topicId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-php/examples/messaging/list-targets.md index 1112d28003..03ffdbb23d 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-targets.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listTargets( messageId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-php/examples/messaging/list-topic-logs.md index 3bbb35a006..fae8eec97c 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-topic-logs.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listTopicLogs( topicId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-php/examples/messaging/list-topics.md index debb363133..b5d4c5400c 100644 --- a/docs/examples/1.8.x/server-php/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-php/examples/messaging/list-topics.md @@ -12,5 +12,6 @@ $messaging = new Messaging($client); $result = $messaging->listTopics( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-php/examples/sites/list-deployments.md index 4d687ec59e..bb49a5a96c 100644 --- a/docs/examples/1.8.x/server-php/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-php/examples/sites/list-deployments.md @@ -13,5 +13,6 @@ $sites = new Sites($client); $result = $sites->listDeployments( siteId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/sites/list-logs.md b/docs/examples/1.8.x/server-php/examples/sites/list-logs.md index 5674e98f5e..3bc4540845 100644 --- a/docs/examples/1.8.x/server-php/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-php/examples/sites/list-logs.md @@ -12,5 +12,6 @@ $sites = new Sites($client); $result = $sites->listLogs( siteId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/sites/list.md b/docs/examples/1.8.x/server-php/examples/sites/list.md index 4e16c690bc..d056e8d9dc 100644 --- a/docs/examples/1.8.x/server-php/examples/sites/list.md +++ b/docs/examples/1.8.x/server-php/examples/sites/list.md @@ -12,5 +12,6 @@ $sites = new Sites($client); $result = $sites->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-php/examples/storage/list-buckets.md index a4538c6f3a..8b84a8bf14 100644 --- a/docs/examples/1.8.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-php/examples/storage/list-buckets.md @@ -12,5 +12,6 @@ $storage = new Storage($client); $result = $storage->listBuckets( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/storage/list-files.md b/docs/examples/1.8.x/server-php/examples/storage/list-files.md index ede0e7c979..309c87c155 100644 --- a/docs/examples/1.8.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-php/examples/storage/list-files.md @@ -13,5 +13,6 @@ $storage = new Storage($client); $result = $storage->listFiles( bucketId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md index d12d52d4f8..49b4eba9ff 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md @@ -13,5 +13,6 @@ $tablesDB = new TablesDB($client); $result = $tablesDB->listColumns( databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md index cb51dbb5e3..ac466c74ab 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md @@ -13,5 +13,6 @@ $tablesDB = new TablesDB($client); $result = $tablesDB->listIndexes( databaseId: '', tableId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md index 5f8c9aa1ef..cdcc79641b 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md @@ -14,5 +14,6 @@ $result = $tablesDB->listRows( databaseId: '', tableId: '', queries: [], // optional - transactionId: '' // optional + transactionId: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md index 05f044bc72..b14e28c138 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md @@ -13,5 +13,6 @@ $tablesDB = new TablesDB($client); $result = $tablesDB->listTables( databaseId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list.md index c3f97c2330..3d74dded9b 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list.md @@ -12,5 +12,6 @@ $tablesDB = new TablesDB($client); $result = $tablesDB->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-php/examples/teams/list-memberships.md index 817ea7fefc..5ff4736df8 100644 --- a/docs/examples/1.8.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-php/examples/teams/list-memberships.md @@ -13,5 +13,6 @@ $teams = new Teams($client); $result = $teams->listMemberships( teamId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/teams/list.md b/docs/examples/1.8.x/server-php/examples/teams/list.md index 99d9895fe5..144b50d02d 100644 --- a/docs/examples/1.8.x/server-php/examples/teams/list.md +++ b/docs/examples/1.8.x/server-php/examples/teams/list.md @@ -12,5 +12,6 @@ $teams = new Teams($client); $result = $teams->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tokens/list.md b/docs/examples/1.8.x/server-php/examples/tokens/list.md index b89420bed1..212a443ce6 100644 --- a/docs/examples/1.8.x/server-php/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-php/examples/tokens/list.md @@ -13,5 +13,6 @@ $tokens = new Tokens($client); $result = $tokens->list( bucketId: '', fileId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-identities.md b/docs/examples/1.8.x/server-php/examples/users/list-identities.md index fd15b7b51a..9cdc5bce2e 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-php/examples/users/list-identities.md @@ -12,5 +12,6 @@ $users = new Users($client); $result = $users->listIdentities( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-logs.md b/docs/examples/1.8.x/server-php/examples/users/list-logs.md index 7aea2dc59a..7015526277 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-php/examples/users/list-logs.md @@ -12,5 +12,6 @@ $users = new Users($client); $result = $users->listLogs( userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-memberships.md b/docs/examples/1.8.x/server-php/examples/users/list-memberships.md index 53c4b1b9cc..9a37fea3b2 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-php/examples/users/list-memberships.md @@ -13,5 +13,6 @@ $users = new Users($client); $result = $users->listMemberships( userId: '', queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-sessions.md b/docs/examples/1.8.x/server-php/examples/users/list-sessions.md index bdbd0e5e51..e657aa2443 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-php/examples/users/list-sessions.md @@ -11,5 +11,6 @@ $client = (new Client()) $users = new Users($client); $result = $users->listSessions( - userId: '' + userId: '', + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-targets.md b/docs/examples/1.8.x/server-php/examples/users/list-targets.md index 005d51a531..435dbde0f2 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-php/examples/users/list-targets.md @@ -12,5 +12,6 @@ $users = new Users($client); $result = $users->listTargets( userId: '', - queries: [] // optional + queries: [], // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list.md b/docs/examples/1.8.x/server-php/examples/users/list.md index 04217363f0..6494f07671 100644 --- a/docs/examples/1.8.x/server-php/examples/users/list.md +++ b/docs/examples/1.8.x/server-php/examples/users/list.md @@ -12,5 +12,6 @@ $users = new Users($client); $result = $users->list( queries: [], // optional - search: '' // optional + search: '', // optional + total: false // optional ); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/account/list-identities.md b/docs/examples/1.8.x/server-python/examples/account/list-identities.md index aeb23be747..78eef4b9a3 100644 --- a/docs/examples/1.8.x/server-python/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-python/examples/account/list-identities.md @@ -9,5 +9,6 @@ client.set_session('') # The user session to authenticate with account = Account(client) result = account.list_identities( - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/account/list-logs.md b/docs/examples/1.8.x/server-python/examples/account/list-logs.md index 67d193d186..ae70fcb046 100644 --- a/docs/examples/1.8.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-python/examples/account/list-logs.md @@ -9,5 +9,6 @@ client.set_session('') # The user session to authenticate with account = Account(client) result = account.list_logs( - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-python/examples/databases/list-attributes.md index c97a5ced64..85eb199b05 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-python/examples/databases/list-attributes.md @@ -11,5 +11,6 @@ databases = Databases(client) result = databases.list_attributes( database_id = '', collection_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/list-collections.md b/docs/examples/1.8.x/server-python/examples/databases/list-collections.md index 17d0a3d878..ebb6c6e90d 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-python/examples/databases/list-collections.md @@ -11,5 +11,6 @@ databases = Databases(client) result = databases.list_collections( database_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/list-documents.md b/docs/examples/1.8.x/server-python/examples/databases/list-documents.md index cecac30585..2e63315860 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-python/examples/databases/list-documents.md @@ -12,5 +12,6 @@ result = databases.list_documents( database_id = '', collection_id = '', queries = [], # optional - transaction_id = '' # optional + transaction_id = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-python/examples/databases/list-indexes.md index 1457151a4e..d1b99b85f2 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-python/examples/databases/list-indexes.md @@ -11,5 +11,6 @@ databases = Databases(client) result = databases.list_indexes( database_id = '', collection_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/databases/list.md b/docs/examples/1.8.x/server-python/examples/databases/list.md index 58336c9f89..01dfd76b2e 100644 --- a/docs/examples/1.8.x/server-python/examples/databases/list.md +++ b/docs/examples/1.8.x/server-python/examples/databases/list.md @@ -10,5 +10,6 @@ databases = Databases(client) result = databases.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-python/examples/functions/list-deployments.md index 4eb92f60df..26d3613650 100644 --- a/docs/examples/1.8.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-python/examples/functions/list-deployments.md @@ -11,5 +11,6 @@ functions = Functions(client) result = functions.list_deployments( function_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/functions/list-executions.md b/docs/examples/1.8.x/server-python/examples/functions/list-executions.md index 300fc0e51d..60fe38e6cb 100644 --- a/docs/examples/1.8.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-python/examples/functions/list-executions.md @@ -10,5 +10,6 @@ functions = Functions(client) result = functions.list_executions( function_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/functions/list.md b/docs/examples/1.8.x/server-python/examples/functions/list.md index b1d696d25a..99a54675db 100644 --- a/docs/examples/1.8.x/server-python/examples/functions/list.md +++ b/docs/examples/1.8.x/server-python/examples/functions/list.md @@ -10,5 +10,6 @@ functions = Functions(client) result = functions.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-python/examples/messaging/list-message-logs.md index f28c3e506f..a689ae9694 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-message-logs.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_message_logs( message_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-python/examples/messaging/list-messages.md index 211649d5fb..9a476131c4 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-messages.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_messages( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-python/examples/messaging/list-provider-logs.md index da87e5939b..7e4dc96a19 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-provider-logs.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_provider_logs( provider_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-python/examples/messaging/list-providers.md index 03e5c4ebbc..db2d2b8cc5 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-providers.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_providers( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-python/examples/messaging/list-subscriber-logs.md index df8ec72911..41bb5b4adf 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-subscriber-logs.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_subscriber_logs( subscriber_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-python/examples/messaging/list-subscribers.md index f949b408e5..6666830c1e 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-subscribers.md @@ -11,5 +11,6 @@ messaging = Messaging(client) result = messaging.list_subscribers( topic_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-python/examples/messaging/list-targets.md index 786ee42b19..b4f619f62e 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-targets.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_targets( message_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-python/examples/messaging/list-topic-logs.md index f8a3995295..33fcff0edc 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-topic-logs.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_topic_logs( topic_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-python/examples/messaging/list-topics.md index 1c2cefc9cd..ad071462c0 100644 --- a/docs/examples/1.8.x/server-python/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-python/examples/messaging/list-topics.md @@ -10,5 +10,6 @@ messaging = Messaging(client) result = messaging.list_topics( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-python/examples/sites/list-deployments.md index 15ec24d232..4739de9626 100644 --- a/docs/examples/1.8.x/server-python/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-python/examples/sites/list-deployments.md @@ -11,5 +11,6 @@ sites = Sites(client) result = sites.list_deployments( site_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/sites/list-logs.md b/docs/examples/1.8.x/server-python/examples/sites/list-logs.md index d3a9a193c1..4dbbf7a2ef 100644 --- a/docs/examples/1.8.x/server-python/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-python/examples/sites/list-logs.md @@ -10,5 +10,6 @@ sites = Sites(client) result = sites.list_logs( site_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/sites/list.md b/docs/examples/1.8.x/server-python/examples/sites/list.md index 1b344e1d0f..9c8c67bfd1 100644 --- a/docs/examples/1.8.x/server-python/examples/sites/list.md +++ b/docs/examples/1.8.x/server-python/examples/sites/list.md @@ -10,5 +10,6 @@ sites = Sites(client) result = sites.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-python/examples/storage/list-buckets.md index 51a1ae6836..7a2e9de71a 100644 --- a/docs/examples/1.8.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-python/examples/storage/list-buckets.md @@ -10,5 +10,6 @@ storage = Storage(client) result = storage.list_buckets( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/storage/list-files.md b/docs/examples/1.8.x/server-python/examples/storage/list-files.md index 4034bd477d..88e948cd31 100644 --- a/docs/examples/1.8.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-python/examples/storage/list-files.md @@ -11,5 +11,6 @@ storage = Storage(client) result = storage.list_files( bucket_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md index a3179a9482..944e53afbb 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md @@ -11,5 +11,6 @@ tables_db = TablesDB(client) result = tables_db.list_columns( database_id = '', table_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md index fe69041a34..cc6f4d2517 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md @@ -11,5 +11,6 @@ tables_db = TablesDB(client) result = tables_db.list_indexes( database_id = '', table_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md index eb0a4ed1b3..179ec90e60 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md @@ -12,5 +12,6 @@ result = tables_db.list_rows( database_id = '', table_id = '', queries = [], # optional - transaction_id = '' # optional + transaction_id = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md index 2fab0d3adb..3bb484af1b 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md @@ -11,5 +11,6 @@ tables_db = TablesDB(client) result = tables_db.list_tables( database_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list.md index 43cee6a39a..594e8cb232 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list.md @@ -10,5 +10,6 @@ tables_db = TablesDB(client) result = tables_db.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-python/examples/teams/list-memberships.md index 6e6f15a284..f0e9d3159f 100644 --- a/docs/examples/1.8.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-python/examples/teams/list-memberships.md @@ -11,5 +11,6 @@ teams = Teams(client) result = teams.list_memberships( team_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/teams/list.md b/docs/examples/1.8.x/server-python/examples/teams/list.md index bf91a50744..293ed242bb 100644 --- a/docs/examples/1.8.x/server-python/examples/teams/list.md +++ b/docs/examples/1.8.x/server-python/examples/teams/list.md @@ -10,5 +10,6 @@ teams = Teams(client) result = teams.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/tokens/list.md b/docs/examples/1.8.x/server-python/examples/tokens/list.md index 2694650ed3..53092033d2 100644 --- a/docs/examples/1.8.x/server-python/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-python/examples/tokens/list.md @@ -11,5 +11,6 @@ tokens = Tokens(client) result = tokens.list( bucket_id = '', file_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-identities.md b/docs/examples/1.8.x/server-python/examples/users/list-identities.md index 0fc7811a3f..664d32ea7b 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-python/examples/users/list-identities.md @@ -10,5 +10,6 @@ users = Users(client) result = users.list_identities( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-logs.md b/docs/examples/1.8.x/server-python/examples/users/list-logs.md index 6cbbe498cb..6b2393fd81 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-python/examples/users/list-logs.md @@ -10,5 +10,6 @@ users = Users(client) result = users.list_logs( user_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-memberships.md b/docs/examples/1.8.x/server-python/examples/users/list-memberships.md index c0d2f2a468..907df809dd 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-python/examples/users/list-memberships.md @@ -11,5 +11,6 @@ users = Users(client) result = users.list_memberships( user_id = '', queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-sessions.md b/docs/examples/1.8.x/server-python/examples/users/list-sessions.md index 77b04c935e..b84fbbf798 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-python/examples/users/list-sessions.md @@ -9,5 +9,6 @@ client.set_key('') # Your secret API key users = Users(client) result = users.list_sessions( - user_id = '' + user_id = '', + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-targets.md b/docs/examples/1.8.x/server-python/examples/users/list-targets.md index 14107fa296..a8e68ded49 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-python/examples/users/list-targets.md @@ -10,5 +10,6 @@ users = Users(client) result = users.list_targets( user_id = '', - queries = [] # optional + queries = [], # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-python/examples/users/list.md b/docs/examples/1.8.x/server-python/examples/users/list.md index 778f33935d..7ff8602c13 100644 --- a/docs/examples/1.8.x/server-python/examples/users/list.md +++ b/docs/examples/1.8.x/server-python/examples/users/list.md @@ -10,5 +10,6 @@ users = Users(client) result = users.list( queries = [], # optional - search = '' # optional + search = '', # optional + total = False # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/list-identities.md b/docs/examples/1.8.x/server-ruby/examples/account/list-identities.md index 696e02dd5a..9935d08ad4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/list-identities.md @@ -10,5 +10,6 @@ client = Client.new account = Account.new(client) result = account.list_identities( - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.8.x/server-ruby/examples/account/list-logs.md index 1f3366a2ed..d31eae7fe9 100644 --- a/docs/examples/1.8.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/account/list-logs.md @@ -10,5 +10,6 @@ client = Client.new account = Account.new(client) result = account.list_logs( - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-ruby/examples/databases/list-attributes.md index f1ec0dedcd..812522547f 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/list-attributes.md @@ -12,5 +12,6 @@ databases = Databases.new(client) result = databases.list_attributes( database_id: '', collection_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.8.x/server-ruby/examples/databases/list-collections.md index 26f3d35552..46b7d8d316 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/list-collections.md @@ -12,5 +12,6 @@ databases = Databases.new(client) result = databases.list_collections( database_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.8.x/server-ruby/examples/databases/list-documents.md index 666bfbd5ce..f559d9f907 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/list-documents.md @@ -13,5 +13,6 @@ result = databases.list_documents( database_id: '', collection_id: '', queries: [], # optional - transaction_id: '' # optional + transaction_id: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/databases/list-indexes.md index f98c62a444..4527d40642 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/list-indexes.md @@ -12,5 +12,6 @@ databases = Databases.new(client) result = databases.list_indexes( database_id: '', collection_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/databases/list.md b/docs/examples/1.8.x/server-ruby/examples/databases/list.md index 2e093f73b1..8cd03d7e2f 100644 --- a/docs/examples/1.8.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/databases/list.md @@ -11,5 +11,6 @@ databases = Databases.new(client) result = databases.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-ruby/examples/functions/list-deployments.md index 3df3dd3ee8..0b6bcf1c0a 100644 --- a/docs/examples/1.8.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-ruby/examples/functions/list-deployments.md @@ -12,5 +12,6 @@ functions = Functions.new(client) result = functions.list_deployments( function_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.8.x/server-ruby/examples/functions/list-executions.md index 57b4ba26bc..5b0f1f2949 100644 --- a/docs/examples/1.8.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-ruby/examples/functions/list-executions.md @@ -11,5 +11,6 @@ functions = Functions.new(client) result = functions.list_executions( function_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/functions/list.md b/docs/examples/1.8.x/server-ruby/examples/functions/list.md index 0cab1c34d7..ea008ef65f 100644 --- a/docs/examples/1.8.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/functions/list.md @@ -11,5 +11,6 @@ functions = Functions.new(client) result = functions.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-message-logs.md index f20d6fb491..a0f1f38ca7 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-message-logs.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_message_logs( message_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-messages.md index ffc5dcdbc6..5e9b9f15d9 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-messages.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_messages( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-provider-logs.md index af3751a18f..fe01a712ff 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-provider-logs.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_provider_logs( provider_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-providers.md index a857f0562f..12074736d7 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-providers.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_providers( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscriber-logs.md index 06550e7067..492e0d979b 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscriber-logs.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_subscriber_logs( subscriber_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscribers.md index 07ebc99bab..75182c14df 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-subscribers.md @@ -12,5 +12,6 @@ messaging = Messaging.new(client) result = messaging.list_subscribers( topic_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-targets.md index 0407255d86..6b4473e7e9 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-targets.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_targets( message_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-topic-logs.md index 9b53c47f82..a22976f43d 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-topic-logs.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_topic_logs( topic_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-ruby/examples/messaging/list-topics.md index 5e7b6740cc..4e60a73e70 100644 --- a/docs/examples/1.8.x/server-ruby/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/list-topics.md @@ -11,5 +11,6 @@ messaging = Messaging.new(client) result = messaging.list_topics( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-ruby/examples/sites/list-deployments.md index 8571f8561a..d673f4a0ad 100644 --- a/docs/examples/1.8.x/server-ruby/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-ruby/examples/sites/list-deployments.md @@ -12,5 +12,6 @@ sites = Sites.new(client) result = sites.list_deployments( site_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/sites/list-logs.md b/docs/examples/1.8.x/server-ruby/examples/sites/list-logs.md index 919be968c9..9cba113f90 100644 --- a/docs/examples/1.8.x/server-ruby/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/sites/list-logs.md @@ -11,5 +11,6 @@ sites = Sites.new(client) result = sites.list_logs( site_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/sites/list.md b/docs/examples/1.8.x/server-ruby/examples/sites/list.md index ba70205236..f25201ebd6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/sites/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/sites/list.md @@ -11,5 +11,6 @@ sites = Sites.new(client) result = sites.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-ruby/examples/storage/list-buckets.md index dfee831b69..a73443f71c 100644 --- a/docs/examples/1.8.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-ruby/examples/storage/list-buckets.md @@ -11,5 +11,6 @@ storage = Storage.new(client) result = storage.list_buckets( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.8.x/server-ruby/examples/storage/list-files.md index 078ff55e41..0223e51512 100644 --- a/docs/examples/1.8.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-ruby/examples/storage/list-files.md @@ -12,5 +12,6 @@ storage = Storage.new(client) result = storage.list_files( bucket_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md index f3f0165289..bc6e10c8e3 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md @@ -12,5 +12,6 @@ tables_db = TablesDB.new(client) result = tables_db.list_columns( database_id: '', table_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md index 85e343fa22..9e03d7a08c 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md @@ -12,5 +12,6 @@ tables_db = TablesDB.new(client) result = tables_db.list_indexes( database_id: '', table_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md index b205cece5d..771894a992 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md @@ -13,5 +13,6 @@ result = tables_db.list_rows( database_id: '', table_id: '', queries: [], # optional - transaction_id: '' # optional + transaction_id: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md index a2ec4cda68..49205b29e3 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md @@ -12,5 +12,6 @@ tables_db = TablesDB.new(client) result = tables_db.list_tables( database_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md index ca0d4645e2..1531ab29d7 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md @@ -11,5 +11,6 @@ tables_db = TablesDB.new(client) result = tables_db.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-ruby/examples/teams/list-memberships.md index db48f0cfc6..b8d947c2a8 100644 --- a/docs/examples/1.8.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-ruby/examples/teams/list-memberships.md @@ -12,5 +12,6 @@ teams = Teams.new(client) result = teams.list_memberships( team_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/teams/list.md b/docs/examples/1.8.x/server-ruby/examples/teams/list.md index 9e96391975..863162cb54 100644 --- a/docs/examples/1.8.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/teams/list.md @@ -11,5 +11,6 @@ teams = Teams.new(client) result = teams.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/tokens/list.md b/docs/examples/1.8.x/server-ruby/examples/tokens/list.md index 4932f04151..a9288286d5 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/tokens/list.md @@ -12,5 +12,6 @@ tokens = Tokens.new(client) result = tokens.list( bucket_id: '', file_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-identities.md b/docs/examples/1.8.x/server-ruby/examples/users/list-identities.md index 78c8cf5098..3f147d703b 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-identities.md @@ -11,5 +11,6 @@ users = Users.new(client) result = users.list_identities( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.8.x/server-ruby/examples/users/list-logs.md index 686434869c..a33f8fe121 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-logs.md @@ -11,5 +11,6 @@ users = Users.new(client) result = users.list_logs( user_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.8.x/server-ruby/examples/users/list-memberships.md index a4c3aa11d2..0ca37bfc43 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-memberships.md @@ -12,5 +12,6 @@ users = Users.new(client) result = users.list_memberships( user_id: '', queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.8.x/server-ruby/examples/users/list-sessions.md index 311420531f..695d99bea4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-sessions.md @@ -10,5 +10,6 @@ client = Client.new users = Users.new(client) result = users.list_sessions( - user_id: '' + user_id: '', + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-targets.md b/docs/examples/1.8.x/server-ruby/examples/users/list-targets.md index aae9941794..4034d72ab4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-targets.md @@ -11,5 +11,6 @@ users = Users.new(client) result = users.list_targets( user_id: '', - queries: [] # optional + queries: [], # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list.md b/docs/examples/1.8.x/server-ruby/examples/users/list.md index b490b65099..63c317a7c5 100644 --- a/docs/examples/1.8.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/users/list.md @@ -11,5 +11,6 @@ users = Users.new(client) result = users.list( queries: [], # optional - search: '' # optional + search: '', # optional + total: false # optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/account/list-identities.md b/docs/examples/1.8.x/server-swift/examples/account/list-identities.md index c7ecff9962..89ed893ecf 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/list-identities.md +++ b/docs/examples/1.8.x/server-swift/examples/account/list-identities.md @@ -8,6 +8,7 @@ let client = Client() let account = Account(client) let identityList = try await account.listIdentities( - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/account/list-logs.md b/docs/examples/1.8.x/server-swift/examples/account/list-logs.md index 84c3327762..e5f993c209 100644 --- a/docs/examples/1.8.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/account/list-logs.md @@ -8,6 +8,7 @@ let client = Client() let account = Account(client) let logList = try await account.listLogs( - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.8.x/server-swift/examples/databases/list-attributes.md index b375c8771b..57b26b3759 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/list-attributes.md @@ -10,6 +10,7 @@ let databases = Databases(client) let attributeList = try await databases.listAttributes( databaseId: "", collectionId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.8.x/server-swift/examples/databases/list-collections.md index 10481d985c..4fa25c20bb 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/list-collections.md @@ -10,6 +10,7 @@ let databases = Databases(client) let collectionList = try await databases.listCollections( databaseId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.8.x/server-swift/examples/databases/list-documents.md index 1147530d00..8723fe7b5b 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/list-documents.md @@ -11,6 +11,7 @@ let documentList = try await databases.listDocuments( databaseId: "", collectionId: "", queries: [], // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/databases/list-indexes.md index 691f74b076..285e56f4d2 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/list-indexes.md @@ -10,6 +10,7 @@ let databases = Databases(client) let indexList = try await databases.listIndexes( databaseId: "", collectionId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/databases/list.md b/docs/examples/1.8.x/server-swift/examples/databases/list.md index f8a2313acc..b587241511 100644 --- a/docs/examples/1.8.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.8.x/server-swift/examples/databases/list.md @@ -9,6 +9,7 @@ let databases = Databases(client) let databaseList = try await databases.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.8.x/server-swift/examples/functions/list-deployments.md index 599f301ca8..de6a738db6 100644 --- a/docs/examples/1.8.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.8.x/server-swift/examples/functions/list-deployments.md @@ -10,6 +10,7 @@ let functions = Functions(client) let deploymentList = try await functions.listDeployments( functionId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.8.x/server-swift/examples/functions/list-executions.md index f0aa857f01..668aacc4a6 100644 --- a/docs/examples/1.8.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.8.x/server-swift/examples/functions/list-executions.md @@ -9,6 +9,7 @@ let functions = Functions(client) let executionList = try await functions.listExecutions( functionId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/functions/list.md b/docs/examples/1.8.x/server-swift/examples/functions/list.md index 370b6bddfd..88fdefc23c 100644 --- a/docs/examples/1.8.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.8.x/server-swift/examples/functions/list.md @@ -9,6 +9,7 @@ let functions = Functions(client) let functionList = try await functions.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-message-logs.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-message-logs.md index b7efe6fa9f..34ada0a6a3 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-message-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-message-logs.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let logList = try await messaging.listMessageLogs( messageId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-messages.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-messages.md index 73832f7dae..1f461f90af 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-messages.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-messages.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let messageList = try await messaging.listMessages( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-provider-logs.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-provider-logs.md index 0633e15b62..e45d41ab60 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-provider-logs.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let logList = try await messaging.listProviderLogs( providerId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-providers.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-providers.md index c24af425a6..1b8bec0849 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-providers.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-providers.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let providerList = try await messaging.listProviders( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-subscriber-logs.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-subscriber-logs.md index eab170d7cb..75c62f1dbe 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-subscriber-logs.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let logList = try await messaging.listSubscriberLogs( subscriberId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-subscribers.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-subscribers.md index a29bcefaf1..b845633c6f 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-subscribers.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-subscribers.md @@ -10,6 +10,7 @@ let messaging = Messaging(client) let subscriberList = try await messaging.listSubscribers( topicId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-targets.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-targets.md index 974ae4f7b5..eb474c803f 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-targets.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-targets.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let targetList = try await messaging.listTargets( messageId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-topic-logs.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-topic-logs.md index e6f32ad232..5f54670e59 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-topic-logs.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let logList = try await messaging.listTopicLogs( topicId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/list-topics.md b/docs/examples/1.8.x/server-swift/examples/messaging/list-topics.md index 13106e940c..cd24e5ffd6 100644 --- a/docs/examples/1.8.x/server-swift/examples/messaging/list-topics.md +++ b/docs/examples/1.8.x/server-swift/examples/messaging/list-topics.md @@ -9,6 +9,7 @@ let messaging = Messaging(client) let topicList = try await messaging.listTopics( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/sites/list-deployments.md b/docs/examples/1.8.x/server-swift/examples/sites/list-deployments.md index 5516b74224..976023d7aa 100644 --- a/docs/examples/1.8.x/server-swift/examples/sites/list-deployments.md +++ b/docs/examples/1.8.x/server-swift/examples/sites/list-deployments.md @@ -10,6 +10,7 @@ let sites = Sites(client) let deploymentList = try await sites.listDeployments( siteId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/sites/list-logs.md b/docs/examples/1.8.x/server-swift/examples/sites/list-logs.md index 3eb2a8c096..3220df8e81 100644 --- a/docs/examples/1.8.x/server-swift/examples/sites/list-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/sites/list-logs.md @@ -9,6 +9,7 @@ let sites = Sites(client) let executionList = try await sites.listLogs( siteId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/sites/list.md b/docs/examples/1.8.x/server-swift/examples/sites/list.md index f330c721b9..414268e9be 100644 --- a/docs/examples/1.8.x/server-swift/examples/sites/list.md +++ b/docs/examples/1.8.x/server-swift/examples/sites/list.md @@ -9,6 +9,7 @@ let sites = Sites(client) let siteList = try await sites.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.8.x/server-swift/examples/storage/list-buckets.md index 957d266e9a..621af7c8b5 100644 --- a/docs/examples/1.8.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.8.x/server-swift/examples/storage/list-buckets.md @@ -9,6 +9,7 @@ let storage = Storage(client) let bucketList = try await storage.listBuckets( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/storage/list-files.md b/docs/examples/1.8.x/server-swift/examples/storage/list-files.md index 103d3c328c..d66d91ae1c 100644 --- a/docs/examples/1.8.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.8.x/server-swift/examples/storage/list-files.md @@ -10,6 +10,7 @@ let storage = Storage(client) let fileList = try await storage.listFiles( bucketId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md index 271a6d4afd..dd19948f30 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md @@ -10,6 +10,7 @@ let tablesDB = TablesDB(client) let columnList = try await tablesDB.listColumns( databaseId: "", tableId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md index a8e2770f8f..ce090c72f7 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md @@ -10,6 +10,7 @@ let tablesDB = TablesDB(client) let columnIndexList = try await tablesDB.listIndexes( databaseId: "", tableId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md index 92a2813f74..a07f4f8fb6 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md @@ -11,6 +11,7 @@ let rowList = try await tablesDB.listRows( databaseId: "", tableId: "", queries: [], // optional - transactionId: "" // optional + transactionId: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md index 46fcdcf0a6..945a78938d 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md @@ -10,6 +10,7 @@ let tablesDB = TablesDB(client) let tableList = try await tablesDB.listTables( databaseId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md index 6923d8ade3..bbdaec1f7f 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md @@ -9,6 +9,7 @@ let tablesDB = TablesDB(client) let databaseList = try await tablesDB.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.8.x/server-swift/examples/teams/list-memberships.md index 0670d91ab2..329fa7a222 100644 --- a/docs/examples/1.8.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.8.x/server-swift/examples/teams/list-memberships.md @@ -10,6 +10,7 @@ let teams = Teams(client) let membershipList = try await teams.listMemberships( teamId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/teams/list.md b/docs/examples/1.8.x/server-swift/examples/teams/list.md index b5130cbf89..d4b16044da 100644 --- a/docs/examples/1.8.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.8.x/server-swift/examples/teams/list.md @@ -9,6 +9,7 @@ let teams = Teams(client) let teamList = try await teams.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/tokens/list.md b/docs/examples/1.8.x/server-swift/examples/tokens/list.md index 8438050754..8a40d0113c 100644 --- a/docs/examples/1.8.x/server-swift/examples/tokens/list.md +++ b/docs/examples/1.8.x/server-swift/examples/tokens/list.md @@ -10,6 +10,7 @@ let tokens = Tokens(client) let resourceTokenList = try await tokens.list( bucketId: "", fileId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-identities.md b/docs/examples/1.8.x/server-swift/examples/users/list-identities.md index 8cbe8a71f4..18b374f230 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list-identities.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list-identities.md @@ -9,6 +9,7 @@ let users = Users(client) let identityList = try await users.listIdentities( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-logs.md b/docs/examples/1.8.x/server-swift/examples/users/list-logs.md index 80d9199c3e..79a9a18c69 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list-logs.md @@ -9,6 +9,7 @@ let users = Users(client) let logList = try await users.listLogs( userId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.8.x/server-swift/examples/users/list-memberships.md index 0ae34d4582..cc84a92b17 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list-memberships.md @@ -10,6 +10,7 @@ let users = Users(client) let membershipList = try await users.listMemberships( userId: "", queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.8.x/server-swift/examples/users/list-sessions.md index e0278279a4..4712c153b1 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list-sessions.md @@ -8,6 +8,7 @@ let client = Client() let users = Users(client) let sessionList = try await users.listSessions( - userId: "" + userId: "", + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-targets.md b/docs/examples/1.8.x/server-swift/examples/users/list-targets.md index b069781f70..a8008b16ff 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list-targets.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list-targets.md @@ -9,6 +9,7 @@ let users = Users(client) let targetList = try await users.listTargets( userId: "", - queries: [] // optional + queries: [], // optional + total: false // optional ) diff --git a/docs/examples/1.8.x/server-swift/examples/users/list.md b/docs/examples/1.8.x/server-swift/examples/users/list.md index 45ccf23961..2620f2e0db 100644 --- a/docs/examples/1.8.x/server-swift/examples/users/list.md +++ b/docs/examples/1.8.x/server-swift/examples/users/list.md @@ -9,6 +9,7 @@ let users = Users(client) let userList = try await users.list( queries: [], // optional - search: "" // optional + search: "", // optional + total: false // optional ) diff --git a/docs/sdks/android/CHANGELOG.md b/docs/sdks/android/CHANGELOG.md index a05da45c4e..c355a1904f 100644 --- a/docs/sdks/android/CHANGELOG.md +++ b/docs/sdks/android/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 11.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 11.2.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/apple/CHANGELOG.md b/docs/sdks/apple/CHANGELOG.md index df3170cc4d..44c40a5858 100644 --- a/docs/sdks/apple/CHANGELOG.md +++ b/docs/sdks/apple/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 13.4.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 13.3.1 * Fix `onOpen` callback not being called when the websocket connection is established diff --git a/docs/sdks/cli/CHANGELOG.md b/docs/sdks/cli/CHANGELOG.md index 0ffcb91b80..ac1624401c 100644 --- a/docs/sdks/cli/CHANGELOG.md +++ b/docs/sdks/cli/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 11.1.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance + ## 11.0.0 * Rename `create-csv-migration` to `create-csv-import` command to create a CSV import of a collection/table diff --git a/docs/sdks/dart/CHANGELOG.md b/docs/sdks/dart/CHANGELOG.md index c5ea578d20..1a2cd6a5be 100644 --- a/docs/sdks/dart/CHANGELOG.md +++ b/docs/sdks/dart/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 19.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## 19.2.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/dotnet/CHANGELOG.md b/docs/sdks/dotnet/CHANGELOG.md index dfd28ad686..1401108b9f 100644 --- a/docs/sdks/dotnet/CHANGELOG.md +++ b/docs/sdks/dotnet/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 0.22.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `CreateResendProvider` and `UpdateResendProvider` methods to `Messaging` service + ## 0.21.2 * Fix: handle Object[] during array deserialization diff --git a/docs/sdks/flutter/CHANGELOG.md b/docs/sdks/flutter/CHANGELOG.md index 4c723b8017..5ab7d3269a 100644 --- a/docs/sdks/flutter/CHANGELOG.md +++ b/docs/sdks/flutter/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 20.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 20.2.2 * Widen `device_info_plus` and `package_info_plus` dependencies to allow for newer versions for Android 15+ support diff --git a/docs/sdks/go/CHANGELOG.md b/docs/sdks/go/CHANGELOG.md index 243fdc14a1..0cc395644f 100644 --- a/docs/sdks/go/CHANGELOG.md +++ b/docs/sdks/go/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## v0.14.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## v0.13.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/kotlin/CHANGELOG.md b/docs/sdks/kotlin/CHANGELOG.md index fe8c8bf46a..362c9aa979 100644 --- a/docs/sdks/kotlin/CHANGELOG.md +++ b/docs/sdks/kotlin/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 12.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## 12.2.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/nodejs/CHANGELOG.md b/docs/sdks/nodejs/CHANGELOG.md index bd21b954f7..419b052678 100644 --- a/docs/sdks/nodejs/CHANGELOG.md +++ b/docs/sdks/nodejs/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 20.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## 20.2.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/php/CHANGELOG.md b/docs/sdks/php/CHANGELOG.md index 3e5e810e84..6e8d4d7545 100644 --- a/docs/sdks/php/CHANGELOG.md +++ b/docs/sdks/php/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 17.5.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## 17.4.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index cb7f47d379..4d0c81a7db 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 13.6.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 13.5.0 * Add `create_resend_provider` and `update_resend_provider` methods to `Messaging` service diff --git a/docs/sdks/react-native/CHANGELOG.md b/docs/sdks/react-native/CHANGELOG.md index f1f15907bc..757a5f0158 100644 --- a/docs/sdks/react-native/CHANGELOG.md +++ b/docs/sdks/react-native/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log +## 0.18.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 0.17.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/ruby/CHANGELOG.md b/docs/sdks/ruby/CHANGELOG.md index 22f70c4c3a..c4b0df5615 100644 --- a/docs/sdks/ruby/CHANGELOG.md +++ b/docs/sdks/ruby/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 19.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `create_resend_provider` and `update_resend_provider` methods to `Messaging` service + ## 19.2.1 * Add transaction support for Databases and TablesDB diff --git a/docs/sdks/swift/CHANGELOG.md b/docs/sdks/swift/CHANGELOG.md index ed5f82c6ea..33ec214069 100644 --- a/docs/sdks/swift/CHANGELOG.md +++ b/docs/sdks/swift/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 13.3.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations +* Add `createResendProvider` and `updateResendProvider` methods to `Messaging` service + ## 13.2.2 * Fix issue: Missing AppwriteEnums dependency causing build failure diff --git a/docs/sdks/web/CHANGELOG.md b/docs/sdks/web/CHANGELOG.md index 90b3a91db8..83ed257773 100644 --- a/docs/sdks/web/CHANGELOG.md +++ b/docs/sdks/web/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 21.4.0 + +* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance +* Add `Operator` class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations + ## 21.3.0 * Add new `Realtime` service with methods for subscribing to channels and receiving messages diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php index 3da89f352c..c4c169b77c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Action.php @@ -7,6 +7,7 @@ use Appwrite\Extend\Exception; use Appwrite\Platform\Action as AppwriteAction; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Operator; use Utopia\Database\Validator\Authorization; abstract class Action extends AppwriteAction @@ -338,6 +339,53 @@ abstract class Action extends AppwriteAction return true; } + /** + * Parse operator strings in data array and convert them to Operator objects. + * + * @param array $data The data array that may contain operator JSON strings + * @param Document $collection The collection document to check for relationship attributes + * @return array The data array with operators converted to Operator objects + * @throws Exception If an operator string is invalid + */ + protected function parseOperators(array $data, Document $collection): array + { + $relationshipKeys = []; + foreach ($collection->getAttribute('attributes', []) as $attribute) { + if ($attribute->getAttribute('type') === Database::VAR_RELATIONSHIP) { + $relationshipKeys[$attribute->getAttribute('key')] = true; + } + } + + foreach ($data as $key => $value) { + if (\str_starts_with($key, '$')) { + continue; + } + + if (isset($relationshipKeys[$key])) { + continue; + } + + if (\is_string($value)) { + $decoded = \json_decode($value, true); + + if ( + \is_array($decoded) && + isset($decoded['method']) && + \is_string($decoded['method']) && + Operator::isMethod($decoded['method']) + ) { + try { + $data[$key] = Operator::parse($value); + } catch (\Exception $e) { + throw new Exception(Exception::GENERAL_BAD_REQUEST, 'Invalid operator for attribute "' . $key . '": ' . $e->getMessage()); + } + } + } + } + + return $data; + } + /** * For triggering different queues for each document for a bulk documents * @param string $event diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php index e0d053b976..2152534efe 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php @@ -107,6 +107,8 @@ class Update extends Action throw new Exception($this->getParentNotFoundException()); } + $data = $this->parseOperators($data, $collection); + $hasRelationships = \array_filter( $collection->getAttribute('attributes', []), fn ($attribute) => $attribute->getAttribute('type') === Database::VAR_RELATIONSHIP diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php index a2156484a8..6c869723a7 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php @@ -107,6 +107,7 @@ class Upsert extends Action } foreach ($documents as $key => $document) { + $document = $this->parseOperators($document, $collection); $document = $this->removeReadonlyAttributes($document, privileged: true); $documents[$key] = new Document($document); } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php index 552c51a5fb..ed83f3fdd3 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php @@ -112,6 +112,8 @@ class Update extends Action throw new Exception($this->getParentNotFoundException()); } + $data = $this->parseOperators($data, $collection); + // Read permission should not be required for update /** @var Document $document */ $collectionTableId = 'database_' . $database->getSequence() . '_collection_' . $collection->getSequence(); diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php index f113a99c7a..8d47410649 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php @@ -118,6 +118,8 @@ class Upsert extends Action throw new Exception($this->getParentNotFoundException()); } + $data = $this->parseOperators($data, $collection); + $allowedPermissions = [ Database::PERMISSION_READ, Database::PERMISSION_UPDATE, diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index fe06f9c366..fc7949e783 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -449,7 +449,12 @@ class Migrations extends Action $fileId = ID::unique(); $sizeMB = \round($size / (1000 * 1000), 2); - if ($sizeMB > $this->plan['fileSize'] ?? PHP_INT_MAX) { + + $planFileSize = empty($this->plan['fileSize']) + ? PHP_INT_MAX + : $this->plan['fileSize']; + + if ($sizeMB > $planFileSize) { try { $this->deviceForFiles->delete($path); } finally { @@ -575,34 +580,41 @@ class Migrations extends Action $signature = $locale->getText("emails.csvExport.{$emailType}.signature"); $buttonText = $success ? $locale->getText("emails.csvExport.{$emailType}.buttonText") : ''; - // Build email body using inner template - $message = Template::fromFile(__DIR__ . '/../../../../app/config/locale/templates/email-inner-base.tpl') + // Build email body using appropriate template + $templatePath = $success + ? __DIR__ . '/../../../../app/config/locale/templates/email-inner-base.tpl' + : __DIR__ . '/../../../../app/config/locale/templates/email-export-failed.tpl'; + + $message = Template::fromFile($templatePath) ->setParam('{{body}}', $body, escapeHtml: false) ->setParam('{{hello}}', $hello) ->setParam('{{footer}}', $footer) ->setParam('{{thanks}}', $thanks) - ->setParam('{{buttonText}}', $buttonText) ->setParam('{{signature}}', $signature) ->setParam('{{direction}}', $locale->getText('settings.direction')) ->setParam('{{project}}', $project->getAttribute('name')) ->setParam('{{user}}', $user->getAttribute('name', $user->getAttribute('email'))) - ->setParam('{{redirect}}', $downloadUrl) ->setParam('{{size}}', $success ? '' : (string)$sizeMB); + if ($success) { + $message + ->setParam('{{buttonText}}', $buttonText) + ->setParam('{{redirect}}', $downloadUrl); + } + $emailBody = $message->render(); $emailVariables = [ 'direction' => $locale->getText('settings.direction'), - 'project' => $project->getAttribute('name'), - 'user' => $user->getAttribute('name', $user->getAttribute('email')), + 'logoUrl' => $this->plan['logoUrl'] ?? APP_EMAIL_LOGO_URL, + 'accentColor' => $this->plan['accentColor'] ?? APP_EMAIL_ACCENT_COLOR, + 'twitterUrl' => $this->plan['twitterUrl'] ?? APP_SOCIAL_TWITTER, + 'discordUrl' => $this->plan['discordUrl'] ?? APP_SOCIAL_DISCORD, + 'githubUrl' => $this->plan['githubUrl'] ?? APP_SOCIAL_GITHUB_APPWRITE, + 'termsUrl' => $this->plan['termsUrl'] ?? APP_EMAIL_TERMS_URL, + 'privacyUrl' => $this->plan['privacyUrl'] ?? APP_EMAIL_PRIVACY_URL, ]; - if ($success) { - $emailVariables['redirect'] = $downloadUrl; - } else { - $emailVariables['size'] = (string)$sizeMB; - } - $queueForMails ->setSubject($subject) ->setPreview($preview) diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index ae4e10196f..409668dc46 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -10,6 +10,7 @@ use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; +use Utopia\Database\Operator; use Utopia\Database\Query; use Utopia\Database\Validator\Datetime as DatetimeValidator; @@ -3102,6 +3103,404 @@ trait DatabasesBase return []; } + public function testOperators(): void + { + // Create database + $database = $this->client->call(Client::METHOD_POST, '/databases', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'databaseId' => ID::unique(), + 'name' => 'Test Database for Operators' + ]); + + $this->assertEquals(201, $database['headers']['status-code']); + $databaseId = $database['body']['$id']; + + // Create collection + $collection = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'collectionId' => ID::unique(), + 'name' => 'Operator Tests', + 'documentSecurity' => true, + 'permissions' => [ + Permission::create(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(201, $collection['headers']['status-code']); + $collectionId = $collection['body']['$id']; + + // Create attributes + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'title', + 'size' => 256, + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'releaseYear', + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'duration', + 'required' => false, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'actors', + 'size' => 256, + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'integers', + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'tagline', + 'size' => 512, + 'required' => false, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/datetime', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'birthDay', + 'required' => false, + ]); + + // Wait for attributes to be created + sleep(2); + + // Create a document to test operators + $document = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'documentId' => ID::unique(), + 'data' => [ + 'title' => 'Operator Test', + 'releaseYear' => 2020, + 'duration' => 120, + 'actors' => ['Actor1', 'Actor2'], + 'integers' => [10, 20], + 'tagline' => 'Original', + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::user($this->getUser()['$id'])), + Permission::update(Role::user($this->getUser()['$id'])), + Permission::delete(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(201, $document['headers']['status-code']); + $documentId = $document['body']['$id']; + + // Test increment operator on integer + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::increment(5)->toString(), + 'duration' => Operator::increment(10)->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2025, $updated['body']['releaseYear']); + $this->assertEquals(130, $updated['body']['duration']); + + // Test decrement operator + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::decrement(3)->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2022, $updated['body']['releaseYear']); + + // Test array append operator + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'actors' => Operator::arrayAppend(['Actor3'])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(['Actor1', 'Actor2', 'Actor3'], $updated['body']['actors']); + + // Test array prepend operator + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'actors' => Operator::arrayPrepend(['Actor0'])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(['Actor0', 'Actor1', 'Actor2', 'Actor3'], $updated['body']['actors']); + + // Test string concat operator + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'tagline' => Operator::stringConcat(' Appended')->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals('Original Appended', $updated['body']['tagline']); + + // Test multiple operators in a single update + $updated = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $documentId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::increment(1)->toString(), + 'integers' => Operator::arrayAppend([30])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2023, $updated['body']['releaseYear']); + $this->assertEquals([10, 20, 30], $updated['body']['integers']); + + // Test upsert with operators + $upsertId = ID::unique(); + $upserted = $this->client->call(Client::METHOD_PUT, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $upsertId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'title' => 'Upsert Test', + 'releaseYear' => 2020, + 'actors' => [], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::user($this->getUser()['$id'])), + Permission::update(Role::user($this->getUser()['$id'])), + Permission::delete(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(200, $upserted['headers']['status-code']); + + $upserted = $this->client->call(Client::METHOD_PUT, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $upsertId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'title' => 'Upsert Test Updated', + 'releaseYear' => Operator::increment(5)->toString(), + 'actors' => [], + 'birthDay' => '2020-01-01 12:00:00', + ], + ]); + + $this->assertEquals(200, $upserted['headers']['status-code']); + $this->assertEquals(2025, $upserted['body']['releaseYear']); + } + + public function testBulkOperators(): void + { + // Create database + $database = $this->client->call(Client::METHOD_POST, '/databases', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'databaseId' => ID::unique(), + 'name' => 'Test Database for Bulk Operators' + ]); + + $this->assertEquals(201, $database['headers']['status-code']); + $databaseId = $database['body']['$id']; + + // Create collection + $collection = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'collectionId' => ID::unique(), + 'name' => 'Bulk Operator Tests', + 'documentSecurity' => true, + 'permissions' => [ + Permission::create(Role::users()), + ], + ]); + + $this->assertEquals(201, $collection['headers']['status-code']); + $collectionId = $collection['body']['$id']; + + // Create attributes + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'title', + 'size' => 256, + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'releaseYear', + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'actors', + 'size' => 256, + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/datetime', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'birthDay', + 'required' => false, + ]); + + // Wait for attributes to be created + sleep(2); + + // Create multiple documents + $document1 = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'documentId' => ID::unique(), + 'data' => [ + 'title' => 'Bulk Test 1', + 'releaseYear' => 2020, + 'actors' => ['Actor1'], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::users()), + Permission::update(Role::users()), + Permission::delete(Role::users()), + ], + ]); + + $document2 = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'documentId' => ID::unique(), + 'data' => [ + 'title' => 'Bulk Test 2', + 'releaseYear' => 2021, + 'actors' => ['Actor2'], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::users()), + Permission::update(Role::users()), + Permission::delete(Role::users()), + ], + ]); + + $this->assertEquals(201, $document1['headers']['status-code']); + $this->assertEquals(201, $document2['headers']['status-code']); + + // Test bulk update with operators + $bulkUpdate = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ]), [ + 'data' => [ + 'releaseYear' => Operator::increment(10)->toString(), + ], + 'queries' => [ + Query::startsWith('title', 'Bulk Test')->toString(), + ], + ]); + + $this->assertEquals(200, $bulkUpdate['headers']['status-code']); + $this->assertGreaterThanOrEqual(2, $bulkUpdate['body']['total']); + + // Verify the updates + $verify1 = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $document1['body']['$id'], array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + + $this->assertEquals(200, $verify1['headers']['status-code']); + $this->assertEquals(2030, $verify1['body']['releaseYear']); + + $verify2 = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $document2['body']['$id'], array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + + $this->assertEquals(200, $verify2['headers']['status-code']); + $this->assertEquals(2031, $verify2['body']['releaseYear']); + } + /** * @depends testCreateDocument */ diff --git a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php index 5c371e814e..f7739567c8 100644 --- a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php +++ b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php @@ -10,6 +10,7 @@ use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; +use Utopia\Database\Operator; use Utopia\Database\Query; use Utopia\Database\Validator\Datetime as DatetimeValidator; @@ -3008,6 +3009,404 @@ trait DatabasesBase return []; } + public function testOperators(): void + { + // Create database + $database = $this->client->call(Client::METHOD_POST, '/tablesdb', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'databaseId' => ID::unique(), + 'name' => 'Test Database for Operators' + ]); + + $this->assertEquals(201, $database['headers']['status-code']); + $databaseId = $database['body']['$id']; + + // Create table + $table = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'tableId' => ID::unique(), + 'name' => 'Operator Tests', + 'rowSecurity' => true, + 'permissions' => [ + Permission::create(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(201, $table['headers']['status-code']); + $tableId = $table['body']['$id']; + + // Create columns + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'title', + 'size' => 256, + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'releaseYear', + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'duration', + 'required' => false, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'actors', + 'size' => 256, + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'integers', + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'tagline', + 'size' => 512, + 'required' => false, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/datetime', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'birthDay', + 'required' => false, + ]); + + // Wait for columns to be created + sleep(2); + + // Create a row to test operators + $row = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'rowId' => ID::unique(), + 'data' => [ + 'title' => 'Operator Test', + 'releaseYear' => 2020, + 'duration' => 120, + 'actors' => ['Actor1', 'Actor2'], + 'integers' => [10, 20], + 'tagline' => 'Original', + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::user($this->getUser()['$id'])), + Permission::update(Role::user($this->getUser()['$id'])), + Permission::delete(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(201, $row['headers']['status-code']); + $rowId = $row['body']['$id']; + + // Test increment operator on integer + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::increment(5)->toString(), + 'duration' => Operator::increment(10)->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2025, $updated['body']['releaseYear']); + $this->assertEquals(130, $updated['body']['duration']); + + // Test decrement operator + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::decrement(3)->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2022, $updated['body']['releaseYear']); + + // Test array append operator + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'actors' => Operator::arrayAppend(['Actor3'])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(['Actor1', 'Actor2', 'Actor3'], $updated['body']['actors']); + + // Test array prepend operator + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'actors' => Operator::arrayPrepend(['Actor0'])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(['Actor0', 'Actor1', 'Actor2', 'Actor3'], $updated['body']['actors']); + + // Test string concat operator + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'tagline' => Operator::stringConcat(' Appended')->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals('Original Appended', $updated['body']['tagline']); + + // Test multiple operators in a single update + $updated = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $rowId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'releaseYear' => Operator::increment(1)->toString(), + 'integers' => Operator::arrayAppend([30])->toString(), + ], + ]); + + $this->assertEquals(200, $updated['headers']['status-code']); + $this->assertEquals(2023, $updated['body']['releaseYear']); + $this->assertEquals([10, 20, 30], $updated['body']['integers']); + + // Test upsert with operators + $upsertId = ID::unique(); + $upserted = $this->client->call(Client::METHOD_PUT, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $upsertId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'title' => 'Upsert Test', + 'releaseYear' => 2020, + 'actors' => [], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::user($this->getUser()['$id'])), + Permission::update(Role::user($this->getUser()['$id'])), + Permission::delete(Role::user($this->getUser()['$id'])), + ], + ]); + + $this->assertEquals(200, $upserted['headers']['status-code']); + + $upserted = $this->client->call(Client::METHOD_PUT, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $upsertId, array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'data' => [ + 'title' => 'Upsert Test Updated', + 'releaseYear' => Operator::increment(5)->toString(), + 'actors' => [], + 'birthDay' => '2020-01-01 12:00:00', + ], + ]); + + $this->assertEquals(200, $upserted['headers']['status-code']); + $this->assertEquals(2025, $upserted['body']['releaseYear']); + } + + public function testBulkOperators(): void + { + // Create database + $database = $this->client->call(Client::METHOD_POST, '/tablesdb', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'databaseId' => ID::unique(), + 'name' => 'Test Database for Bulk Operators' + ]); + + $this->assertEquals(201, $database['headers']['status-code']); + $databaseId = $database['body']['$id']; + + // Create table + $table = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'tableId' => ID::unique(), + 'name' => 'Bulk Operator Tests', + 'rowSecurity' => true, + 'permissions' => [ + Permission::create(Role::users()), + ], + ]); + + $this->assertEquals(201, $table['headers']['status-code']); + $tableId = $table['body']['$id']; + + // Create columns + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'title', + 'size' => 256, + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/integer', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'releaseYear', + 'required' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/string', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'actors', + 'size' => 256, + 'required' => false, + 'array' => true, + ]); + + $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/datetime', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ], [ + 'key' => 'birthDay', + 'required' => false, + ]); + + // Wait for columns to be created + sleep(2); + + // Create multiple rows + $row1 = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'rowId' => ID::unique(), + 'data' => [ + 'title' => 'Bulk Test 1', + 'releaseYear' => 2020, + 'actors' => ['Actor1'], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::users()), + Permission::update(Role::users()), + Permission::delete(Role::users()), + ], + ]); + + $row2 = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'rowId' => ID::unique(), + 'data' => [ + 'title' => 'Bulk Test 2', + 'releaseYear' => 2021, + 'actors' => ['Actor2'], + 'birthDay' => '2020-01-01 12:00:00', + ], + 'permissions' => [ + Permission::read(Role::users()), + Permission::update(Role::users()), + Permission::delete(Role::users()), + ], + ]); + + $this->assertEquals(201, $row1['headers']['status-code']); + $this->assertEquals(201, $row2['headers']['status-code']); + + // Test bulk update with operators + $bulkUpdate = $this->client->call(Client::METHOD_PATCH, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ]), [ + 'data' => [ + 'releaseYear' => Operator::increment(10)->toString(), + ], + 'queries' => [ + Query::startsWith('title', 'Bulk Test')->toString(), + ], + ]); + + $this->assertEquals(200, $bulkUpdate['headers']['status-code']); + $this->assertGreaterThanOrEqual(2, $bulkUpdate['body']['total']); + + // Verify the updates + $verify1 = $this->client->call(Client::METHOD_GET, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $row1['body']['$id'], array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + + $this->assertEquals(200, $verify1['headers']['status-code']); + $this->assertEquals(2030, $verify1['body']['releaseYear']); + + $verify2 = $this->client->call(Client::METHOD_GET, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/rows/' . $row2['body']['$id'], array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); + + $this->assertEquals(200, $verify2['headers']['status-code']); + $this->assertEquals(2031, $verify2['body']['releaseYear']); + } + /** * @depends testCreateRow */