From ae6df7802074d023f5109e3a4eca20d9a3262290 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 13 Jan 2026 16:10:47 +0530 Subject: [PATCH] Add int64 format support for integer attributes This change adds int64 format specification to integer attribute min/max values in the API response models and updates all OpenAPI/Swagger specifications accordingly. This ensures proper type handling for large integer values that exceed int32 range in client SDKs. Changes: - Add 'format: int64' to min/max fields in AttributeInteger and ColumnInteger models - Regenerate OpenAPI 3.x and Swagger 2.x specs for all platforms (client, console, server) - Update composer dependencies --- app/config/specs/open-api3-1.8.x-client.json | 192 ++- app/config/specs/open-api3-1.8.x-console.json | 1446 +++++++++------- app/config/specs/open-api3-1.8.x-server.json | 746 +++++---- app/config/specs/open-api3-latest-client.json | 168 +- .../specs/open-api3-latest-console.json | 806 +++++---- app/config/specs/open-api3-latest-server.json | 588 ++++--- app/config/specs/swagger2-1.8.x-client.json | 189 ++- app/config/specs/swagger2-1.8.x-console.json | 1458 ++++++++++------- app/config/specs/swagger2-1.8.x-server.json | 737 +++++---- app/config/specs/swagger2-latest-client.json | 165 +- app/config/specs/swagger2-latest-console.json | 797 +++++---- app/config/specs/swagger2-latest-server.json | 579 ++++--- composer.lock | 70 +- .../Collections/Attributes/Integer/Create.php | 6 +- .../Collections/Attributes/Integer/Update.php | 6 +- .../Tables/Columns/Integer/Create.php | 6 +- .../Tables/Columns/Integer/Update.php | 6 +- .../SDK/Specification/Format/OpenAPI3.php | 12 +- .../SDK/Specification/Format/Swagger2.php | 12 +- .../Response/Model/AttributeInteger.php | 2 + .../Utopia/Response/Model/ColumnInteger.php | 2 + 21 files changed, 4687 insertions(+), 3306 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index 052fe536c9..4bb90a535f 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -140,7 +140,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -224,12 +225,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -439,7 +442,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -551,7 +555,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -623,7 +627,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -747,7 +751,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -887,7 +891,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1011,7 +1015,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1145,7 +1149,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1283,7 +1287,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1384,7 +1388,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1483,7 +1487,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1582,7 +1586,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1796,7 +1800,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1868,12 +1873,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2072,12 +2079,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2382,12 +2391,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3304,7 +3315,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3390,12 +3402,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3621,7 +3635,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3746,7 +3761,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4039,7 +4055,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4167,7 +4183,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4301,7 +4317,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4361,7 +4377,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4851,7 +4867,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4935,7 +4951,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5029,7 +5045,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5123,7 +5139,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5980,7 +5996,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7146,12 +7163,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7273,12 +7292,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7318,7 +7339,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -7405,7 +7426,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -7523,7 +7544,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -7598,7 +7619,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7652,7 +7673,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7706,7 +7727,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7760,7 +7781,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7814,7 +7835,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7868,7 +7889,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7922,7 +7943,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7976,7 +7997,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -8030,7 +8051,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -8084,7 +8105,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -8138,7 +8159,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8222,7 +8243,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8298,7 +8319,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8397,7 +8418,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8452,7 +8473,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -8498,7 +8520,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8572,7 +8594,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8664,7 +8686,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8733,7 +8755,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8813,7 +8835,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -9043,7 +9065,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -9240,7 +9262,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -10403,12 +10426,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10529,12 +10554,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10574,7 +10601,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10663,7 +10690,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10750,7 +10777,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10814,7 +10841,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10890,7 +10917,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10956,7 +10983,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -11055,7 +11082,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -11104,7 +11131,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -11114,7 +11142,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -11134,7 +11163,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -11175,7 +11205,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -11249,7 +11279,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11345,7 +11375,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11421,7 +11451,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11521,7 +11551,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11584,7 +11614,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index de68c4db48..22f247843f 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -138,7 +138,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -261,12 +262,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -473,7 +476,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -584,7 +588,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -655,7 +659,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -778,7 +782,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -917,7 +921,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1040,7 +1044,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1173,7 +1177,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1310,7 +1314,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1410,7 +1414,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1508,7 +1512,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1606,7 +1610,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1817,7 +1821,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1888,12 +1893,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2089,12 +2096,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2394,12 +2403,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3304,7 +3315,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3389,12 +3401,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3618,7 +3632,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3742,7 +3757,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4032,7 +4048,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4160,7 +4176,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4294,7 +4310,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4354,7 +4370,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4844,7 +4860,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4928,7 +4944,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5022,7 +5038,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5116,7 +5132,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5862,7 +5878,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5923,7 +5939,7 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 496, + "weight": 497, "cookies": false, "type": "", "demo": "console\/get-resource.md", @@ -5998,7 +6014,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -6387,7 +6403,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -8239,6 +8256,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -8356,6 +8374,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8719,18 +8738,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8848,18 +8870,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8974,18 +8999,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -9103,18 +9131,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -10310,7 +10341,8 @@ "size": { "type": "integer", "description": "Attribute size for text attributes, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -10450,6 +10482,7 @@ "type": "integer", "description": "Maximum size of the string attribute.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10564,6 +10597,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10681,6 +10715,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -12346,12 +12381,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12473,12 +12510,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -13331,7 +13370,7 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "functions\/list.md", @@ -13416,7 +13455,7 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "functions\/create.md", @@ -13556,7 +13595,8 @@ "timeout": { "type": "integer", "description": "Function maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13711,7 +13751,7 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", @@ -13761,7 +13801,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", @@ -13811,7 +13851,7 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/list-templates.md", @@ -14003,7 +14043,7 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/get-template.md", @@ -14063,7 +14103,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/list-usage.md", @@ -14135,7 +14175,7 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "functions\/get.md", @@ -14195,7 +14235,7 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "functions\/update.md", @@ -14342,7 +14382,8 @@ "timeout": { "type": "integer", "description": "Maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14487,7 +14528,7 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "functions\/delete.md", @@ -14549,7 +14590,7 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", @@ -14630,7 +14671,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", @@ -14725,7 +14766,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 442, + "weight": 443, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", @@ -14782,7 +14823,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -14824,7 +14866,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", @@ -14910,7 +14952,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", @@ -15027,7 +15069,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", @@ -15125,7 +15167,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", @@ -15188,7 +15230,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", @@ -15253,7 +15295,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 449, + "weight": 450, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", @@ -15344,7 +15386,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", @@ -15416,7 +15458,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -15503,7 +15545,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -15621,7 +15663,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -15687,7 +15729,7 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", @@ -15759,7 +15801,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/get-usage.md", @@ -15841,7 +15883,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 460, + "weight": 461, "cookies": false, "type": "", "demo": "functions\/list-variables.md", @@ -15901,7 +15943,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/create-variable.md", @@ -15993,7 +16035,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/get-variable.md", @@ -16063,7 +16105,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/update-variable.md", @@ -16157,7 +16199,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", @@ -16229,7 +16271,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -16283,7 +16325,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -16337,7 +16379,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -16388,7 +16430,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -16439,7 +16481,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -16490,7 +16532,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -16552,7 +16594,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16603,7 +16645,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16654,7 +16696,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16718,7 +16760,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16782,7 +16824,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16857,7 +16899,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16921,7 +16963,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16965,6 +17007,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -17011,7 +17054,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -17075,7 +17118,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -17139,7 +17182,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -17203,7 +17246,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -17267,7 +17310,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -17331,7 +17374,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -17395,7 +17438,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -17459,7 +17502,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -17523,7 +17566,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -17574,7 +17617,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17625,7 +17668,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17676,7 +17719,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17730,7 +17773,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17784,7 +17827,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17838,7 +17881,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17892,7 +17935,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17946,7 +17989,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -18000,7 +18043,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -18054,7 +18097,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -18108,7 +18151,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -18196,7 +18239,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -18342,7 +18385,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -18500,7 +18543,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18609,7 +18652,8 @@ "badge": { "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -18677,7 +18721,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18805,6 +18849,7 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS platforms.", "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -18874,7 +18919,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -19055,7 +19100,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -19242,7 +19287,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -19296,7 +19341,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -19359,7 +19404,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -19446,7 +19491,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -19533,7 +19578,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -19621,7 +19666,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19800,7 +19845,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19981,7 +20026,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -20133,7 +20178,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -20286,7 +20331,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -20351,7 +20396,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20361,7 +20407,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20404,7 +20451,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -20482,7 +20529,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20525,7 +20573,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -20622,7 +20670,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20722,7 +20770,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20776,7 +20824,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20786,7 +20835,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20829,7 +20879,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20896,7 +20946,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20939,7 +20990,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20993,7 +21044,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21003,7 +21055,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21046,7 +21099,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -21113,7 +21166,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21156,7 +21210,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -21291,7 +21345,8 @@ "port": { "type": "integer", "description": "The default SMTP server port.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -21333,7 +21388,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21343,7 +21399,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21387,7 +21444,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21526,6 +21583,7 @@ "type": "integer", "description": "SMTP port.", "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -21569,7 +21627,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21618,7 +21677,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21662,7 +21721,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -21715,7 +21775,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21815,7 +21875,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21859,7 +21919,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -21912,7 +21973,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -22012,7 +22073,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -22056,7 +22117,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -22109,7 +22171,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -22209,7 +22271,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -22253,7 +22315,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -22306,7 +22369,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -22406,7 +22469,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -22460,7 +22523,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -22523,7 +22586,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22610,7 +22673,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22697,7 +22760,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22783,7 +22846,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22867,7 +22930,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22928,7 +22991,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -23008,7 +23071,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -23071,7 +23134,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -23158,7 +23221,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -23254,7 +23317,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -23345,7 +23408,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -23409,7 +23472,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23485,7 +23548,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 232, + "weight": 221, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -23571,7 +23634,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 226, + "weight": 215, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23631,7 +23694,8 @@ "endpoint": { "type": "string", "description": "Source Appwrite endpoint", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "projectId": { "type": "string", @@ -23680,7 +23744,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 234, + "weight": 223, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23794,7 +23858,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 231, + "weight": 220, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23909,7 +23973,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 230, + "weight": 219, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23994,7 +24058,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 227, + "weight": 216, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -24085,7 +24149,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 235, + "weight": 224, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -24172,7 +24236,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 229, + "weight": 218, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -24257,7 +24321,8 @@ "port": { "type": "integer", "description": "Source's Database Port", - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24299,7 +24364,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 237, + "weight": 226, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -24448,7 +24513,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 228, + "weight": 217, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -24503,7 +24568,8 @@ "endpoint": { "type": "string", "description": "Source's Supabase Endpoint", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "apiKey": { "type": "string", @@ -24528,7 +24594,8 @@ "port": { "type": "integer", "description": "Source's Database Port", - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24569,7 +24636,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 236, + "weight": 225, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -24709,7 +24776,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 233, + "weight": 222, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24768,7 +24835,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 238, + "weight": 227, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24820,7 +24887,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 239, + "weight": 228, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24881,7 +24948,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 138, + "weight": 127, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24970,7 +25037,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 140, + "weight": 129, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -25017,7 +25084,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 139, + "weight": 128, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -25096,7 +25163,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 141, + "weight": 130, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -25155,7 +25222,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 142, + "weight": 131, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -25238,7 +25305,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 143, + "weight": 132, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -25324,7 +25391,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels, search", "required": false, "schema": { "type": "array", @@ -25382,7 +25449,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 92, + "weight": 81, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -25449,7 +25516,8 @@ "url": { "type": "string", "description": "Project URL.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25517,7 +25585,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 93, + "weight": 82, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -25576,7 +25644,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 94, + "weight": 83, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -25635,7 +25703,8 @@ "url": { "type": "string", "description": "Project URL.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25692,7 +25761,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 111, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25753,7 +25822,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 98, + "weight": 87, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25910,7 +25979,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 99, + "weight": 88, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -26050,7 +26119,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 104, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -26094,7 +26163,8 @@ "duration": { "type": "integer", "description": "Project session length in seconds. Max length: 31536000 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26130,7 +26200,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 103, + "weight": 92, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -26174,7 +26244,8 @@ "limit": { "type": "integer", "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26210,7 +26281,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 109, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -26254,7 +26325,8 @@ "limit": { "type": "integer", "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", - "x-example": 1 + "x-example": 1, + "format": "int32" } }, "required": [ @@ -26290,7 +26362,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 102, + "weight": 91, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -26382,7 +26454,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 110, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -26465,7 +26537,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 107, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -26545,7 +26617,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 106, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -26589,7 +26661,8 @@ "limit": { "type": "integer", "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26625,7 +26698,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 108, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -26705,7 +26778,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 101, + "weight": 90, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26785,7 +26858,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 137, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26865,7 +26938,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 105, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -27346,7 +27419,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 123, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -27457,7 +27530,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -27493,7 +27567,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 119, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -27563,7 +27637,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 118, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -27718,7 +27792,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 120, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -27787,7 +27861,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 121, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -27943,7 +28017,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 122, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -27990,6 +28064,88 @@ ] } }, + "\/projects\/{projectId}\/labels": { + "put": { + "summary": "Update project labels", + "operationId": "projectsUpdateLabels", + "tags": [ + "projects" + ], + "description": "Update the project labels by its unique ID. Labels can be used to easily filter projects in an organization.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "deprecated": false, + "x-appwrite": { + "method": "updateLabels", + "group": "projects", + "weight": 435, + "cookies": false, + "type": "", + "demo": "projects\/update-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "public": true, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + } + } + } + }, "\/projects\/{projectId}\/oauth2": { "patch": { "summary": "Update project OAuth2", @@ -28014,7 +28170,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 100, + "weight": 89, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -28157,7 +28313,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 125, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -28227,7 +28383,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 124, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -28347,7 +28503,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 126, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -28416,7 +28572,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 127, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -28512,7 +28668,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 128, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -28583,7 +28739,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 96, + "weight": 85, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -28686,7 +28842,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 97, + "weight": 86, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -28766,7 +28922,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 129, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -28896,12 +29052,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -28911,7 +29069,8 @@ "port": { "type": "integer", "description": "SMTP server port", - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -28961,7 +29120,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 130, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -29098,12 +29257,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29113,7 +29274,8 @@ "port": { "type": "integer", "description": "SMTP server port", - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29173,7 +29335,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 95, + "weight": 84, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -29253,7 +29415,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 132, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -29478,7 +29640,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 134, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -29703,12 +29865,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -29743,7 +29907,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 136, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -29970,7 +30134,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 131, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -30256,7 +30420,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 133, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -30565,7 +30729,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 135, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -30853,7 +31017,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 113, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -30923,7 +31087,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 112, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -31039,7 +31203,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 114, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -31108,7 +31272,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 115, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -31225,7 +31389,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 117, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -31296,7 +31460,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 116, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -31367,7 +31531,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -31452,7 +31616,7 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", @@ -31519,7 +31683,7 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", @@ -31597,7 +31761,7 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", @@ -31633,7 +31797,8 @@ "url": { "type": "string", "description": "Target URL of redirection", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "statusCode": { "type": "string", @@ -31710,7 +31875,7 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", @@ -31788,7 +31953,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -31839,7 +32004,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -31899,7 +32064,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31959,7 +32124,7 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 467, + "weight": 468, "cookies": false, "type": "", "demo": "sites\/list.md", @@ -32044,7 +32209,7 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "sites\/create.md", @@ -32121,7 +32286,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -32297,7 +32463,7 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", @@ -32347,7 +32513,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", @@ -32397,7 +32563,7 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 489, + "weight": 490, "cookies": false, "type": "", "demo": "sites\/list-templates.md", @@ -32526,7 +32692,7 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/get-template.md", @@ -32586,7 +32752,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/list-usage.md", @@ -32658,7 +32824,7 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "sites\/get.md", @@ -32718,7 +32884,7 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "sites\/update.md", @@ -32802,7 +32968,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -32967,7 +33134,7 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "sites\/delete.md", @@ -33029,7 +33196,7 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", @@ -33110,7 +33277,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", @@ -33205,7 +33372,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 471, + "weight": 472, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", @@ -33268,7 +33435,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -33310,7 +33478,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", @@ -33391,7 +33559,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", @@ -33508,7 +33676,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", @@ -33607,7 +33775,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", @@ -33670,7 +33838,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", @@ -33735,7 +33903,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 478, + "weight": 479, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", @@ -33826,7 +33994,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", @@ -33898,7 +34066,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "sites\/list-logs.md", @@ -33984,7 +34152,7 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "sites\/get-log.md", @@ -34047,7 +34215,7 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/delete-log.md", @@ -34119,7 +34287,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-usage.md", @@ -34201,7 +34369,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/list-variables.md", @@ -34261,7 +34429,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/create-variable.md", @@ -34353,7 +34521,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/get-variable.md", @@ -34423,7 +34591,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/update-variable.md", @@ -34517,7 +34685,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", @@ -34589,7 +34757,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -34675,7 +34843,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -34738,7 +34906,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -34750,7 +34919,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "x-example": "none", "enum": [ "none", @@ -34810,7 +34979,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -34871,7 +35040,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -34941,7 +35110,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -34953,7 +35123,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "x-example": "none", "enum": [ "none", @@ -35003,7 +35173,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -35066,7 +35236,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -35165,7 +35335,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -35220,7 +35390,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -35266,7 +35437,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -35340,7 +35511,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -35432,7 +35603,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -35501,7 +35672,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -35581,7 +35752,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -35811,7 +35982,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -35898,7 +36069,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 532, + "weight": 533, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -35971,7 +36142,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 533, + "weight": 534, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -36331,7 +36502,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -38078,6 +38250,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -38194,6 +38367,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -38554,18 +38728,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -38682,18 +38859,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -38807,18 +38987,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -38935,18 +39118,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -40132,7 +40318,8 @@ "size": { "type": "integer", "description": "Column size for text columns, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -40271,6 +40458,7 @@ "type": "integer", "description": "Maximum size of the string column.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -40384,6 +40572,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -40500,6 +40689,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -42621,12 +42811,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42747,12 +42939,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -43000,7 +43194,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -43089,7 +43283,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -43176,7 +43370,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -43240,7 +43434,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -43316,7 +43510,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -43382,7 +43576,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 157, + "weight": 146, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -43467,7 +43661,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -43566,7 +43760,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -43615,7 +43809,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -43625,7 +43820,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -43645,7 +43841,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -43686,7 +43883,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -43760,7 +43957,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -43856,7 +44053,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -43932,7 +44129,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -44031,7 +44228,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -44093,7 +44290,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -44176,7 +44373,7 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "tokens\/list.md", @@ -44270,7 +44467,7 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", @@ -44359,7 +44556,7 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "tokens\/get.md", @@ -44419,7 +44616,7 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "tokens\/update.md", @@ -44489,7 +44686,7 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "tokens\/delete.md", @@ -44551,7 +44748,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -44637,7 +44834,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -44677,12 +44874,14 @@ "type": "string", "description": "User email.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -44729,7 +44928,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -44768,12 +44967,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44816,7 +45017,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -44855,12 +45056,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44903,7 +45106,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -44984,7 +45187,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -45047,7 +45250,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -45086,12 +45289,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45134,7 +45339,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -45173,12 +45378,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45221,7 +45428,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -45260,12 +45467,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45275,22 +45484,26 @@ "passwordCpu": { "type": "integer", "description": "Optional CPU cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -45338,7 +45551,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -45377,12 +45590,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45443,7 +45658,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -45482,12 +45697,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -45550,7 +45767,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 200, + "weight": 189, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -45623,7 +45840,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -45677,7 +45894,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -45740,7 +45957,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -45786,7 +46003,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -45822,7 +46040,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -45873,7 +46091,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -45906,7 +46125,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -45991,7 +46210,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -46078,7 +46297,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -46176,7 +46395,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -46311,7 +46530,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -46447,7 +46666,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -46566,7 +46785,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -46683,7 +46902,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -46800,7 +47019,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -46919,7 +47138,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -47001,7 +47220,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -47083,7 +47302,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -47129,7 +47348,8 @@ "number": { "type": "string", "description": "User phone number.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -47165,7 +47385,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -47226,7 +47446,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -47308,7 +47528,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -47380,7 +47600,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -47434,7 +47654,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -47490,7 +47710,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -47563,7 +47783,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -47645,7 +47865,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -47730,7 +47950,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -47841,7 +48061,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -47912,7 +48132,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -48002,7 +48222,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -48075,7 +48295,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -48121,12 +48341,14 @@ "length": { "type": "integer", "description": "Token length in characters. The default length is 6 characters", - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -48159,7 +48381,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -48241,7 +48463,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -48323,7 +48545,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 204, + "weight": 193, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -48420,7 +48642,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 205, + "weight": 194, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -48519,7 +48741,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 206, + "weight": 195, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -48605,7 +48827,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 207, + "weight": 196, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -48676,7 +48898,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 208, + "weight": 197, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -48747,7 +48969,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 203, + "weight": 192, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -48833,7 +49055,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 213, + "weight": 202, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -48923,7 +49145,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 210, + "weight": 199, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -49009,7 +49231,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 211, + "weight": 200, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -49061,7 +49283,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 212, + "weight": 201, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -51029,14 +51251,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -52478,14 +52700,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -55069,7 +55291,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "description": "Compression algorithm chosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", "x-example": "gzip" }, "encryption": { @@ -55086,6 +55308,12 @@ "type": "boolean", "description": "Image transformations are enabled.", "x-example": false + }, + "totalSize": { + "type": "integer", + "description": "Total size of this bucket in bytes.", + "x-example": 128, + "format": "int32" } }, "required": [ @@ -55101,7 +55329,8 @@ "compression", "encryption", "antivirus", - "transformations" + "transformations", + "totalSize" ], "example": { "$id": "5e5ea5c16897e", @@ -55121,7 +55350,8 @@ "compression": "gzip", "encryption": false, "antivirus": false, - "transformations": false + "transformations": false, + "totalSize": 128 } }, "resourceToken": { @@ -57488,6 +57718,16 @@ "description": "Last ping datetime in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, + "labels": { + "type": "array", + "description": "Labels for the project.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, "authEmailPassword": { "type": "boolean", "description": "Email\/Password auth method status", @@ -57632,6 +57872,7 @@ "smtpSecure", "pingCount", "pingedAt", + "labels", "authEmailPassword", "authUsersAuthMagicURL", "authEmailOtp", @@ -57700,6 +57941,9 @@ "smtpSecure": "tls", "pingCount": 1, "pingedAt": "2020-10-15T06:38:00.000+00:00", + "labels": [ + "vip" + ], "authEmailPassword": true, "authUsersAuthMagicURL": true, "authEmailOtp": true, @@ -59653,160 +59897,6 @@ "description": "Time range of the usage stats.", "x-example": "30d" }, - "deploymentsTotal": { - "type": "integer", - "description": "Total aggregated number of functions deployments.", - "x-example": 0, - "format": "int32" - }, - "deploymentsStorageTotal": { - "type": "integer", - "description": "Total aggregated sum of functions deployment storage.", - "x-example": 0, - "format": "int32" - }, - "buildsTotal": { - "type": "integer", - "description": "Total aggregated number of functions build.", - "x-example": 0, - "format": "int32" - }, - "buildsStorageTotal": { - "type": "integer", - "description": "total aggregated sum of functions build storage.", - "x-example": 0, - "format": "int32" - }, - "buildsTimeTotal": { - "type": "integer", - "description": "Total aggregated sum of functions build compute time.", - "x-example": 0, - "format": "int32" - }, - "buildsMbSecondsTotal": { - "type": "integer", - "description": "Total aggregated sum of functions build mbSeconds.", - "x-example": 0, - "format": "int32" - }, - "executionsTotal": { - "type": "integer", - "description": "Total aggregated number of functions execution.", - "x-example": 0, - "format": "int32" - }, - "executionsTimeTotal": { - "type": "integer", - "description": "Total aggregated sum of functions execution compute time.", - "x-example": 0, - "format": "int32" - }, - "executionsMbSecondsTotal": { - "type": "integer", - "description": "Total aggregated sum of functions execution mbSeconds.", - "x-example": 0, - "format": "int32" - }, - "deployments": { - "type": "array", - "description": "Aggregated number of functions deployment per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "deploymentsStorage": { - "type": "array", - "description": "Aggregated number of functions deployment storage per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsSuccessTotal": { - "type": "integer", - "description": "Total aggregated number of successful function builds.", - "x-example": 0, - "format": "int32" - }, - "buildsFailedTotal": { - "type": "integer", - "description": "Total aggregated number of failed function builds.", - "x-example": 0, - "format": "int32" - }, - "builds": { - "type": "array", - "description": "Aggregated number of functions build per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsStorage": { - "type": "array", - "description": "Aggregated sum of functions build storage per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsTime": { - "type": "array", - "description": "Aggregated sum of functions build compute time per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsMbSeconds": { - "type": "array", - "description": "Aggregated sum of functions build mbSeconds per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "executions": { - "type": "array", - "description": "Aggregated number of functions execution per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "executionsTime": { - "type": "array", - "description": "Aggregated number of functions execution compute time per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "executionsMbSeconds": { - "type": "array", - "description": "Aggregated number of functions mbSeconds per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsSuccess": { - "type": "array", - "description": "Aggregated number of successful function builds per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, - "buildsFailed": { - "type": "array", - "description": "Aggregated number of failed function builds per period.", - "items": { - "$ref": "#\/components\/schemas\/metric" - }, - "x-example": [] - }, "sitesTotal": { "type": "integer", "description": "Total aggregated number of sites.", @@ -59821,6 +59911,60 @@ }, "x-example": [] }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of sites deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of sites deployment storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of sites build.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of sites build storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of sites build compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of sites build mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of sites execution.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of sites execution compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of sites execution mbSeconds.", + "x-example": 0, + "format": "int32" + }, "requestsTotal": { "type": "integer", "description": "Total aggregated number of requests.", @@ -59862,10 +60006,112 @@ "$ref": "#\/components\/schemas\/metric" }, "x-example": [] + }, + "deployments": { + "type": "array", + "description": "Aggregated number of sites deployment per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of sites deployment storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsSuccessTotal": { + "type": "integer", + "description": "Total aggregated number of successful site builds.", + "x-example": 0, + "format": "int32" + }, + "buildsFailedTotal": { + "type": "integer", + "description": "Total aggregated number of failed site builds.", + "x-example": 0, + "format": "int32" + }, + "builds": { + "type": "array", + "description": "Aggregated number of sites build per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of sites build storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of sites build compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated sum of sites build mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of sites execution per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of sites execution compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of sites mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsSuccess": { + "type": "array", + "description": "Aggregated number of successful site builds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsFailed": { + "type": "array", + "description": "Aggregated number of failed site builds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] } }, "required": [ "range", + "sitesTotal", + "sites", "deploymentsTotal", "deploymentsStorageTotal", "buildsTotal", @@ -59875,6 +60121,12 @@ "executionsTotal", "executionsTimeTotal", "executionsMbSecondsTotal", + "requestsTotal", + "requests", + "inboundTotal", + "inbound", + "outboundTotal", + "outbound", "deployments", "deploymentsStorage", "buildsSuccessTotal", @@ -59887,18 +60139,12 @@ "executionsTime", "executionsMbSeconds", "buildsSuccess", - "buildsFailed", - "sitesTotal", - "sites", - "requestsTotal", - "requests", - "inboundTotal", - "inbound", - "outboundTotal", - "outbound" + "buildsFailed" ], "example": { "range": "30d", + "sitesTotal": 0, + "sites": [], "deploymentsTotal": 0, "deploymentsStorageTotal": 0, "buildsTotal": 0, @@ -59908,6 +60154,12 @@ "executionsTotal": 0, "executionsTimeTotal": 0, "executionsMbSecondsTotal": 0, + "requestsTotal": 0, + "requests": [], + "inboundTotal": 0, + "inbound": [], + "outboundTotal": 0, + "outbound": [], "deployments": [], "deploymentsStorage": [], "buildsSuccessTotal": 0, @@ -59920,15 +60172,7 @@ "executionsTime": [], "executionsMbSeconds": [], "buildsSuccess": [], - "buildsFailed": [], - "sitesTotal": 0, - "sites": [], - "requestsTotal": 0, - "requests": [], - "inboundTotal": 0, - "inbound": [], - "outboundTotal": 0, - "outbound": [] + "buildsFailed": [] } }, "usageSite": { 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 2a0081b378..e82f3e5b78 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -142,7 +142,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -227,12 +228,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -445,7 +448,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -558,7 +562,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -631,7 +635,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -758,7 +762,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -901,7 +905,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1028,7 +1032,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1165,7 +1169,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1306,7 +1310,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1410,7 +1414,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1512,7 +1516,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1614,7 +1618,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1833,7 +1837,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1906,12 +1911,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2113,12 +2120,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2428,12 +2437,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3001,7 +3012,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3088,12 +3100,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3321,7 +3335,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3449,7 +3464,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -3747,7 +3763,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3877,7 +3893,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4013,7 +4029,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4075,7 +4091,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4567,7 +4583,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4653,7 +4669,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4749,7 +4765,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4845,7 +4861,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5948,7 +5964,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7721,6 +7738,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -7839,6 +7857,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8205,18 +8224,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8335,18 +8357,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8462,18 +8487,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -8592,18 +8620,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -9809,7 +9840,8 @@ "size": { "type": "integer", "description": "Attribute size for text attributes, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -9950,6 +9982,7 @@ "type": "integer", "description": "Maximum size of the string attribute.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10065,6 +10098,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10183,6 +10217,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -11774,12 +11809,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -11903,12 +11940,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12355,7 +12394,7 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "functions\/list.md", @@ -12441,7 +12480,7 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "functions\/create.md", @@ -12582,7 +12621,8 @@ "timeout": { "type": "integer", "description": "Function maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -12737,7 +12777,7 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", @@ -12788,7 +12828,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", @@ -12839,7 +12879,7 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "functions\/get.md", @@ -12900,7 +12940,7 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "functions\/update.md", @@ -13048,7 +13088,8 @@ "timeout": { "type": "integer", "description": "Maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13193,7 +13234,7 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "functions\/delete.md", @@ -13256,7 +13297,7 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", @@ -13338,7 +13379,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", @@ -13434,7 +13475,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 442, + "weight": 443, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", @@ -13492,7 +13533,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -13534,7 +13576,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", @@ -13621,7 +13663,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", @@ -13739,7 +13781,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", @@ -13838,7 +13880,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", @@ -13902,7 +13944,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", @@ -13968,7 +14010,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 449, + "weight": 450, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", @@ -14060,7 +14102,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", @@ -14133,7 +14175,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -14222,7 +14264,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -14342,7 +14384,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -14410,7 +14452,7 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", @@ -14483,7 +14525,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 460, + "weight": 461, "cookies": false, "type": "", "demo": "functions\/list-variables.md", @@ -14544,7 +14586,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/create-variable.md", @@ -14637,7 +14679,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/get-variable.md", @@ -14708,7 +14750,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/update-variable.md", @@ -14803,7 +14845,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", @@ -14876,7 +14918,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14932,7 +14974,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14988,7 +15030,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15040,7 +15082,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15092,7 +15134,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15144,7 +15186,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15207,7 +15249,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15259,7 +15301,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -15311,7 +15353,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -15376,7 +15418,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -15441,7 +15483,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15517,7 +15559,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15582,7 +15624,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15627,6 +15669,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -15673,7 +15716,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15738,7 +15781,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15803,7 +15846,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15868,7 +15911,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15933,7 +15976,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15998,7 +16041,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16063,7 +16106,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16128,7 +16171,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16193,7 +16236,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16245,7 +16288,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16297,7 +16340,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16349,7 +16392,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -16405,7 +16448,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -16461,7 +16504,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -16517,7 +16560,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16573,7 +16616,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16629,7 +16672,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16685,7 +16728,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16741,7 +16784,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16797,7 +16840,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16886,7 +16929,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17033,7 +17076,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17192,7 +17235,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -17302,7 +17345,8 @@ "badge": { "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -17370,7 +17414,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17499,6 +17543,7 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS platforms.", "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -17568,7 +17613,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17752,7 +17797,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17942,7 +17987,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17997,7 +18042,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18061,7 +18106,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18149,7 +18194,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18237,7 +18282,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18326,7 +18371,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -18508,7 +18553,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18692,7 +18737,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18847,7 +18892,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19003,7 +19048,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19069,7 +19114,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19079,7 +19125,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19122,7 +19169,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19201,7 +19248,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19244,7 +19292,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19342,7 +19390,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -19443,7 +19491,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19498,7 +19546,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19508,7 +19557,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19551,7 +19601,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19619,7 +19669,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19662,7 +19713,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19717,7 +19768,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19727,7 +19779,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19770,7 +19823,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19838,7 +19891,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19881,7 +19935,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20019,7 +20073,8 @@ "port": { "type": "integer", "description": "The default SMTP server port.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -20061,7 +20116,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20071,7 +20127,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20115,7 +20172,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20257,6 +20314,7 @@ "type": "integer", "description": "SMTP port.", "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -20300,7 +20358,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20349,7 +20408,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -20394,7 +20453,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -20447,7 +20507,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20548,7 +20608,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20593,7 +20653,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -20646,7 +20707,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20747,7 +20808,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20792,7 +20853,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -20845,7 +20907,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20946,7 +21008,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20991,7 +21053,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -21044,7 +21107,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21145,7 +21208,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21200,7 +21263,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21264,7 +21327,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21352,7 +21415,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -21440,7 +21503,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21527,7 +21590,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21612,7 +21675,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21674,7 +21737,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21755,7 +21818,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21819,7 +21882,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21907,7 +21970,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22004,7 +22067,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22097,7 +22160,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22162,7 +22225,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22240,7 +22303,7 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 467, + "weight": 468, "cookies": false, "type": "", "demo": "sites\/list.md", @@ -22326,7 +22389,7 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "sites\/create.md", @@ -22404,7 +22467,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -22580,7 +22644,7 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", @@ -22631,7 +22695,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", @@ -22682,7 +22746,7 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "sites\/get.md", @@ -22743,7 +22807,7 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "sites\/update.md", @@ -22828,7 +22892,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -22993,7 +23058,7 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "sites\/delete.md", @@ -23056,7 +23121,7 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", @@ -23138,7 +23203,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", @@ -23234,7 +23299,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 471, + "weight": 472, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", @@ -23298,7 +23363,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -23340,7 +23406,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", @@ -23422,7 +23488,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", @@ -23540,7 +23606,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", @@ -23640,7 +23706,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", @@ -23704,7 +23770,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", @@ -23770,7 +23836,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 478, + "weight": 479, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", @@ -23862,7 +23928,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", @@ -23935,7 +24001,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "sites\/list-logs.md", @@ -24022,7 +24088,7 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "sites\/get-log.md", @@ -24086,7 +24152,7 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/delete-log.md", @@ -24159,7 +24225,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/list-variables.md", @@ -24220,7 +24286,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/create-variable.md", @@ -24313,7 +24379,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/get-variable.md", @@ -24384,7 +24450,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/update-variable.md", @@ -24479,7 +24545,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", @@ -24552,7 +24618,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -24639,7 +24705,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24703,7 +24769,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -24715,7 +24782,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "x-example": "none", "enum": [ "none", @@ -24775,7 +24842,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24837,7 +24904,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -24908,7 +24975,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -24920,7 +24988,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "x-example": "none", "enum": [ "none", @@ -24970,7 +25038,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -25034,7 +25102,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -25135,7 +25203,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -25192,7 +25260,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -25238,7 +25307,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -25314,7 +25383,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -25408,7 +25477,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -25479,7 +25548,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -25561,7 +25630,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25793,7 +25862,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -26165,7 +26234,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -27835,6 +27905,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -27952,6 +28023,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -28315,18 +28387,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -28444,18 +28519,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -28570,18 +28648,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -28699,18 +28780,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -29906,7 +29990,8 @@ "size": { "type": "integer", "description": "Column size for text columns, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -30046,6 +30131,7 @@ "type": "integer", "description": "Maximum size of the string column.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -30160,6 +30246,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -30277,6 +30364,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -32242,12 +32330,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32370,12 +32460,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32415,7 +32507,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -32506,7 +32598,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -32595,7 +32687,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -32661,7 +32753,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -32739,7 +32831,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -32807,7 +32899,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32908,7 +33000,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32959,7 +33051,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -32969,7 +33062,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -32989,7 +33083,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -33030,7 +33125,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -33106,7 +33201,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -33204,7 +33299,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -33282,7 +33377,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -33383,7 +33478,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -33447,7 +33542,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33532,7 +33627,7 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "tokens\/list.md", @@ -33627,7 +33722,7 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", @@ -33717,7 +33812,7 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "tokens\/get.md", @@ -33778,7 +33873,7 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "tokens\/update.md", @@ -33849,7 +33944,7 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "tokens\/delete.md", @@ -33912,7 +34007,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33999,7 +34094,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -34040,12 +34135,14 @@ "type": "string", "description": "User email.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -34092,7 +34189,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -34132,12 +34229,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34180,7 +34279,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -34220,12 +34319,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34268,7 +34369,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -34350,7 +34451,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -34414,7 +34515,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -34454,12 +34555,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34502,7 +34605,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -34542,12 +34645,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34590,7 +34695,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -34630,12 +34735,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34645,22 +34752,26 @@ "passwordCpu": { "type": "integer", "description": "Optional CPU cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -34708,7 +34819,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -34748,12 +34859,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34814,7 +34927,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34854,12 +34967,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -34922,7 +35037,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34977,7 +35092,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -35041,7 +35156,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -35088,7 +35203,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -35124,7 +35240,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -35176,7 +35292,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -35209,7 +35326,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -35295,7 +35412,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -35383,7 +35500,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -35482,7 +35599,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -35620,7 +35737,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -35759,7 +35876,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -35881,7 +35998,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -36001,7 +36118,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -36121,7 +36238,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -36243,7 +36360,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -36326,7 +36443,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -36409,7 +36526,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -36456,7 +36573,8 @@ "number": { "type": "string", "description": "User phone number.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -36492,7 +36610,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -36554,7 +36672,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -36637,7 +36755,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -36710,7 +36828,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -36765,7 +36883,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -36822,7 +36940,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -36896,7 +37014,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36979,7 +37097,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -37065,7 +37183,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -37177,7 +37295,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -37249,7 +37367,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -37340,7 +37458,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -37414,7 +37532,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -37461,12 +37579,14 @@ "length": { "type": "integer", "description": "Token length in characters. The default length is 6 characters", - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -37499,7 +37619,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -37582,7 +37702,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -39180,14 +39300,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -40629,14 +40749,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -43220,7 +43340,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "description": "Compression algorithm chosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", "x-example": "gzip" }, "encryption": { @@ -43237,6 +43357,12 @@ "type": "boolean", "description": "Image transformations are enabled.", "x-example": false + }, + "totalSize": { + "type": "integer", + "description": "Total size of this bucket in bytes.", + "x-example": 128, + "format": "int32" } }, "required": [ @@ -43252,7 +43378,8 @@ "compression", "encryption", "antivirus", - "transformations" + "transformations", + "totalSize" ], "example": { "$id": "5e5ea5c16897e", @@ -43272,7 +43399,8 @@ "compression": "gzip", "encryption": false, "antivirus": false, - "transformations": false + "transformations": false, + "totalSize": 128 } }, "resourceToken": { diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index fd35c3b73c..4bb90a535f 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -140,7 +140,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -224,12 +225,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -439,7 +442,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -551,7 +555,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -623,7 +627,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -747,7 +751,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -887,7 +891,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1011,7 +1015,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1145,7 +1149,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1283,7 +1287,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1384,7 +1388,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1483,7 +1487,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1582,7 +1586,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1796,7 +1800,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1868,12 +1873,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2072,12 +2079,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2382,12 +2391,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3304,7 +3315,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3390,12 +3402,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3621,7 +3635,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3746,7 +3761,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4039,7 +4055,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4167,7 +4183,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4301,7 +4317,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4361,7 +4377,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4851,7 +4867,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4935,7 +4951,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5029,7 +5045,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5123,7 +5139,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5980,7 +5996,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7146,12 +7163,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7273,12 +7292,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7598,7 +7619,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7652,7 +7673,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7706,7 +7727,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7760,7 +7781,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7814,7 +7835,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7868,7 +7889,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -7922,7 +7943,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -7976,7 +7997,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -8030,7 +8051,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -8084,7 +8105,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -8138,7 +8159,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8222,7 +8243,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8452,7 +8473,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -9240,7 +9262,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -10403,12 +10426,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10529,12 +10554,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10574,7 +10601,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10663,7 +10690,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10750,7 +10777,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10814,7 +10841,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10890,7 +10917,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10956,7 +10983,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -11055,7 +11082,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -11104,7 +11131,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -11114,7 +11142,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -11134,7 +11163,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -11175,7 +11205,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -11249,7 +11279,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11345,7 +11375,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11421,7 +11451,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11521,7 +11551,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11584,7 +11614,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 952f83af6d..22f247843f 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -138,7 +138,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -261,12 +262,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -473,7 +476,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -584,7 +588,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -655,7 +659,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -778,7 +782,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -917,7 +921,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1040,7 +1044,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1173,7 +1177,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1310,7 +1314,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1410,7 +1414,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1508,7 +1512,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1606,7 +1610,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1817,7 +1821,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1888,12 +1893,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2089,12 +2096,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2394,12 +2403,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3304,7 +3315,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3389,12 +3401,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3618,7 +3632,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3742,7 +3757,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4032,7 +4048,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4160,7 +4176,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4294,7 +4310,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4354,7 +4370,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4844,7 +4860,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4928,7 +4944,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5022,7 +5038,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5116,7 +5132,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6387,7 +6403,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -8239,6 +8256,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -8356,6 +8374,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8719,18 +8738,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8848,18 +8870,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8974,18 +8999,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -9103,18 +9131,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -10310,7 +10341,8 @@ "size": { "type": "integer", "description": "Attribute size for text attributes, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -10450,6 +10482,7 @@ "type": "integer", "description": "Maximum size of the string attribute.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10564,6 +10597,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10681,6 +10715,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -12346,12 +12381,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12473,12 +12510,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -13556,7 +13595,8 @@ "timeout": { "type": "integer", "description": "Function maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14342,7 +14382,8 @@ "timeout": { "type": "integer", "description": "Maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14782,7 +14823,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -16229,7 +16271,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -16283,7 +16325,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -16337,7 +16379,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -16388,7 +16430,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -16439,7 +16481,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -16490,7 +16532,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -16552,7 +16594,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16603,7 +16645,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16654,7 +16696,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16718,7 +16760,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16782,7 +16824,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16857,7 +16899,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16921,7 +16963,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16965,6 +17007,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -17011,7 +17054,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -17075,7 +17118,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -17139,7 +17182,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -17203,7 +17246,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -17267,7 +17310,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -17331,7 +17374,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -17395,7 +17438,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -17459,7 +17502,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -17523,7 +17566,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -17574,7 +17617,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17625,7 +17668,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17676,7 +17719,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17730,7 +17773,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17784,7 +17827,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17838,7 +17881,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17892,7 +17935,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17946,7 +17989,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -18000,7 +18043,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -18054,7 +18097,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -18108,7 +18151,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -18196,7 +18239,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -18342,7 +18385,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -18500,7 +18543,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18609,7 +18652,8 @@ "badge": { "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -18677,7 +18721,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18805,6 +18849,7 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS platforms.", "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -18874,7 +18919,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -19055,7 +19100,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -19242,7 +19287,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -19296,7 +19341,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -19359,7 +19404,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -19446,7 +19491,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -19533,7 +19578,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -19621,7 +19666,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19800,7 +19845,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19981,7 +20026,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -20133,7 +20178,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -20286,7 +20331,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -20351,7 +20396,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20361,7 +20407,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20404,7 +20451,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -20482,7 +20529,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20525,7 +20573,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -20622,7 +20670,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20722,7 +20770,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20776,7 +20824,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20786,7 +20835,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20829,7 +20879,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20896,7 +20946,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20939,7 +20990,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -20993,7 +21044,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21003,7 +21055,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21046,7 +21099,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -21113,7 +21166,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21156,7 +21210,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -21291,7 +21345,8 @@ "port": { "type": "integer", "description": "The default SMTP server port.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -21333,7 +21388,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21343,7 +21399,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21387,7 +21444,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21526,6 +21583,7 @@ "type": "integer", "description": "SMTP port.", "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -21569,7 +21627,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21618,7 +21677,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21662,7 +21721,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -21715,7 +21775,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21815,7 +21875,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21859,7 +21919,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -21912,7 +21973,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -22012,7 +22073,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -22056,7 +22117,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -22109,7 +22171,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -22209,7 +22271,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -22253,7 +22315,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -22306,7 +22369,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -22406,7 +22469,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -22460,7 +22523,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -22523,7 +22586,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22610,7 +22673,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22697,7 +22760,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22783,7 +22846,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22867,7 +22930,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -22928,7 +22991,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -23008,7 +23071,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -23071,7 +23134,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -23158,7 +23221,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -23254,7 +23317,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -23345,7 +23408,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -23409,7 +23472,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23485,7 +23548,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 232, + "weight": 221, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -23571,7 +23634,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 226, + "weight": 215, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23631,7 +23694,8 @@ "endpoint": { "type": "string", "description": "Source Appwrite endpoint", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "projectId": { "type": "string", @@ -23680,7 +23744,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 234, + "weight": 223, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23794,7 +23858,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 231, + "weight": 220, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -23909,7 +23973,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 230, + "weight": 219, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -23994,7 +24058,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 227, + "weight": 216, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -24085,7 +24149,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 235, + "weight": 224, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -24172,7 +24236,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 229, + "weight": 218, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -24257,7 +24321,8 @@ "port": { "type": "integer", "description": "Source's Database Port", - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24299,7 +24364,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 237, + "weight": 226, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -24448,7 +24513,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 228, + "weight": 217, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -24503,7 +24568,8 @@ "endpoint": { "type": "string", "description": "Source's Supabase Endpoint", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "apiKey": { "type": "string", @@ -24528,7 +24594,8 @@ "port": { "type": "integer", "description": "Source's Database Port", - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24569,7 +24636,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 236, + "weight": 225, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -24709,7 +24776,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 233, + "weight": 222, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24768,7 +24835,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 238, + "weight": 227, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24820,7 +24887,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 239, + "weight": 228, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24881,7 +24948,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 138, + "weight": 127, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -24970,7 +25037,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 140, + "weight": 129, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -25017,7 +25084,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 139, + "weight": 128, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -25096,7 +25163,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 141, + "weight": 130, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -25155,7 +25222,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 142, + "weight": 131, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -25238,7 +25305,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 143, + "weight": 132, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -25324,7 +25391,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels, search", "required": false, "schema": { "type": "array", @@ -25382,7 +25449,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 92, + "weight": 81, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -25449,7 +25516,8 @@ "url": { "type": "string", "description": "Project URL.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25517,7 +25585,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 93, + "weight": 82, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -25576,7 +25644,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 94, + "weight": 83, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -25635,7 +25703,8 @@ "url": { "type": "string", "description": "Project URL.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25692,7 +25761,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 111, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25753,7 +25822,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 98, + "weight": 87, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -25910,7 +25979,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 99, + "weight": 88, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -26050,7 +26119,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 104, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -26094,7 +26163,8 @@ "duration": { "type": "integer", "description": "Project session length in seconds. Max length: 31536000 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26130,7 +26200,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 103, + "weight": 92, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -26174,7 +26244,8 @@ "limit": { "type": "integer", "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26210,7 +26281,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 109, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -26254,7 +26325,8 @@ "limit": { "type": "integer", "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", - "x-example": 1 + "x-example": 1, + "format": "int32" } }, "required": [ @@ -26290,7 +26362,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 102, + "weight": 91, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -26382,7 +26454,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 110, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -26465,7 +26537,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 107, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -26545,7 +26617,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 106, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -26589,7 +26661,8 @@ "limit": { "type": "integer", "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26625,7 +26698,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 108, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -26705,7 +26778,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 101, + "weight": 90, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26785,7 +26858,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 137, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26865,7 +26938,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 105, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -27346,7 +27419,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 123, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -27457,7 +27530,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -27493,7 +27567,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 119, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -27563,7 +27637,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 118, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -27718,7 +27792,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 120, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -27787,7 +27861,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 121, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -27943,7 +28017,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 122, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -28096,7 +28170,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 100, + "weight": 89, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -28239,7 +28313,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 125, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -28309,7 +28383,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 124, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -28429,7 +28503,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 126, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -28498,7 +28572,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 127, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -28594,7 +28668,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 128, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -28665,7 +28739,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 96, + "weight": 85, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -28768,7 +28842,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 97, + "weight": 86, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -28848,7 +28922,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 129, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -28978,12 +29052,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -28993,7 +29069,8 @@ "port": { "type": "integer", "description": "SMTP server port", - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29043,7 +29120,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 130, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -29180,12 +29257,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29195,7 +29274,8 @@ "port": { "type": "integer", "description": "SMTP server port", - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29255,7 +29335,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 95, + "weight": 84, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -29335,7 +29415,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 132, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -29560,7 +29640,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 134, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -29785,12 +29865,14 @@ "senderEmail": { "type": "string", "description": "Email of the sender", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -29825,7 +29907,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 136, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -30052,7 +30134,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 131, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -30338,7 +30420,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 133, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -30647,7 +30729,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 135, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -30935,7 +31017,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 113, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -31005,7 +31087,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 112, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -31121,7 +31203,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 114, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -31190,7 +31272,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 115, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -31307,7 +31389,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 117, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -31378,7 +31460,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 116, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -31715,7 +31797,8 @@ "url": { "type": "string", "description": "Target URL of redirection", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "statusCode": { "type": "string", @@ -32203,7 +32286,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -32884,7 +32968,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -33350,7 +33435,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -34820,7 +34906,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -35023,7 +35110,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -35302,7 +35390,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -36413,7 +36502,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -38160,6 +38250,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -38276,6 +38367,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -38636,18 +38728,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -38764,18 +38859,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -38889,18 +38987,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -39017,18 +39118,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -40214,7 +40318,8 @@ "size": { "type": "integer", "description": "Column size for text columns, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -40353,6 +40458,7 @@ "type": "integer", "description": "Maximum size of the string column.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -40466,6 +40572,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -40582,6 +40689,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -42703,12 +42811,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42829,12 +42939,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -43082,7 +43194,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -43171,7 +43283,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -43258,7 +43370,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -43322,7 +43434,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -43398,7 +43510,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -43464,7 +43576,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 157, + "weight": 146, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -43549,7 +43661,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -43648,7 +43760,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -43697,7 +43809,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -43707,7 +43820,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -43727,7 +43841,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -43768,7 +43883,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -43842,7 +43957,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -43938,7 +44053,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -44014,7 +44129,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -44113,7 +44228,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -44175,7 +44290,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -44633,7 +44748,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -44719,7 +44834,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -44759,12 +44874,14 @@ "type": "string", "description": "User email.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -44811,7 +44928,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -44850,12 +44967,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44898,7 +45017,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -44937,12 +45056,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44985,7 +45106,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -45066,7 +45187,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -45129,7 +45250,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -45168,12 +45289,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45216,7 +45339,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -45255,12 +45378,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45303,7 +45428,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -45342,12 +45467,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45357,22 +45484,26 @@ "passwordCpu": { "type": "integer", "description": "Optional CPU cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -45420,7 +45551,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -45459,12 +45590,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45525,7 +45658,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -45564,12 +45697,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -45632,7 +45767,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 200, + "weight": 189, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -45705,7 +45840,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -45759,7 +45894,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -45822,7 +45957,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -45868,7 +46003,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -45904,7 +46040,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -45955,7 +46091,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -45988,7 +46125,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -46073,7 +46210,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -46160,7 +46297,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -46258,7 +46395,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -46393,7 +46530,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -46529,7 +46666,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -46648,7 +46785,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -46765,7 +46902,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -46882,7 +47019,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -47001,7 +47138,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -47083,7 +47220,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -47165,7 +47302,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -47211,7 +47348,8 @@ "number": { "type": "string", "description": "User phone number.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -47247,7 +47385,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -47308,7 +47446,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -47390,7 +47528,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -47462,7 +47600,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -47516,7 +47654,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -47572,7 +47710,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -47645,7 +47783,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -47727,7 +47865,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -47812,7 +47950,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -47923,7 +48061,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -47994,7 +48132,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -48084,7 +48222,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -48157,7 +48295,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -48203,12 +48341,14 @@ "length": { "type": "integer", "description": "Token length in characters. The default length is 6 characters", - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -48241,7 +48381,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -48323,7 +48463,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -48405,7 +48545,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 204, + "weight": 193, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -48502,7 +48642,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 205, + "weight": 194, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -48601,7 +48741,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 206, + "weight": 195, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -48687,7 +48827,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 207, + "weight": 196, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -48758,7 +48898,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 208, + "weight": 197, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -48829,7 +48969,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 203, + "weight": 192, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -48915,7 +49055,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 213, + "weight": 202, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -49005,7 +49145,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 210, + "weight": 199, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -49091,7 +49231,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 211, + "weight": 200, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -49143,7 +49283,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 212, + "weight": 201, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -51111,14 +51251,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -52560,14 +52700,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 70e8b895ce..e82f3e5b78 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -142,7 +142,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -227,12 +228,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -445,7 +448,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -558,7 +562,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -631,7 +635,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -758,7 +762,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -901,7 +905,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1028,7 +1032,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1165,7 +1169,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1306,7 +1310,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1410,7 +1414,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1512,7 +1516,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1614,7 +1618,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1833,7 +1837,8 @@ "oldPassword": { "type": "string", "description": "Current user password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1906,12 +1911,14 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2113,12 +2120,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2428,12 +2437,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3001,7 +3012,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3088,12 +3100,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3321,7 +3335,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3449,7 +3464,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -3747,7 +3763,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -3877,7 +3893,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4013,7 +4029,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4075,7 +4091,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4567,7 +4583,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4653,7 +4669,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4749,7 +4765,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4845,7 +4861,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5948,7 +5964,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7721,6 +7738,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -7839,6 +7857,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8205,18 +8224,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8335,18 +8357,21 @@ "type": "number", "description": "Minimum value.", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value.", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8462,18 +8487,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -8592,18 +8620,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when attribute is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -9809,7 +9840,8 @@ "size": { "type": "integer", "description": "Attribute size for text attributes, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -9950,6 +9982,7 @@ "type": "integer", "description": "Maximum size of the string attribute.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10065,6 +10098,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10183,6 +10217,7 @@ "type": "string", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -11774,12 +11809,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -11903,12 +11940,14 @@ "value": { "type": "number", "description": "Value to increment the attribute by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12582,7 +12621,8 @@ "timeout": { "type": "integer", "description": "Function maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13048,7 +13088,8 @@ "timeout": { "type": "integer", "description": "Maximum execution time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13492,7 +13533,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -14876,7 +14918,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14932,7 +14974,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14988,7 +15030,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15040,7 +15082,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15092,7 +15134,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15144,7 +15186,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15207,7 +15249,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15259,7 +15301,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -15311,7 +15353,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -15376,7 +15418,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -15441,7 +15483,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15517,7 +15559,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15582,7 +15624,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15627,6 +15669,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -15673,7 +15716,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15738,7 +15781,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15803,7 +15846,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15868,7 +15911,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15933,7 +15976,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15998,7 +16041,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16063,7 +16106,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16128,7 +16171,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16193,7 +16236,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16245,7 +16288,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16297,7 +16340,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16349,7 +16392,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -16405,7 +16448,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -16461,7 +16504,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -16517,7 +16560,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16573,7 +16616,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16629,7 +16672,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16685,7 +16728,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16741,7 +16784,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16797,7 +16840,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16886,7 +16929,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17033,7 +17076,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17192,7 +17235,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -17302,7 +17345,8 @@ "badge": { "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -17370,7 +17414,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17499,6 +17543,7 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS platforms.", "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -17568,7 +17613,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17752,7 +17797,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17942,7 +17987,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17997,7 +18042,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18061,7 +18106,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18149,7 +18194,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18237,7 +18282,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18326,7 +18371,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -18508,7 +18553,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18692,7 +18737,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18847,7 +18892,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19003,7 +19048,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19069,7 +19114,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19079,7 +19125,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19122,7 +19169,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19201,7 +19248,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19244,7 +19292,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19342,7 +19390,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -19443,7 +19491,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19498,7 +19546,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19508,7 +19557,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19551,7 +19601,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19619,7 +19669,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19662,7 +19713,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19717,7 +19768,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19727,7 +19779,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19770,7 +19823,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19838,7 +19891,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19881,7 +19935,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20019,7 +20073,8 @@ "port": { "type": "integer", "description": "The default SMTP server port.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -20061,7 +20116,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20071,7 +20127,8 @@ "replyToEmail": { "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20115,7 +20172,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20257,6 +20314,7 @@ "type": "integer", "description": "SMTP port.", "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -20300,7 +20358,8 @@ "fromEmail": { "type": "string", "description": "Sender email address.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20349,7 +20408,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -20394,7 +20453,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -20447,7 +20507,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20548,7 +20608,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20593,7 +20653,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -20646,7 +20707,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20747,7 +20808,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20792,7 +20853,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -20845,7 +20907,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -20946,7 +21008,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -20991,7 +21053,8 @@ "from": { "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -21044,7 +21107,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21145,7 +21208,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21200,7 +21263,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21264,7 +21327,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21352,7 +21415,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -21440,7 +21503,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21527,7 +21590,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21612,7 +21675,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21674,7 +21737,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21755,7 +21818,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21819,7 +21882,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -21907,7 +21970,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22004,7 +22067,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22097,7 +22160,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22162,7 +22225,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22404,7 +22467,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -22828,7 +22892,8 @@ "timeout": { "type": "integer", "description": "Maximum request time in seconds.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -23298,7 +23363,8 @@ "code": { "type": "string", "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", - "x-example": null + "x-example": null, + "format": "binary" }, "activate": { "type": "boolean", @@ -24703,7 +24769,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -24908,7 +24975,8 @@ "maximumFileSize": { "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -25192,7 +25260,8 @@ "file": { "type": "string", "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", - "x-example": null + "x-example": null, + "format": "binary" }, "permissions": { "type": "array", @@ -26165,7 +26234,8 @@ "ttl": { "type": "integer", "description": "Seconds before the transaction expires.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -27835,6 +27905,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -27952,6 +28023,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -28315,18 +28387,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -28444,18 +28519,21 @@ "type": "number", "description": "Minimum value", "x-example": null, + "format": "float", "x-nullable": true }, "max": { "type": "number", "description": "Maximum value", "x-example": null, + "format": "float", "x-nullable": true }, "default": { "type": "number", "description": "Default value. Cannot be set when required.", "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -28570,18 +28648,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -28699,18 +28780,21 @@ "type": "integer", "description": "Minimum value", "x-example": null, + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value", "x-example": null, + "format": "int64", "x-nullable": true }, "default": { "type": "integer", "description": "Default value. Cannot be set when column is required.", "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -29906,7 +29990,8 @@ "size": { "type": "integer", "description": "Column size for text columns, in number of characters.", - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -30046,6 +30131,7 @@ "type": "integer", "description": "Maximum size of the string column.", "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -30160,6 +30246,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -30277,6 +30364,7 @@ "type": "string", "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -32242,12 +32330,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32370,12 +32460,14 @@ "value": { "type": "number", "description": "Value to increment the column by. The value must be a number.", - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32415,7 +32507,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -32506,7 +32598,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -32595,7 +32687,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -32661,7 +32753,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -32739,7 +32831,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -32807,7 +32899,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32908,7 +33000,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32959,7 +33051,8 @@ "email": { "type": "string", "description": "Email of the new team member.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -32969,7 +33062,8 @@ "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -32989,7 +33083,8 @@ "url": { "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -33030,7 +33125,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -33106,7 +33201,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -33204,7 +33299,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -33282,7 +33377,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -33383,7 +33478,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -33447,7 +33542,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33912,7 +34007,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33999,7 +34094,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -34040,12 +34135,14 @@ "type": "string", "description": "User email.", "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -34092,7 +34189,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -34132,12 +34229,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34180,7 +34279,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -34220,12 +34319,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34268,7 +34369,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -34350,7 +34451,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -34414,7 +34515,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -34454,12 +34555,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34502,7 +34605,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -34542,12 +34645,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34590,7 +34695,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -34630,12 +34735,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34645,22 +34752,26 @@ "passwordCpu": { "type": "integer", "description": "Optional CPU cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -34708,7 +34819,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -34748,12 +34859,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34814,7 +34927,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34854,12 +34967,14 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -34922,7 +35037,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34977,7 +35092,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -35041,7 +35156,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -35088,7 +35203,8 @@ "email": { "type": "string", "description": "User email.", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -35124,7 +35240,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -35176,7 +35292,8 @@ "duration": { "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -35209,7 +35326,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -35295,7 +35412,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -35383,7 +35500,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -35482,7 +35599,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -35620,7 +35737,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -35759,7 +35876,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -35881,7 +35998,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -36001,7 +36118,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -36121,7 +36238,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -36243,7 +36360,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -36326,7 +36443,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -36409,7 +36526,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -36456,7 +36573,8 @@ "number": { "type": "string", "description": "User phone number.", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -36492,7 +36610,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -36554,7 +36672,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -36637,7 +36755,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -36710,7 +36828,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -36765,7 +36883,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -36822,7 +36940,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -36896,7 +37014,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36979,7 +37097,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -37065,7 +37183,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -37177,7 +37295,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -37249,7 +37367,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -37340,7 +37458,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -37414,7 +37532,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -37461,12 +37579,14 @@ "length": { "type": "integer", "description": "Token length in characters. The default length is 6 characters", - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -37499,7 +37619,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -37582,7 +37702,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -39180,14 +39300,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { @@ -40629,14 +40749,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "nullable": true }, "default": { diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index e11d5053a4..ae64cba59b 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -191,7 +191,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -280,13 +281,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -498,7 +501,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -608,7 +612,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -683,7 +687,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -807,7 +811,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -948,7 +952,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1072,7 +1076,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1209,7 +1213,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1349,7 +1353,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1450,7 +1454,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1551,7 +1555,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1652,7 +1656,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1874,7 +1878,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1949,13 +1954,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2160,13 +2167,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2485,13 +2494,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3429,7 +3440,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3520,13 +3532,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3754,7 +3768,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3882,7 +3897,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4191,7 +4207,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4317,7 +4333,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4449,7 +4465,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4513,7 +4529,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -5001,7 +5017,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -5085,7 +5101,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5177,7 +5193,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5269,7 +5285,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6087,7 +6103,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7208,13 +7225,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7329,13 +7348,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7375,7 +7396,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -7458,7 +7479,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -7577,7 +7598,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -7649,7 +7670,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7724,7 +7745,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7797,7 +7818,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7850,7 +7871,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7903,7 +7924,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7956,7 +7977,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -8009,7 +8030,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -8062,7 +8083,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -8115,7 +8136,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -8168,7 +8189,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -8223,7 +8244,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8308,7 +8329,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -8379,7 +8400,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -8472,7 +8493,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -8563,7 +8584,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -8634,7 +8655,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -8725,7 +8746,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -8796,7 +8817,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -8876,7 +8897,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -9084,7 +9105,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -9275,7 +9296,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -10393,13 +10415,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10513,13 +10537,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10559,7 +10585,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10644,7 +10670,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10735,7 +10761,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10798,7 +10824,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10874,7 +10900,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10937,7 +10963,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -11030,7 +11056,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -11076,7 +11102,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -11088,7 +11115,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -11110,7 +11138,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -11151,7 +11180,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -11222,7 +11251,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11316,7 +11345,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11389,7 +11418,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11485,7 +11514,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11548,7 +11577,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 21f8513e16..7672fc09d4 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -201,7 +201,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -333,13 +334,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -548,7 +551,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -657,7 +661,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -731,7 +735,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -854,7 +858,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -994,7 +998,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1117,7 +1121,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1253,7 +1257,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1392,7 +1396,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1492,7 +1496,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1592,7 +1596,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1692,7 +1696,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1911,7 +1915,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1985,13 +1990,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2193,13 +2200,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2513,13 +2522,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3445,7 +3456,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3535,13 +3547,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3767,7 +3781,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3894,7 +3909,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4200,7 +4216,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4326,7 +4342,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4458,7 +4474,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4522,7 +4538,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -5010,7 +5026,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -5094,7 +5110,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5186,7 +5202,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5278,7 +5294,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -5993,7 +6009,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 495, + "weight": 496, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -6057,7 +6073,7 @@ "x-appwrite": { "method": "getResource", "group": null, - "weight": 496, + "weight": 497, "cookies": false, "type": "", "demo": "console\/get-resource.md", @@ -6128,7 +6144,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 494, + "weight": 495, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -6518,7 +6534,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -8343,6 +8360,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -8457,6 +8475,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8819,6 +8838,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8826,6 +8846,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8833,6 +8854,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8947,6 +8969,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8954,6 +8977,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8961,6 +8985,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -9075,6 +9100,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -9082,6 +9108,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -9089,6 +9116,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -9203,6 +9231,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -9210,6 +9239,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -9217,6 +9247,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -10356,7 +10387,8 @@ "type": "integer", "description": "Attribute size for text attributes, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -10497,6 +10529,7 @@ "description": "Maximum size of the string attribute.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10611,6 +10644,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10725,6 +10759,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -12327,13 +12362,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12448,13 +12485,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -13275,7 +13314,7 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "functions\/list.md", @@ -13357,7 +13396,7 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "functions\/create.md", @@ -13505,7 +13544,8 @@ "type": "integer", "description": "Function maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13670,7 +13710,7 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", @@ -13720,7 +13760,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", @@ -13770,7 +13810,7 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 464, + "weight": 465, "cookies": false, "type": "", "demo": "functions\/list-templates.md", @@ -13954,7 +13994,7 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 463, + "weight": 464, "cookies": false, "type": "", "demo": "functions\/get-template.md", @@ -14012,7 +14052,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 457, + "weight": 458, "cookies": false, "type": "", "demo": "functions\/list-usage.md", @@ -14082,7 +14122,7 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "functions\/get.md", @@ -14142,7 +14182,7 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "functions\/update.md", @@ -14292,7 +14332,8 @@ "type": "integer", "description": "Maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14451,7 +14492,7 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "functions\/delete.md", @@ -14513,7 +14554,7 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", @@ -14591,7 +14632,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", @@ -14681,7 +14722,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 442, + "weight": 443, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", @@ -14774,7 +14815,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", @@ -14860,7 +14901,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", @@ -14981,7 +15022,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", @@ -15078,7 +15119,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", @@ -15141,7 +15182,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", @@ -15209,7 +15250,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 449, + "weight": 450, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", @@ -15295,7 +15336,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", @@ -15363,7 +15404,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -15446,7 +15487,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -15565,7 +15606,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -15630,7 +15671,7 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", @@ -15698,7 +15739,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 456, + "weight": 457, "cookies": false, "type": "", "demo": "functions\/get-usage.md", @@ -15776,7 +15817,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 460, + "weight": 461, "cookies": false, "type": "", "demo": "functions\/list-variables.md", @@ -15836,7 +15877,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/create-variable.md", @@ -15927,7 +15968,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/get-variable.md", @@ -15995,7 +16036,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/update-variable.md", @@ -16090,7 +16131,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", @@ -16160,7 +16201,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -16235,7 +16276,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -16308,7 +16349,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -16359,7 +16400,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -16410,7 +16451,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -16461,7 +16502,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -16521,7 +16562,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16572,7 +16613,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16623,7 +16664,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16685,7 +16726,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16747,7 +16788,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16818,7 +16859,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16880,7 +16921,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16923,6 +16964,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -16966,7 +17008,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -17028,7 +17070,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -17090,7 +17132,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -17152,7 +17194,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -17214,7 +17256,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -17276,7 +17318,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -17338,7 +17380,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -17400,7 +17442,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -17462,7 +17504,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -17513,7 +17555,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17564,7 +17606,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17615,7 +17657,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17668,7 +17710,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17721,7 +17763,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17774,7 +17816,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17827,7 +17869,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17880,7 +17922,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17933,7 +17975,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17986,7 +18028,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -18039,7 +18081,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -18124,7 +18166,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -18284,7 +18326,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -18451,7 +18493,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18575,7 +18617,8 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", "default": -1, - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -18649,7 +18692,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18787,6 +18830,7 @@ "description": "Badge for push notification. Available only for iOS platforms.", "default": null, "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -18862,7 +18906,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -19052,7 +19096,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -19241,7 +19285,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -19297,7 +19341,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -19358,7 +19402,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -19440,7 +19484,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -19522,7 +19566,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -19607,7 +19651,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19796,7 +19840,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19982,7 +20026,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -20140,7 +20184,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -20294,7 +20338,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -20367,7 +20411,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20379,7 +20424,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20424,7 +20470,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -20506,7 +20552,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20552,7 +20599,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -20657,7 +20704,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20760,7 +20807,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20820,7 +20867,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20832,7 +20880,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20877,7 +20926,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20946,7 +20995,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20992,7 +21042,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -21052,7 +21102,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21064,7 +21115,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21109,7 +21161,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -21178,7 +21230,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21224,7 +21277,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -21364,7 +21417,8 @@ "type": "integer", "description": "The default SMTP server port.", "default": 587, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -21413,7 +21467,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21425,7 +21480,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21471,7 +21527,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21610,6 +21666,7 @@ "description": "SMTP port.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -21660,7 +21717,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21713,7 +21771,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21761,7 +21819,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -21818,7 +21877,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21921,7 +21980,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21969,7 +22028,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -22026,7 +22086,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -22129,7 +22189,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -22177,7 +22237,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -22234,7 +22295,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -22337,7 +22398,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -22385,7 +22446,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -22442,7 +22504,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -22543,7 +22605,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -22599,7 +22661,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -22660,7 +22722,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22742,7 +22804,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22824,7 +22886,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22907,7 +22969,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22996,7 +23058,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -23057,7 +23119,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -23139,7 +23201,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -23200,7 +23262,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -23282,7 +23344,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -23373,7 +23435,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -23461,7 +23523,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -23525,7 +23587,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23596,7 +23658,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 232, + "weight": 221, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -23679,7 +23741,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 226, + "weight": 215, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23742,7 +23804,8 @@ "type": "string", "description": "Source Appwrite endpoint", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "projectId": { "type": "string", @@ -23792,7 +23855,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 234, + "weight": 223, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23901,7 +23964,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 231, + "weight": 220, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -24027,7 +24090,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 230, + "weight": 219, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -24118,7 +24181,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 227, + "weight": 216, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -24211,7 +24274,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 235, + "weight": 224, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -24297,7 +24360,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 229, + "weight": 218, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -24391,7 +24454,8 @@ "type": "integer", "description": "Source's Database Port", "default": 5432, - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24432,7 +24496,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 237, + "weight": 226, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -24568,7 +24632,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 228, + "weight": 217, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -24626,7 +24690,8 @@ "type": "string", "description": "Source's Supabase Endpoint", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "apiKey": { "type": "string", @@ -24656,7 +24721,8 @@ "type": "integer", "description": "Source's Database Port", "default": 5432, - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24696,7 +24762,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 236, + "weight": 225, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -24823,7 +24889,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 233, + "weight": 222, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24882,7 +24948,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 238, + "weight": 227, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24936,7 +25002,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 239, + "weight": 228, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24995,7 +25061,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 138, + "weight": 127, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -25078,7 +25144,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 140, + "weight": 129, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -25127,7 +25193,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 139, + "weight": 128, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -25209,7 +25275,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 141, + "weight": 130, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -25268,7 +25334,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 142, + "weight": 131, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -25354,7 +25420,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 143, + "weight": 132, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -25438,7 +25504,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels, search", "required": false, "type": "array", "collectionFormat": "multi", @@ -25493,7 +25559,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 92, + "weight": 81, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -25568,7 +25634,8 @@ "type": "string", "description": "Project URL.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25641,7 +25708,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 93, + "weight": 82, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -25700,7 +25767,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 94, + "weight": 83, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -25760,7 +25827,8 @@ "type": "string", "description": "Project URL.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25826,7 +25894,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 111, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25887,7 +25955,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 98, + "weight": 87, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -26044,7 +26112,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 99, + "weight": 88, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -26183,7 +26251,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 104, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -26225,7 +26293,8 @@ "type": "integer", "description": "Project session length in seconds. Max length: 31536000 seconds.", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26262,7 +26331,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 103, + "weight": 92, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -26304,7 +26373,8 @@ "type": "integer", "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26341,7 +26411,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 109, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -26383,7 +26453,8 @@ "type": "integer", "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" } }, "required": [ @@ -26420,7 +26491,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 102, + "weight": 91, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -26513,7 +26584,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 110, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -26595,7 +26666,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 107, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -26674,7 +26745,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 106, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -26716,7 +26787,8 @@ "type": "integer", "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26753,7 +26825,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 108, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -26832,7 +26904,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 101, + "weight": 90, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26911,7 +26983,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 137, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26990,7 +27062,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 105, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -27459,7 +27531,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 123, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -27569,7 +27641,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -27604,7 +27677,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 119, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -27672,7 +27745,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 118, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -27826,7 +27899,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 120, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -27893,7 +27966,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 121, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -28050,7 +28123,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 122, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -28093,6 +28166,87 @@ ] } }, + "\/projects\/{projectId}\/labels": { + "put": { + "summary": "Update project labels", + "operationId": "projectsUpdateLabels", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the project labels by its unique ID. Labels can be used to easily filter projects in an organization.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "deprecated": false, + "x-appwrite": { + "method": "updateLabels", + "group": "projects", + "weight": 435, + "cookies": false, + "type": "", + "demo": "projects\/update-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "public": true, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + ] + } + }, "\/projects\/{projectId}\/oauth2": { "patch": { "summary": "Update project OAuth2", @@ -28119,7 +28273,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 100, + "weight": 89, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -28262,7 +28416,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 125, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -28330,7 +28484,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 124, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -28451,7 +28605,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 126, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -28518,7 +28672,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 127, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -28616,7 +28770,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 128, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -28685,7 +28839,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 96, + "weight": 85, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -28788,7 +28942,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 97, + "weight": 86, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -28867,7 +29021,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 129, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -28997,13 +29151,15 @@ "type": "string", "description": "Email of the sender", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29015,7 +29171,8 @@ "type": "integer", "description": "SMTP server port", "default": 587, - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29073,7 +29230,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 130, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -29210,13 +29367,15 @@ "type": "string", "description": "Email of the sender", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29228,7 +29387,8 @@ "type": "integer", "description": "SMTP server port", "default": 587, - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29292,7 +29452,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 95, + "weight": 84, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -29369,7 +29529,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 132, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -29590,7 +29750,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 134, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -29812,13 +29972,15 @@ "type": "string", "description": "Email of the sender", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -29854,7 +30016,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 136, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -30075,7 +30237,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 131, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -30357,7 +30519,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 133, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -30661,7 +30823,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 135, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -30943,7 +31105,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 113, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -31011,7 +31173,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 112, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -31130,7 +31292,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 114, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -31197,7 +31359,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 115, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -31319,7 +31481,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 117, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -31388,7 +31550,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 116, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -31455,7 +31617,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 510, + "weight": 511, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -31537,7 +31699,7 @@ "x-appwrite": { "method": "createAPIRule", "group": null, - "weight": 505, + "weight": 506, "cookies": false, "type": "", "demo": "proxy\/create-api-rule.md", @@ -31607,7 +31769,7 @@ "x-appwrite": { "method": "createFunctionRule", "group": null, - "weight": 507, + "weight": 508, "cookies": false, "type": "", "demo": "proxy\/create-function-rule.md", @@ -31690,7 +31852,7 @@ "x-appwrite": { "method": "createRedirectRule", "group": null, - "weight": 508, + "weight": 509, "cookies": false, "type": "", "demo": "proxy\/create-redirect-rule.md", @@ -31729,7 +31891,8 @@ "type": "string", "description": "Target URL of redirection", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "statusCode": { "type": "string", @@ -31810,7 +31973,7 @@ "x-appwrite": { "method": "createSiteRule", "group": null, - "weight": 506, + "weight": 507, "cookies": false, "type": "", "demo": "proxy\/create-site-rule.md", @@ -31891,7 +32054,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 509, + "weight": 510, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -31944,7 +32107,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 511, + "weight": 512, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -32004,7 +32167,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 512, + "weight": 513, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -32062,7 +32225,7 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 467, + "weight": 468, "cookies": false, "type": "", "demo": "sites\/list.md", @@ -32144,7 +32307,7 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "sites\/create.md", @@ -32228,7 +32391,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -32415,7 +32579,7 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", @@ -32465,7 +32629,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", @@ -32515,7 +32679,7 @@ "x-appwrite": { "method": "listTemplates", "group": "templates", - "weight": 489, + "weight": 490, "cookies": false, "type": "", "demo": "sites\/list-templates.md", @@ -32638,7 +32802,7 @@ "x-appwrite": { "method": "getTemplate", "group": "templates", - "weight": 490, + "weight": 491, "cookies": false, "type": "", "demo": "sites\/get-template.md", @@ -32696,7 +32860,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 491, + "weight": 492, "cookies": false, "type": "", "demo": "sites\/list-usage.md", @@ -32766,7 +32930,7 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "sites\/get.md", @@ -32826,7 +32990,7 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "sites\/update.md", @@ -32912,7 +33076,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -33092,7 +33257,7 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "sites\/delete.md", @@ -33154,7 +33319,7 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", @@ -33232,7 +33397,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", @@ -33322,7 +33487,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 471, + "weight": 472, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", @@ -33423,7 +33588,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", @@ -33503,7 +33668,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", @@ -33624,7 +33789,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", @@ -33722,7 +33887,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", @@ -33785,7 +33950,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", @@ -33853,7 +34018,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 478, + "weight": 479, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", @@ -33939,7 +34104,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", @@ -34007,7 +34172,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "sites\/list-logs.md", @@ -34088,7 +34253,7 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "sites\/get-log.md", @@ -34153,7 +34318,7 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/delete-log.md", @@ -34221,7 +34386,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 492, + "weight": 493, "cookies": false, "type": "", "demo": "sites\/get-usage.md", @@ -34299,7 +34464,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/list-variables.md", @@ -34359,7 +34524,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/create-variable.md", @@ -34450,7 +34615,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/get-variable.md", @@ -34518,7 +34683,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/update-variable.md", @@ -34613,7 +34778,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", @@ -34681,7 +34846,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -34764,7 +34929,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -34834,7 +34999,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -34847,7 +35013,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "default": "none", "x-example": "none", "enum": [ @@ -34910,7 +35076,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -34971,7 +35137,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -35043,7 +35209,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -35056,7 +35223,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "default": "none", "x-example": "none", "enum": [ @@ -35113,7 +35280,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -35174,7 +35341,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -35267,7 +35434,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -35358,7 +35525,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -35429,7 +35596,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -35520,7 +35687,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -35591,7 +35758,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -35671,7 +35838,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -35879,7 +36046,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -35959,7 +36126,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 532, + "weight": 533, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -36030,7 +36197,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 533, + "weight": 534, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -36387,7 +36554,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -38107,6 +38275,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -38220,6 +38389,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -38579,6 +38749,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -38586,6 +38757,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -38593,6 +38765,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -38706,6 +38879,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -38713,6 +38887,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -38720,6 +38895,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -38833,6 +39009,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -38840,6 +39017,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -38847,6 +39025,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -38960,6 +39139,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -38967,6 +39147,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -38974,6 +39155,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -40103,7 +40285,8 @@ "type": "integer", "description": "Column size for text columns, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -40243,6 +40426,7 @@ "description": "Maximum size of the string column.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -40356,6 +40540,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -40469,6 +40654,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -42508,13 +42694,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42628,13 +42816,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42872,7 +43062,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -42957,7 +43147,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -43048,7 +43238,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -43111,7 +43301,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -43187,7 +43377,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -43250,7 +43440,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 157, + "weight": 146, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -43330,7 +43520,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -43423,7 +43613,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -43469,7 +43659,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -43481,7 +43672,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -43503,7 +43695,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -43544,7 +43737,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -43615,7 +43808,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -43709,7 +43902,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -43782,7 +43975,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -43877,7 +44070,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -43939,7 +44132,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -44019,7 +44212,7 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "tokens\/list.md", @@ -44108,7 +44301,7 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", @@ -44192,7 +44385,7 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "tokens\/get.md", @@ -44252,7 +44445,7 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "tokens\/update.md", @@ -44323,7 +44516,7 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "tokens\/delete.md", @@ -44383,7 +44576,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -44466,7 +44659,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -44509,6 +44702,7 @@ "description": "User email.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { @@ -44516,6 +44710,7 @@ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -44565,7 +44760,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -44607,13 +44802,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44658,7 +44855,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -44700,13 +44897,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44749,7 +44948,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -44829,7 +45028,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -44892,7 +45091,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -44934,13 +45133,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44985,7 +45186,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -45027,13 +45228,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45078,7 +45281,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -45120,13 +45323,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45138,25 +45343,29 @@ "type": "integer", "description": "Optional CPU cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -45206,7 +45415,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -45248,13 +45457,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45320,7 +45531,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -45362,13 +45573,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -45432,7 +45645,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 200, + "weight": 189, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -45503,7 +45716,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -45559,7 +45772,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -45622,7 +45835,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -45666,7 +45879,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -45703,7 +45917,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -45753,7 +45967,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -45787,7 +46002,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -45869,7 +46084,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -45951,7 +46166,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -46044,7 +46259,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -46180,7 +46395,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -46312,7 +46527,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -46429,7 +46644,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -46546,7 +46761,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -46663,7 +46878,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -46782,7 +46997,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -46863,7 +47078,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -46944,7 +47159,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -46988,7 +47203,8 @@ "type": "string", "description": "User phone number.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -47023,7 +47239,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -47084,7 +47300,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -47163,7 +47379,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -47233,7 +47449,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -47289,7 +47505,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -47347,7 +47563,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -47418,7 +47634,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -47497,7 +47713,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -47579,7 +47795,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -47691,7 +47907,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -47760,7 +47976,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -47851,7 +48067,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -47922,7 +48138,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -47966,13 +48182,15 @@ "type": "integer", "description": "Token length in characters. The default length is 6 characters", "default": 6, - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", "default": 900, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -48006,7 +48224,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -48087,7 +48305,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -48168,7 +48386,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 204, + "weight": 193, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -48264,7 +48482,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 205, + "weight": 194, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -48358,7 +48576,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 206, + "weight": 195, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -48442,7 +48660,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 207, + "weight": 196, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -48509,7 +48727,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 208, + "weight": 197, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -48576,7 +48794,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 203, + "weight": 192, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -48660,7 +48878,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 213, + "weight": 202, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -48745,7 +48963,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 210, + "weight": 199, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -48826,7 +49044,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 211, + "weight": 200, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -48880,7 +49098,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 212, + "weight": 201, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -50858,14 +51076,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -52308,14 +52526,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -54901,7 +55119,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "description": "Compression algorithm chosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", "x-example": "gzip" }, "encryption": { @@ -54918,6 +55136,12 @@ "type": "boolean", "description": "Image transformations are enabled.", "x-example": false + }, + "totalSize": { + "type": "integer", + "description": "Total size of this bucket in bytes.", + "x-example": 128, + "format": "int32" } }, "required": [ @@ -54933,7 +55157,8 @@ "compression", "encryption", "antivirus", - "transformations" + "transformations", + "totalSize" ], "example": { "$id": "5e5ea5c16897e", @@ -54953,7 +55178,8 @@ "compression": "gzip", "encryption": false, "antivirus": false, - "transformations": false + "transformations": false, + "totalSize": 128 } }, "resourceToken": { @@ -57338,6 +57564,16 @@ "description": "Last ping datetime in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, + "labels": { + "type": "array", + "description": "Labels for the project.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, "authEmailPassword": { "type": "boolean", "description": "Email\/Password auth method status", @@ -57482,6 +57718,7 @@ "smtpSecure", "pingCount", "pingedAt", + "labels", "authEmailPassword", "authUsersAuthMagicURL", "authEmailOtp", @@ -57550,6 +57787,9 @@ "smtpSecure": "tls", "pingCount": 1, "pingedAt": "2020-10-15T06:38:00.000+00:00", + "labels": [ + "vip" + ], "authEmailPassword": true, "authUsersAuthMagicURL": true, "authEmailOtp": true, @@ -59551,171 +59791,6 @@ "description": "Time range of the usage stats.", "x-example": "30d" }, - "deploymentsTotal": { - "type": "integer", - "description": "Total aggregated number of functions deployments.", - "x-example": 0, - "format": "int32" - }, - "deploymentsStorageTotal": { - "type": "integer", - "description": "Total aggregated sum of functions deployment storage.", - "x-example": 0, - "format": "int32" - }, - "buildsTotal": { - "type": "integer", - "description": "Total aggregated number of functions build.", - "x-example": 0, - "format": "int32" - }, - "buildsStorageTotal": { - "type": "integer", - "description": "total aggregated sum of functions build storage.", - "x-example": 0, - "format": "int32" - }, - "buildsTimeTotal": { - "type": "integer", - "description": "Total aggregated sum of functions build compute time.", - "x-example": 0, - "format": "int32" - }, - "buildsMbSecondsTotal": { - "type": "integer", - "description": "Total aggregated sum of functions build mbSeconds.", - "x-example": 0, - "format": "int32" - }, - "executionsTotal": { - "type": "integer", - "description": "Total aggregated number of functions execution.", - "x-example": 0, - "format": "int32" - }, - "executionsTimeTotal": { - "type": "integer", - "description": "Total aggregated sum of functions execution compute time.", - "x-example": 0, - "format": "int32" - }, - "executionsMbSecondsTotal": { - "type": "integer", - "description": "Total aggregated sum of functions execution mbSeconds.", - "x-example": 0, - "format": "int32" - }, - "deployments": { - "type": "array", - "description": "Aggregated number of functions deployment per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "deploymentsStorage": { - "type": "array", - "description": "Aggregated number of functions deployment storage per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsSuccessTotal": { - "type": "integer", - "description": "Total aggregated number of successful function builds.", - "x-example": 0, - "format": "int32" - }, - "buildsFailedTotal": { - "type": "integer", - "description": "Total aggregated number of failed function builds.", - "x-example": 0, - "format": "int32" - }, - "builds": { - "type": "array", - "description": "Aggregated number of functions build per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsStorage": { - "type": "array", - "description": "Aggregated sum of functions build storage per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsTime": { - "type": "array", - "description": "Aggregated sum of functions build compute time per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsMbSeconds": { - "type": "array", - "description": "Aggregated sum of functions build mbSeconds per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "executions": { - "type": "array", - "description": "Aggregated number of functions execution per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "executionsTime": { - "type": "array", - "description": "Aggregated number of functions execution compute time per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "executionsMbSeconds": { - "type": "array", - "description": "Aggregated number of functions mbSeconds per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsSuccess": { - "type": "array", - "description": "Aggregated number of successful function builds per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, - "buildsFailed": { - "type": "array", - "description": "Aggregated number of failed function builds per period.", - "items": { - "type": "object", - "$ref": "#\/definitions\/metric" - }, - "x-example": [] - }, "sitesTotal": { "type": "integer", "description": "Total aggregated number of sites.", @@ -59731,6 +59806,60 @@ }, "x-example": [] }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of sites deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of sites deployment storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of sites build.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of sites build storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of sites build compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of sites build mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of sites execution.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of sites execution compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of sites execution mbSeconds.", + "x-example": 0, + "format": "int32" + }, "requestsTotal": { "type": "integer", "description": "Total aggregated number of requests.", @@ -59775,10 +59904,123 @@ "$ref": "#\/definitions\/metric" }, "x-example": [] + }, + "deployments": { + "type": "array", + "description": "Aggregated number of sites deployment per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of sites deployment storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsSuccessTotal": { + "type": "integer", + "description": "Total aggregated number of successful site builds.", + "x-example": 0, + "format": "int32" + }, + "buildsFailedTotal": { + "type": "integer", + "description": "Total aggregated number of failed site builds.", + "x-example": 0, + "format": "int32" + }, + "builds": { + "type": "array", + "description": "Aggregated number of sites build per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of sites build storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of sites build compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated sum of sites build mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of sites execution per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of sites execution compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of sites mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsSuccess": { + "type": "array", + "description": "Aggregated number of successful site builds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsFailed": { + "type": "array", + "description": "Aggregated number of failed site builds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] } }, "required": [ "range", + "sitesTotal", + "sites", "deploymentsTotal", "deploymentsStorageTotal", "buildsTotal", @@ -59788,6 +60030,12 @@ "executionsTotal", "executionsTimeTotal", "executionsMbSecondsTotal", + "requestsTotal", + "requests", + "inboundTotal", + "inbound", + "outboundTotal", + "outbound", "deployments", "deploymentsStorage", "buildsSuccessTotal", @@ -59800,18 +60048,12 @@ "executionsTime", "executionsMbSeconds", "buildsSuccess", - "buildsFailed", - "sitesTotal", - "sites", - "requestsTotal", - "requests", - "inboundTotal", - "inbound", - "outboundTotal", - "outbound" + "buildsFailed" ], "example": { "range": "30d", + "sitesTotal": 0, + "sites": [], "deploymentsTotal": 0, "deploymentsStorageTotal": 0, "buildsTotal": 0, @@ -59821,6 +60063,12 @@ "executionsTotal": 0, "executionsTimeTotal": 0, "executionsMbSecondsTotal": 0, + "requestsTotal": 0, + "requests": [], + "inboundTotal": 0, + "inbound": [], + "outboundTotal": 0, + "outbound": [], "deployments": [], "deploymentsStorage": [], "buildsSuccessTotal": 0, @@ -59833,15 +60081,7 @@ "executionsTime": [], "executionsMbSeconds": [], "buildsSuccess": [], - "buildsFailed": [], - "sitesTotal": 0, - "sites": [], - "requestsTotal": 0, - "requests": [], - "inboundTotal": 0, - "inbound": [], - "outboundTotal": 0, - "outbound": [] + "buildsFailed": [] } }, "usageSite": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index a3d51a703d..284c917919 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.8.0", + "version": "1.8.1", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -202,7 +202,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -292,13 +293,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -513,7 +516,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -624,7 +628,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -700,7 +704,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -827,7 +831,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -971,7 +975,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1098,7 +1102,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1238,7 +1242,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1381,7 +1385,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1485,7 +1489,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1589,7 +1593,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1693,7 +1697,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1920,7 +1924,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1996,13 +2001,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2210,13 +2217,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2540,13 +2549,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3132,7 +3143,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3224,13 +3236,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3460,7 +3474,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3591,7 +3606,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -3905,7 +3921,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4033,7 +4049,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4167,7 +4183,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4233,7 +4249,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4723,7 +4739,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4809,7 +4825,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4903,7 +4919,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4997,7 +5013,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6061,7 +6077,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7809,6 +7826,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -7924,6 +7942,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8289,6 +8308,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8296,6 +8316,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8303,6 +8324,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8418,6 +8440,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8425,6 +8448,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8432,6 +8456,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8547,6 +8572,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -8554,6 +8580,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -8561,6 +8588,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -8676,6 +8704,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -8683,6 +8712,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -8690,6 +8720,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -9839,7 +9870,8 @@ "type": "integer", "description": "Attribute size for text attributes, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -9981,6 +10013,7 @@ "description": "Maximum size of the string attribute.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10096,6 +10129,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10211,6 +10245,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -11746,13 +11781,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -11869,13 +11906,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12308,7 +12347,7 @@ "x-appwrite": { "method": "list", "group": "functions", - "weight": 438, + "weight": 439, "cookies": false, "type": "", "demo": "functions\/list.md", @@ -12391,7 +12430,7 @@ "x-appwrite": { "method": "create", "group": "functions", - "weight": 435, + "weight": 436, "cookies": false, "type": "", "demo": "functions\/create.md", @@ -12540,7 +12579,8 @@ "type": "integer", "description": "Function maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -12705,7 +12745,7 @@ "x-appwrite": { "method": "listRuntimes", "group": "runtimes", - "weight": 440, + "weight": 441, "cookies": false, "type": "", "demo": "functions\/list-runtimes.md", @@ -12756,7 +12796,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "runtimes", - "weight": 441, + "weight": 442, "cookies": false, "type": "", "demo": "functions\/list-specifications.md", @@ -12807,7 +12847,7 @@ "x-appwrite": { "method": "get", "group": "functions", - "weight": 436, + "weight": 437, "cookies": false, "type": "", "demo": "functions\/get.md", @@ -12868,7 +12908,7 @@ "x-appwrite": { "method": "update", "group": "functions", - "weight": 437, + "weight": 438, "cookies": false, "type": "", "demo": "functions\/update.md", @@ -13019,7 +13059,8 @@ "type": "integer", "description": "Maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13178,7 +13219,7 @@ "x-appwrite": { "method": "delete", "group": "functions", - "weight": 439, + "weight": 440, "cookies": false, "type": "", "demo": "functions\/delete.md", @@ -13241,7 +13282,7 @@ "x-appwrite": { "method": "updateFunctionDeployment", "group": "functions", - "weight": 444, + "weight": 445, "cookies": false, "type": "", "demo": "functions\/update-function-deployment.md", @@ -13320,7 +13361,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 445, + "weight": 446, "cookies": false, "type": "", "demo": "functions\/list-deployments.md", @@ -13411,7 +13452,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 442, + "weight": 443, "cookies": false, "type": "upload", "demo": "functions\/create-deployment.md", @@ -13505,7 +13546,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 450, + "weight": 451, "cookies": false, "type": "", "demo": "functions\/create-duplicate-deployment.md", @@ -13592,7 +13633,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 447, + "weight": 448, "cookies": false, "type": "", "demo": "functions\/create-template-deployment.md", @@ -13714,7 +13755,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 448, + "weight": 449, "cookies": false, "type": "", "demo": "functions\/create-vcs-deployment.md", @@ -13812,7 +13853,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 443, + "weight": 444, "cookies": false, "type": "", "demo": "functions\/get-deployment.md", @@ -13876,7 +13917,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 446, + "weight": 447, "cookies": false, "type": "", "demo": "functions\/delete-deployment.md", @@ -13945,7 +13986,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 449, + "weight": 450, "cookies": false, "type": "location", "demo": "functions\/get-deployment-download.md", @@ -14032,7 +14073,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 451, + "weight": 452, "cookies": false, "type": "", "demo": "functions\/update-deployment-status.md", @@ -14101,7 +14142,7 @@ "x-appwrite": { "method": "listExecutions", "group": "executions", - "weight": 454, + "weight": 455, "cookies": false, "type": "", "demo": "functions\/list-executions.md", @@ -14186,7 +14227,7 @@ "x-appwrite": { "method": "createExecution", "group": "executions", - "weight": 452, + "weight": 453, "cookies": false, "type": "", "demo": "functions\/create-execution.md", @@ -14307,7 +14348,7 @@ "x-appwrite": { "method": "getExecution", "group": "executions", - "weight": 453, + "weight": 454, "cookies": false, "type": "", "demo": "functions\/get-execution.md", @@ -14374,7 +14415,7 @@ "x-appwrite": { "method": "deleteExecution", "group": "executions", - "weight": 455, + "weight": 456, "cookies": false, "type": "", "demo": "functions\/delete-execution.md", @@ -14443,7 +14484,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 460, + "weight": 461, "cookies": false, "type": "", "demo": "functions\/list-variables.md", @@ -14504,7 +14545,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 458, + "weight": 459, "cookies": false, "type": "", "demo": "functions\/create-variable.md", @@ -14596,7 +14637,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 459, + "weight": 460, "cookies": false, "type": "", "demo": "functions\/get-variable.md", @@ -14665,7 +14706,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 461, + "weight": 462, "cookies": false, "type": "", "demo": "functions\/update-variable.md", @@ -14761,7 +14802,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 462, + "weight": 463, "cookies": false, "type": "", "demo": "functions\/delete-variable.md", @@ -14832,7 +14873,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14909,7 +14950,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14984,7 +15025,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15036,7 +15077,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15088,7 +15129,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15140,7 +15181,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15201,7 +15242,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15253,7 +15294,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -15305,7 +15346,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -15368,7 +15409,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -15431,7 +15472,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15503,7 +15544,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15566,7 +15607,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15610,6 +15651,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -15653,7 +15695,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15716,7 +15758,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15779,7 +15821,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15842,7 +15884,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15905,7 +15947,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15968,7 +16010,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16031,7 +16073,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16094,7 +16136,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16157,7 +16199,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16209,7 +16251,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16261,7 +16303,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16313,7 +16355,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -16368,7 +16410,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -16423,7 +16465,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -16478,7 +16520,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16533,7 +16575,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16588,7 +16630,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16643,7 +16685,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16698,7 +16740,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16753,7 +16795,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16839,7 +16881,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17000,7 +17042,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17168,7 +17210,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -17293,7 +17335,8 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", "default": -1, - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -17367,7 +17410,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17506,6 +17549,7 @@ "description": "Badge for push notification. Available only for iOS platforms.", "default": null, "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -17581,7 +17625,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17774,7 +17818,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17966,7 +18010,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18023,7 +18067,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18085,7 +18129,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18168,7 +18212,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18251,7 +18295,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18337,7 +18381,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -18529,7 +18573,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18718,7 +18762,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18879,7 +18923,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19036,7 +19080,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19110,7 +19154,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19122,7 +19167,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19167,7 +19213,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19250,7 +19296,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19296,7 +19343,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19402,7 +19449,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -19506,7 +19553,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19567,7 +19614,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19579,7 +19627,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19624,7 +19673,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19694,7 +19743,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19740,7 +19790,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19801,7 +19851,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19813,7 +19864,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19858,7 +19910,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19928,7 +19980,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19974,7 +20027,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20117,7 +20170,8 @@ "type": "integer", "description": "The default SMTP server port.", "default": 587, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -20166,7 +20220,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20178,7 +20233,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20224,7 +20280,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20366,6 +20422,7 @@ "description": "SMTP port.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -20416,7 +20473,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20469,7 +20527,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -20518,7 +20576,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -20575,7 +20634,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20679,7 +20738,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20728,7 +20787,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -20785,7 +20845,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20889,7 +20949,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20938,7 +20998,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -20995,7 +21056,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21099,7 +21160,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21148,7 +21209,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -21205,7 +21267,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21307,7 +21369,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21364,7 +21426,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21426,7 +21488,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21509,7 +21571,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -21592,7 +21654,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21676,7 +21738,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21766,7 +21828,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21828,7 +21890,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21911,7 +21973,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21973,7 +22035,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22056,7 +22118,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22148,7 +22210,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22238,7 +22300,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22303,7 +22365,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22376,7 +22438,7 @@ "x-appwrite": { "method": "list", "group": "sites", - "weight": 467, + "weight": 468, "cookies": false, "type": "", "demo": "sites\/list.md", @@ -22459,7 +22521,7 @@ "x-appwrite": { "method": "create", "group": "sites", - "weight": 465, + "weight": 466, "cookies": false, "type": "", "demo": "sites\/create.md", @@ -22544,7 +22606,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -22731,7 +22794,7 @@ "x-appwrite": { "method": "listFrameworks", "group": "frameworks", - "weight": 470, + "weight": 471, "cookies": false, "type": "", "demo": "sites\/list-frameworks.md", @@ -22782,7 +22845,7 @@ "x-appwrite": { "method": "listSpecifications", "group": "frameworks", - "weight": 493, + "weight": 494, "cookies": false, "type": "", "demo": "sites\/list-specifications.md", @@ -22833,7 +22896,7 @@ "x-appwrite": { "method": "get", "group": "sites", - "weight": 466, + "weight": 467, "cookies": false, "type": "", "demo": "sites\/get.md", @@ -22894,7 +22957,7 @@ "x-appwrite": { "method": "update", "group": "sites", - "weight": 468, + "weight": 469, "cookies": false, "type": "", "demo": "sites\/update.md", @@ -22981,7 +23044,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -23161,7 +23225,7 @@ "x-appwrite": { "method": "delete", "group": "sites", - "weight": 469, + "weight": 470, "cookies": false, "type": "", "demo": "sites\/delete.md", @@ -23224,7 +23288,7 @@ "x-appwrite": { "method": "updateSiteDeployment", "group": "sites", - "weight": 476, + "weight": 477, "cookies": false, "type": "", "demo": "sites\/update-site-deployment.md", @@ -23303,7 +23367,7 @@ "x-appwrite": { "method": "listDeployments", "group": "deployments", - "weight": 475, + "weight": 476, "cookies": false, "type": "", "demo": "sites\/list-deployments.md", @@ -23394,7 +23458,7 @@ "x-appwrite": { "method": "createDeployment", "group": "deployments", - "weight": 471, + "weight": 472, "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", @@ -23496,7 +23560,7 @@ "x-appwrite": { "method": "createDuplicateDeployment", "group": "deployments", - "weight": 479, + "weight": 480, "cookies": false, "type": "", "demo": "sites\/create-duplicate-deployment.md", @@ -23577,7 +23641,7 @@ "x-appwrite": { "method": "createTemplateDeployment", "group": "deployments", - "weight": 472, + "weight": 473, "cookies": false, "type": "", "demo": "sites\/create-template-deployment.md", @@ -23699,7 +23763,7 @@ "x-appwrite": { "method": "createVcsDeployment", "group": "deployments", - "weight": 473, + "weight": 474, "cookies": false, "type": "", "demo": "sites\/create-vcs-deployment.md", @@ -23798,7 +23862,7 @@ "x-appwrite": { "method": "getDeployment", "group": "deployments", - "weight": 474, + "weight": 475, "cookies": false, "type": "", "demo": "sites\/get-deployment.md", @@ -23862,7 +23926,7 @@ "x-appwrite": { "method": "deleteDeployment", "group": "deployments", - "weight": 477, + "weight": 478, "cookies": false, "type": "", "demo": "sites\/delete-deployment.md", @@ -23931,7 +23995,7 @@ "x-appwrite": { "method": "getDeploymentDownload", "group": "deployments", - "weight": 478, + "weight": 479, "cookies": false, "type": "location", "demo": "sites\/get-deployment-download.md", @@ -24018,7 +24082,7 @@ "x-appwrite": { "method": "updateDeploymentStatus", "group": "deployments", - "weight": 480, + "weight": 481, "cookies": false, "type": "", "demo": "sites\/update-deployment-status.md", @@ -24087,7 +24151,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 482, + "weight": 483, "cookies": false, "type": "", "demo": "sites\/list-logs.md", @@ -24169,7 +24233,7 @@ "x-appwrite": { "method": "getLog", "group": "logs", - "weight": 481, + "weight": 482, "cookies": false, "type": "", "demo": "sites\/get-log.md", @@ -24235,7 +24299,7 @@ "x-appwrite": { "method": "deleteLog", "group": "logs", - "weight": 483, + "weight": 484, "cookies": false, "type": "", "demo": "sites\/delete-log.md", @@ -24304,7 +24368,7 @@ "x-appwrite": { "method": "listVariables", "group": "variables", - "weight": 486, + "weight": 487, "cookies": false, "type": "", "demo": "sites\/list-variables.md", @@ -24365,7 +24429,7 @@ "x-appwrite": { "method": "createVariable", "group": "variables", - "weight": 484, + "weight": 485, "cookies": false, "type": "", "demo": "sites\/create-variable.md", @@ -24457,7 +24521,7 @@ "x-appwrite": { "method": "getVariable", "group": "variables", - "weight": 485, + "weight": 486, "cookies": false, "type": "", "demo": "sites\/get-variable.md", @@ -24526,7 +24590,7 @@ "x-appwrite": { "method": "updateVariable", "group": "variables", - "weight": 487, + "weight": 488, "cookies": false, "type": "", "demo": "sites\/update-variable.md", @@ -24622,7 +24686,7 @@ "x-appwrite": { "method": "deleteVariable", "group": "variables", - "weight": 488, + "weight": 489, "cookies": false, "type": "", "demo": "sites\/delete-variable.md", @@ -24691,7 +24755,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 520, + "weight": 521, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -24775,7 +24839,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 518, + "weight": 519, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -24846,7 +24910,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -24859,7 +24924,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "default": "none", "x-example": "none", "enum": [ @@ -24922,7 +24987,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 519, + "weight": 520, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -24984,7 +25049,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 521, + "weight": 522, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -25057,7 +25122,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -25070,7 +25136,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "description": "Compression algorithm chosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", "default": "none", "x-example": "none", "enum": [ @@ -25127,7 +25193,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 522, + "weight": 523, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -25189,7 +25255,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 525, + "weight": 526, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -25284,7 +25350,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 523, + "weight": 524, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -25377,7 +25443,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 524, + "weight": 525, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -25450,7 +25516,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 526, + "weight": 527, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -25543,7 +25609,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 527, + "weight": 528, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -25616,7 +25682,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 529, + "weight": 530, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -25698,7 +25764,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 528, + "weight": 529, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -25908,7 +25974,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 530, + "weight": 531, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -26274,7 +26340,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -27919,6 +27986,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -28033,6 +28101,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -28395,6 +28464,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -28402,6 +28472,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -28409,6 +28480,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -28523,6 +28595,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -28530,6 +28603,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -28537,6 +28611,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -28651,6 +28726,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -28658,6 +28734,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -28665,6 +28742,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -28779,6 +28857,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -28786,6 +28865,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -28793,6 +28873,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -29932,7 +30013,8 @@ "type": "integer", "description": "Column size for text columns, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -30073,6 +30155,7 @@ "description": "Maximum size of the string column.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -30187,6 +30270,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -30301,6 +30385,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -32196,13 +32281,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32318,13 +32405,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32364,7 +32453,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -32451,7 +32540,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -32544,7 +32633,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -32609,7 +32698,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -32687,7 +32776,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -32752,7 +32841,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32847,7 +32936,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32895,7 +32984,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -32907,7 +32997,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -32929,7 +33020,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -32970,7 +33062,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -33043,7 +33135,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -33139,7 +33231,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -33214,7 +33306,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -33311,7 +33403,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -33375,7 +33467,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33457,7 +33549,7 @@ "x-appwrite": { "method": "list", "group": "files", - "weight": 515, + "weight": 516, "cookies": false, "type": "", "demo": "tokens\/list.md", @@ -33547,7 +33639,7 @@ "x-appwrite": { "method": "createFileToken", "group": "files", - "weight": 513, + "weight": 514, "cookies": false, "type": "", "demo": "tokens\/create-file-token.md", @@ -33632,7 +33724,7 @@ "x-appwrite": { "method": "get", "group": "tokens", - "weight": 514, + "weight": 515, "cookies": false, "type": "", "demo": "tokens\/get.md", @@ -33693,7 +33785,7 @@ "x-appwrite": { "method": "update", "group": "tokens", - "weight": 516, + "weight": 517, "cookies": false, "type": "", "demo": "tokens\/update.md", @@ -33765,7 +33857,7 @@ "x-appwrite": { "method": "delete", "group": "tokens", - "weight": 517, + "weight": 518, "cookies": false, "type": "", "demo": "tokens\/delete.md", @@ -33826,7 +33918,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33910,7 +34002,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33954,6 +34046,7 @@ "description": "User email.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { @@ -33961,6 +34054,7 @@ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -34010,7 +34104,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -34053,13 +34147,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34104,7 +34200,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -34147,13 +34243,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34196,7 +34294,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -34277,7 +34375,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -34341,7 +34439,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -34384,13 +34482,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34435,7 +34535,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -34478,13 +34578,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34529,7 +34631,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -34572,13 +34674,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34590,25 +34694,29 @@ "type": "integer", "description": "Optional CPU cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -34658,7 +34766,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -34701,13 +34809,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34773,7 +34883,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34816,13 +34926,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -34886,7 +34998,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34943,7 +35055,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -35007,7 +35119,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -35052,7 +35164,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -35089,7 +35202,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -35140,7 +35253,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -35174,7 +35288,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -35257,7 +35371,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -35340,7 +35454,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -35434,7 +35548,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -35573,7 +35687,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -35708,7 +35822,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -35828,7 +35942,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35948,7 +36062,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -36068,7 +36182,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -36190,7 +36304,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -36272,7 +36386,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -36354,7 +36468,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -36399,7 +36513,8 @@ "type": "string", "description": "User phone number.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -36434,7 +36549,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -36496,7 +36611,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -36576,7 +36691,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -36647,7 +36762,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -36704,7 +36819,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -36763,7 +36878,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -36835,7 +36950,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36915,7 +37030,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36998,7 +37113,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -37111,7 +37226,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -37181,7 +37296,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -37273,7 +37388,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -37345,7 +37460,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -37390,13 +37505,15 @@ "type": "integer", "description": "Token length in characters. The default length is 6 characters", "default": 6, - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", "default": 900, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -37430,7 +37547,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -37512,7 +37629,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -39105,14 +39222,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -40555,14 +40672,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -43148,7 +43265,7 @@ }, "compression": { "type": "string", - "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "description": "Compression algorithm chosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", "x-example": "gzip" }, "encryption": { @@ -43165,6 +43282,12 @@ "type": "boolean", "description": "Image transformations are enabled.", "x-example": false + }, + "totalSize": { + "type": "integer", + "description": "Total size of this bucket in bytes.", + "x-example": 128, + "format": "int32" } }, "required": [ @@ -43180,7 +43303,8 @@ "compression", "encryption", "antivirus", - "transformations" + "transformations", + "totalSize" ], "example": { "$id": "5e5ea5c16897e", @@ -43200,7 +43324,8 @@ "compression": "gzip", "encryption": false, "antivirus": false, - "transformations": false + "transformations": false, + "totalSize": 128 } }, "resourceToken": { diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 07889bba5e..ae64cba59b 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -191,7 +191,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -280,13 +281,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -498,7 +501,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -608,7 +612,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -683,7 +687,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -807,7 +811,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -948,7 +952,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1072,7 +1076,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1209,7 +1213,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1349,7 +1353,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1450,7 +1454,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1551,7 +1555,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1652,7 +1656,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1874,7 +1878,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1949,13 +1954,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2160,13 +2167,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2485,13 +2494,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3429,7 +3440,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3520,13 +3532,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3754,7 +3768,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3882,7 +3897,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4191,7 +4207,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4317,7 +4333,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4449,7 +4465,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4513,7 +4529,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -5001,7 +5017,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -5085,7 +5101,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5177,7 +5193,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5269,7 +5285,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6087,7 +6103,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7208,13 +7225,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7329,13 +7348,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -7649,7 +7670,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -7724,7 +7745,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -7797,7 +7818,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -7850,7 +7871,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -7903,7 +7924,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -7956,7 +7977,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -8009,7 +8030,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -8062,7 +8083,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -8115,7 +8136,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -8168,7 +8189,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -8223,7 +8244,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -8308,7 +8329,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -9275,7 +9296,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -10393,13 +10415,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10513,13 +10537,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -10559,7 +10585,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -10644,7 +10670,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -10735,7 +10761,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -10798,7 +10824,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -10874,7 +10900,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -10937,7 +10963,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -11030,7 +11056,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -11076,7 +11102,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -11088,7 +11115,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -11110,7 +11138,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -11151,7 +11180,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -11222,7 +11251,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -11316,7 +11345,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -11389,7 +11418,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -11485,7 +11514,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -11548,7 +11577,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 4b384cae76..7672fc09d4 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -201,7 +201,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -333,13 +334,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -548,7 +551,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -657,7 +661,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -731,7 +735,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -854,7 +858,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -994,7 +998,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1117,7 +1121,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1253,7 +1257,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1392,7 +1396,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1492,7 +1496,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1592,7 +1596,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1692,7 +1696,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1911,7 +1915,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1985,13 +1990,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2193,13 +2200,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2513,13 +2522,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3445,7 +3456,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3535,13 +3547,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3767,7 +3781,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3894,7 +3909,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -4200,7 +4216,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4326,7 +4342,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4458,7 +4474,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4522,7 +4538,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -5010,7 +5026,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -5094,7 +5110,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -5186,7 +5202,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -5278,7 +5294,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6518,7 +6534,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -8343,6 +8360,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -8457,6 +8475,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8819,6 +8838,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8826,6 +8846,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8833,6 +8854,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8947,6 +8969,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8954,6 +8977,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8961,6 +8985,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -9075,6 +9100,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -9082,6 +9108,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -9089,6 +9116,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -9203,6 +9231,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -9210,6 +9239,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -9217,6 +9247,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -10356,7 +10387,8 @@ "type": "integer", "description": "Attribute size for text attributes, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -10497,6 +10529,7 @@ "description": "Maximum size of the string attribute.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10611,6 +10644,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10725,6 +10759,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -12327,13 +12362,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12448,13 +12485,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -13505,7 +13544,8 @@ "type": "integer", "description": "Function maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14292,7 +14332,8 @@ "type": "integer", "description": "Maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -16160,7 +16201,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -16235,7 +16276,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -16308,7 +16349,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -16359,7 +16400,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -16410,7 +16451,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -16461,7 +16502,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -16521,7 +16562,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -16572,7 +16613,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -16623,7 +16664,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -16685,7 +16726,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -16747,7 +16788,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -16818,7 +16859,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -16880,7 +16921,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -16923,6 +16964,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -16966,7 +17008,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -17028,7 +17070,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -17090,7 +17132,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -17152,7 +17194,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -17214,7 +17256,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -17276,7 +17318,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -17338,7 +17380,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -17400,7 +17442,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -17462,7 +17504,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -17513,7 +17555,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -17564,7 +17606,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -17615,7 +17657,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -17668,7 +17710,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -17721,7 +17763,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -17774,7 +17816,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -17827,7 +17869,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -17880,7 +17922,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -17933,7 +17975,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -17986,7 +18028,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -18039,7 +18081,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -18124,7 +18166,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -18284,7 +18326,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -18451,7 +18493,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -18575,7 +18617,8 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", "default": -1, - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -18649,7 +18692,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -18787,6 +18830,7 @@ "description": "Badge for push notification. Available only for iOS platforms.", "default": null, "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -18862,7 +18906,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -19052,7 +19096,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -19241,7 +19285,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -19297,7 +19341,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -19358,7 +19402,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -19440,7 +19484,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -19522,7 +19566,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -19607,7 +19651,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -19796,7 +19840,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -19982,7 +20026,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -20140,7 +20184,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -20294,7 +20338,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -20367,7 +20411,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20379,7 +20424,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20424,7 +20470,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -20506,7 +20552,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20552,7 +20599,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -20657,7 +20704,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -20760,7 +20807,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -20820,7 +20867,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20832,7 +20880,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20877,7 +20926,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -20946,7 +20995,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20992,7 +21042,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -21052,7 +21102,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21064,7 +21115,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21109,7 +21161,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -21178,7 +21230,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21224,7 +21277,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -21364,7 +21417,8 @@ "type": "integer", "description": "The default SMTP server port.", "default": 587, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -21413,7 +21467,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21425,7 +21480,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -21471,7 +21527,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -21610,6 +21666,7 @@ "description": "SMTP port.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -21660,7 +21717,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -21713,7 +21771,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -21761,7 +21819,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -21818,7 +21877,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -21921,7 +21980,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -21969,7 +22028,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -22026,7 +22086,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -22129,7 +22189,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -22177,7 +22237,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -22234,7 +22295,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -22337,7 +22398,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -22385,7 +22446,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -22442,7 +22504,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -22543,7 +22605,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -22599,7 +22661,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -22660,7 +22722,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -22742,7 +22804,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -22824,7 +22886,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -22907,7 +22969,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -22996,7 +23058,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -23057,7 +23119,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -23139,7 +23201,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -23200,7 +23262,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -23282,7 +23344,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -23373,7 +23435,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -23461,7 +23523,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -23525,7 +23587,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -23596,7 +23658,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 232, + "weight": 221, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -23679,7 +23741,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 226, + "weight": 215, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -23742,7 +23804,8 @@ "type": "string", "description": "Source Appwrite endpoint", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "projectId": { "type": "string", @@ -23792,7 +23855,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 234, + "weight": 223, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -23901,7 +23964,7 @@ "x-appwrite": { "method": "createCSVExport", "group": null, - "weight": 231, + "weight": 220, "cookies": false, "type": "", "demo": "migrations\/create-csv-export.md", @@ -24027,7 +24090,7 @@ "x-appwrite": { "method": "createCSVImport", "group": null, - "weight": 230, + "weight": 219, "cookies": false, "type": "", "demo": "migrations\/create-csv-import.md", @@ -24118,7 +24181,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 227, + "weight": 216, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -24211,7 +24274,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 235, + "weight": 224, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -24297,7 +24360,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 229, + "weight": 218, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -24391,7 +24454,8 @@ "type": "integer", "description": "Source's Database Port", "default": 5432, - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24432,7 +24496,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 237, + "weight": 226, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -24568,7 +24632,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 228, + "weight": 217, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -24626,7 +24690,8 @@ "type": "string", "description": "Source's Supabase Endpoint", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "apiKey": { "type": "string", @@ -24656,7 +24721,8 @@ "type": "integer", "description": "Source's Database Port", "default": 5432, - "x-example": null + "x-example": null, + "format": "int32" } }, "required": [ @@ -24696,7 +24762,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 236, + "weight": 225, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -24823,7 +24889,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 233, + "weight": 222, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -24882,7 +24948,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 238, + "weight": 227, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -24936,7 +25002,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 239, + "weight": 228, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -24995,7 +25061,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 138, + "weight": 127, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -25078,7 +25144,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 140, + "weight": 129, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -25127,7 +25193,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 139, + "weight": 128, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -25209,7 +25275,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 141, + "weight": 130, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -25268,7 +25334,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 142, + "weight": 131, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -25354,7 +25420,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 143, + "weight": 132, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -25438,7 +25504,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId, labels, search", "required": false, "type": "array", "collectionFormat": "multi", @@ -25493,7 +25559,7 @@ "x-appwrite": { "method": "create", "group": "projects", - "weight": 92, + "weight": 81, "cookies": false, "type": "", "demo": "projects\/create.md", @@ -25568,7 +25634,8 @@ "type": "string", "description": "Project URL.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25641,7 +25708,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 93, + "weight": 82, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -25700,7 +25767,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 94, + "weight": 83, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -25760,7 +25827,8 @@ "type": "string", "description": "Project URL.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "legalName": { "type": "string", @@ -25826,7 +25894,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 111, + "weight": 100, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -25887,7 +25955,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 98, + "weight": 87, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -26044,7 +26112,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 99, + "weight": 88, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -26183,7 +26251,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 104, + "weight": 93, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -26225,7 +26293,8 @@ "type": "integer", "description": "Project session length in seconds. Max length: 31536000 seconds.", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26262,7 +26331,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 103, + "weight": 92, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -26304,7 +26373,8 @@ "type": "integer", "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26341,7 +26411,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 109, + "weight": 98, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -26383,7 +26453,8 @@ "type": "integer", "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" } }, "required": [ @@ -26420,7 +26491,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 102, + "weight": 91, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -26513,7 +26584,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 110, + "weight": 99, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -26595,7 +26666,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 107, + "weight": 96, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -26674,7 +26745,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 106, + "weight": 95, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -26716,7 +26787,8 @@ "type": "integer", "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", "default": null, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -26753,7 +26825,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 108, + "weight": 97, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -26832,7 +26904,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 101, + "weight": 90, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -26911,7 +26983,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 137, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -26990,7 +27062,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 105, + "weight": 94, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -27459,7 +27531,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 123, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -27569,7 +27641,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } }, "required": [ @@ -27604,7 +27677,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 119, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -27672,7 +27745,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 118, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -27826,7 +27899,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 120, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -27893,7 +27966,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 121, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -28050,7 +28123,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 122, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -28200,7 +28273,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 100, + "weight": 89, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -28343,7 +28416,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 125, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -28411,7 +28484,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 124, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -28532,7 +28605,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 126, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -28599,7 +28672,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 127, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -28697,7 +28770,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 128, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -28766,7 +28839,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 96, + "weight": 85, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -28869,7 +28942,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 97, + "weight": 86, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -28948,7 +29021,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 129, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -29078,13 +29151,15 @@ "type": "string", "description": "Email of the sender", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29096,7 +29171,8 @@ "type": "integer", "description": "SMTP server port", "default": 587, - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29154,7 +29230,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 130, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -29291,13 +29367,15 @@ "type": "string", "description": "Email of the sender", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "host": { "type": "string", @@ -29309,7 +29387,8 @@ "type": "integer", "description": "SMTP server port", "default": 587, - "x-example": null + "x-example": null, + "format": "int32" }, "username": { "type": "string", @@ -29373,7 +29452,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 95, + "weight": 84, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -29450,7 +29529,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 132, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -29671,7 +29750,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 134, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -29893,13 +29972,15 @@ "type": "string", "description": "Email of the sender", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyTo": { "type": "string", "description": "Reply to email", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -29935,7 +30016,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 136, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -30156,7 +30237,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 131, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -30438,7 +30519,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 133, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -30742,7 +30823,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 135, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -31024,7 +31105,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 113, + "weight": 102, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -31092,7 +31173,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 112, + "weight": 101, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -31211,7 +31292,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 114, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -31278,7 +31359,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 115, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -31400,7 +31481,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 117, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -31469,7 +31550,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 116, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -31810,7 +31891,8 @@ "type": "string", "description": "Target URL of redirection", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "statusCode": { "type": "string", @@ -32309,7 +32391,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -32993,7 +33076,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -34915,7 +34999,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -35124,7 +35209,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -36468,7 +36554,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -38188,6 +38275,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -38301,6 +38389,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -38660,6 +38749,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -38667,6 +38757,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -38674,6 +38765,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -38787,6 +38879,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -38794,6 +38887,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -38801,6 +38895,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -38914,6 +39009,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -38921,6 +39017,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -38928,6 +39025,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -39041,6 +39139,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -39048,6 +39147,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -39055,6 +39155,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -40184,7 +40285,8 @@ "type": "integer", "description": "Column size for text columns, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -40324,6 +40426,7 @@ "description": "Maximum size of the string column.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -40437,6 +40540,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -40550,6 +40654,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -42589,13 +42694,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42709,13 +42816,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -42953,7 +43062,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -43038,7 +43147,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -43129,7 +43238,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -43192,7 +43301,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -43268,7 +43377,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -43331,7 +43440,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 157, + "weight": 146, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -43411,7 +43520,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -43504,7 +43613,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -43550,7 +43659,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -43562,7 +43672,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -43584,7 +43695,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -43625,7 +43737,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -43696,7 +43808,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -43790,7 +43902,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -43863,7 +43975,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -43958,7 +44070,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -44020,7 +44132,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -44464,7 +44576,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -44547,7 +44659,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -44590,6 +44702,7 @@ "description": "User email.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { @@ -44597,6 +44710,7 @@ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -44646,7 +44760,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -44688,13 +44802,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44739,7 +44855,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -44781,13 +44897,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -44830,7 +44948,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -44910,7 +45028,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -44973,7 +45091,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -45015,13 +45133,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45066,7 +45186,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -45108,13 +45228,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -45159,7 +45281,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -45201,13 +45323,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45219,25 +45343,29 @@ "type": "integer", "description": "Optional CPU cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -45287,7 +45415,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -45329,13 +45457,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -45401,7 +45531,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -45443,13 +45573,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -45513,7 +45645,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 200, + "weight": 189, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -45584,7 +45716,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -45640,7 +45772,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -45703,7 +45835,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -45747,7 +45879,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -45784,7 +45917,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -45834,7 +45967,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -45868,7 +46002,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -45950,7 +46084,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -46032,7 +46166,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -46125,7 +46259,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -46261,7 +46395,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -46393,7 +46527,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -46510,7 +46644,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -46627,7 +46761,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -46744,7 +46878,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -46863,7 +46997,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -46944,7 +47078,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -47025,7 +47159,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -47069,7 +47203,8 @@ "type": "string", "description": "User phone number.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -47104,7 +47239,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -47165,7 +47300,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -47244,7 +47379,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -47314,7 +47449,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -47370,7 +47505,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -47428,7 +47563,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -47499,7 +47634,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -47578,7 +47713,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -47660,7 +47795,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -47772,7 +47907,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -47841,7 +47976,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -47932,7 +48067,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -48003,7 +48138,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -48047,13 +48182,15 @@ "type": "integer", "description": "Token length in characters. The default length is 6 characters", "default": 6, - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", "default": 900, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -48087,7 +48224,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -48168,7 +48305,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -48249,7 +48386,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 204, + "weight": 193, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -48345,7 +48482,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 205, + "weight": 194, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -48439,7 +48576,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 206, + "weight": 195, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -48523,7 +48660,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 207, + "weight": 196, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -48590,7 +48727,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 208, + "weight": 197, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -48657,7 +48794,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 203, + "weight": 192, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -48741,7 +48878,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 213, + "weight": 202, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -48826,7 +48963,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 210, + "weight": 199, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -48907,7 +49044,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 211, + "weight": 200, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -48961,7 +49098,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 212, + "weight": 201, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -50939,14 +51076,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -52389,14 +52526,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 63e43dbf69..284c917919 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -202,7 +202,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", @@ -292,13 +293,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -513,7 +516,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -624,7 +628,7 @@ "x-appwrite": { "method": "updateMFA", "group": "mfa", - "weight": 288, + "weight": 277, "cookies": false, "type": "", "demo": "account\/update-mfa.md", @@ -700,7 +704,7 @@ "x-appwrite": { "method": "createMfaAuthenticator", "group": "mfa", - "weight": 290, + "weight": 279, "cookies": false, "type": "", "demo": "account\/create-mfa-authenticator.md", @@ -827,7 +831,7 @@ "x-appwrite": { "method": "updateMfaAuthenticator", "group": "mfa", - "weight": 291, + "weight": 280, "cookies": false, "type": "", "demo": "account\/update-mfa-authenticator.md", @@ -971,7 +975,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 292, + "weight": 281, "cookies": false, "type": "", "demo": "account\/delete-mfa-authenticator.md", @@ -1098,7 +1102,7 @@ "x-appwrite": { "method": "createMfaChallenge", "group": "mfa", - "weight": 296, + "weight": 285, "cookies": false, "type": "", "demo": "account\/create-mfa-challenge.md", @@ -1238,7 +1242,7 @@ "x-appwrite": { "method": "updateMfaChallenge", "group": "mfa", - "weight": 297, + "weight": 286, "cookies": false, "type": "", "demo": "account\/update-mfa-challenge.md", @@ -1381,7 +1385,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 289, + "weight": 278, "cookies": false, "type": "", "demo": "account\/list-mfa-factors.md", @@ -1485,7 +1489,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 295, + "weight": 284, "cookies": false, "type": "", "demo": "account\/get-mfa-recovery-codes.md", @@ -1589,7 +1593,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 293, + "weight": 282, "cookies": false, "type": "", "demo": "account\/create-mfa-recovery-codes.md", @@ -1693,7 +1697,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 294, + "weight": 283, "cookies": false, "type": "", "demo": "account\/update-mfa-recovery-codes.md", @@ -1920,7 +1924,8 @@ "type": "string", "description": "Current user password. Must be at least 8 chars.", "default": "", - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -1996,13 +2001,15 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -2210,13 +2217,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -2540,13 +2549,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password. Must be at least 8 chars.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" } }, "required": [ @@ -3132,7 +3143,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "phrase": { "type": "boolean", @@ -3224,13 +3236,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "url": { "type": "string", "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "phrase": { "type": "boolean", @@ -3460,7 +3474,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -3591,7 +3606,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": null, - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" } }, "required": [ @@ -3905,7 +3921,7 @@ "x-appwrite": { "method": "getBrowser", "group": null, - "weight": 50, + "weight": 288, "cookies": false, "type": "location", "demo": "avatars\/get-browser.md", @@ -4033,7 +4049,7 @@ "x-appwrite": { "method": "getCreditCard", "group": null, - "weight": 49, + "weight": 287, "cookies": false, "type": "location", "demo": "avatars\/get-credit-card.md", @@ -4167,7 +4183,7 @@ "x-appwrite": { "method": "getFavicon", "group": null, - "weight": 53, + "weight": 291, "cookies": false, "type": "location", "demo": "avatars\/get-favicon.md", @@ -4233,7 +4249,7 @@ "x-appwrite": { "method": "getFlag", "group": null, - "weight": 51, + "weight": 289, "cookies": false, "type": "location", "demo": "avatars\/get-flag.md", @@ -4723,7 +4739,7 @@ "x-appwrite": { "method": "getImage", "group": null, - "weight": 52, + "weight": 290, "cookies": false, "type": "location", "demo": "avatars\/get-image.md", @@ -4809,7 +4825,7 @@ "x-appwrite": { "method": "getInitials", "group": null, - "weight": 55, + "weight": 293, "cookies": false, "type": "location", "demo": "avatars\/get-initials.md", @@ -4903,7 +4919,7 @@ "x-appwrite": { "method": "getQR", "group": null, - "weight": 54, + "weight": 292, "cookies": false, "type": "location", "demo": "avatars\/get-qr.md", @@ -4997,7 +5013,7 @@ "x-appwrite": { "method": "getScreenshot", "group": null, - "weight": 56, + "weight": 294, "cookies": false, "type": "location", "demo": "avatars\/get-screenshot.md", @@ -6061,7 +6077,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -7809,6 +7826,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -7924,6 +7942,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -8289,6 +8308,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8296,6 +8316,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8303,6 +8324,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -8418,6 +8440,7 @@ "description": "Minimum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -8425,6 +8448,7 @@ "description": "Maximum value.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -8432,6 +8456,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -8547,6 +8572,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -8554,6 +8580,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -8561,6 +8588,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -8676,6 +8704,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -8683,6 +8712,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -8690,6 +8720,7 @@ "description": "Default value. Cannot be set when attribute is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -9839,7 +9870,8 @@ "type": "integer", "description": "Attribute size for text attributes, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -9981,6 +10013,7 @@ "description": "Maximum size of the string attribute.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -10096,6 +10129,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -10211,6 +10245,7 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -11746,13 +11781,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -11869,13 +11906,15 @@ "type": "number", "description": "Value to increment the attribute by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -12540,7 +12579,8 @@ "type": "integer", "description": "Function maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -13019,7 +13059,8 @@ "type": "integer", "description": "Maximum execution time in seconds.", "default": 15, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "enabled": { "type": "boolean", @@ -14832,7 +14873,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 225, + "weight": 214, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14909,7 +14950,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 224, + "weight": 213, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -14984,7 +15025,7 @@ "x-appwrite": { "method": "get", "group": "health", - "weight": 68, + "weight": 57, "cookies": false, "type": "", "demo": "health\/get.md", @@ -15036,7 +15077,7 @@ "x-appwrite": { "method": "getAntivirus", "group": "health", - "weight": 89, + "weight": 78, "cookies": false, "type": "", "demo": "health\/get-antivirus.md", @@ -15088,7 +15129,7 @@ "x-appwrite": { "method": "getCache", "group": "health", - "weight": 71, + "weight": 60, "cookies": false, "type": "", "demo": "health\/get-cache.md", @@ -15140,7 +15181,7 @@ "x-appwrite": { "method": "getCertificate", "group": "health", - "weight": 76, + "weight": 65, "cookies": false, "type": "", "demo": "health\/get-certificate.md", @@ -15201,7 +15242,7 @@ "x-appwrite": { "method": "getDB", "group": "health", - "weight": 70, + "weight": 59, "cookies": false, "type": "", "demo": "health\/get-db.md", @@ -15253,7 +15294,7 @@ "x-appwrite": { "method": "getPubSub", "group": "health", - "weight": 72, + "weight": 61, "cookies": false, "type": "", "demo": "health\/get-pub-sub.md", @@ -15305,7 +15346,7 @@ "x-appwrite": { "method": "getQueueBuilds", "group": "queue", - "weight": 78, + "weight": 67, "cookies": false, "type": "", "demo": "health\/get-queue-builds.md", @@ -15368,7 +15409,7 @@ "x-appwrite": { "method": "getQueueCertificates", "group": "queue", - "weight": 77, + "weight": 66, "cookies": false, "type": "", "demo": "health\/get-queue-certificates.md", @@ -15431,7 +15472,7 @@ "x-appwrite": { "method": "getQueueDatabases", "group": "queue", - "weight": 79, + "weight": 68, "cookies": false, "type": "", "demo": "health\/get-queue-databases.md", @@ -15503,7 +15544,7 @@ "x-appwrite": { "method": "getQueueDeletes", "group": "queue", - "weight": 80, + "weight": 69, "cookies": false, "type": "", "demo": "health\/get-queue-deletes.md", @@ -15566,7 +15607,7 @@ "x-appwrite": { "method": "getFailedJobs", "group": "queue", - "weight": 90, + "weight": 79, "cookies": false, "type": "", "demo": "health\/get-failed-jobs.md", @@ -15610,6 +15651,7 @@ "v1-webhooks", "v1-certificates", "v1-builds", + "v1-screenshots", "v1-messaging", "v1-migrations" ], @@ -15653,7 +15695,7 @@ "x-appwrite": { "method": "getQueueFunctions", "group": "queue", - "weight": 84, + "weight": 73, "cookies": false, "type": "", "demo": "health\/get-queue-functions.md", @@ -15716,7 +15758,7 @@ "x-appwrite": { "method": "getQueueLogs", "group": "queue", - "weight": 75, + "weight": 64, "cookies": false, "type": "", "demo": "health\/get-queue-logs.md", @@ -15779,7 +15821,7 @@ "x-appwrite": { "method": "getQueueMails", "group": "queue", - "weight": 81, + "weight": 70, "cookies": false, "type": "", "demo": "health\/get-queue-mails.md", @@ -15842,7 +15884,7 @@ "x-appwrite": { "method": "getQueueMessaging", "group": "queue", - "weight": 82, + "weight": 71, "cookies": false, "type": "", "demo": "health\/get-queue-messaging.md", @@ -15905,7 +15947,7 @@ "x-appwrite": { "method": "getQueueMigrations", "group": "queue", - "weight": 83, + "weight": 72, "cookies": false, "type": "", "demo": "health\/get-queue-migrations.md", @@ -15968,7 +16010,7 @@ "x-appwrite": { "method": "getQueueStatsResources", "group": "queue", - "weight": 85, + "weight": 74, "cookies": false, "type": "", "demo": "health\/get-queue-stats-resources.md", @@ -16031,7 +16073,7 @@ "x-appwrite": { "method": "getQueueUsage", "group": "queue", - "weight": 86, + "weight": 75, "cookies": false, "type": "", "demo": "health\/get-queue-usage.md", @@ -16094,7 +16136,7 @@ "x-appwrite": { "method": "getQueueWebhooks", "group": "queue", - "weight": 74, + "weight": 63, "cookies": false, "type": "", "demo": "health\/get-queue-webhooks.md", @@ -16157,7 +16199,7 @@ "x-appwrite": { "method": "getStorage", "group": "storage", - "weight": 88, + "weight": 77, "cookies": false, "type": "", "demo": "health\/get-storage.md", @@ -16209,7 +16251,7 @@ "x-appwrite": { "method": "getStorageLocal", "group": "storage", - "weight": 87, + "weight": 76, "cookies": false, "type": "", "demo": "health\/get-storage-local.md", @@ -16261,7 +16303,7 @@ "x-appwrite": { "method": "getTime", "group": "health", - "weight": 73, + "weight": 62, "cookies": false, "type": "", "demo": "health\/get-time.md", @@ -16313,7 +16355,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 60, + "weight": 49, "cookies": false, "type": "", "demo": "locale\/get.md", @@ -16368,7 +16410,7 @@ "x-appwrite": { "method": "listCodes", "group": null, - "weight": 61, + "weight": 50, "cookies": false, "type": "", "demo": "locale\/list-codes.md", @@ -16423,7 +16465,7 @@ "x-appwrite": { "method": "listContinents", "group": null, - "weight": 65, + "weight": 54, "cookies": false, "type": "", "demo": "locale\/list-continents.md", @@ -16478,7 +16520,7 @@ "x-appwrite": { "method": "listCountries", "group": null, - "weight": 62, + "weight": 51, "cookies": false, "type": "", "demo": "locale\/list-countries.md", @@ -16533,7 +16575,7 @@ "x-appwrite": { "method": "listCountriesEU", "group": null, - "weight": 63, + "weight": 52, "cookies": false, "type": "", "demo": "locale\/list-countries-eu.md", @@ -16588,7 +16630,7 @@ "x-appwrite": { "method": "listCountriesPhones", "group": null, - "weight": 64, + "weight": 53, "cookies": false, "type": "", "demo": "locale\/list-countries-phones.md", @@ -16643,7 +16685,7 @@ "x-appwrite": { "method": "listCurrencies", "group": null, - "weight": 66, + "weight": 55, "cookies": false, "type": "", "demo": "locale\/list-currencies.md", @@ -16698,7 +16740,7 @@ "x-appwrite": { "method": "listLanguages", "group": null, - "weight": 67, + "weight": 56, "cookies": false, "type": "", "demo": "locale\/list-languages.md", @@ -16753,7 +16795,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 280, + "weight": 269, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16839,7 +16881,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 277, + "weight": 266, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -17000,7 +17042,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 284, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -17168,7 +17210,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 279, + "weight": 268, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -17293,7 +17335,8 @@ "type": "integer", "description": "Badge for push notification. Available only for iOS Platform.", "default": -1, - "x-example": null + "x-example": null, + "format": "int32" }, "draft": { "type": "boolean", @@ -17367,7 +17410,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 286, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -17506,6 +17549,7 @@ "description": "Badge for push notification. Available only for iOS platforms.", "default": null, "x-example": null, + "format": "int32", "x-nullable": true }, "draft": { @@ -17581,7 +17625,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 278, + "weight": 267, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -17774,7 +17818,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 285, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17966,7 +18010,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 283, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -18023,7 +18067,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 287, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -18085,7 +18129,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 281, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -18168,7 +18212,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 282, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -18251,7 +18295,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 251, + "weight": 240, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -18337,7 +18381,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 250, + "weight": 239, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -18529,7 +18573,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 264, + "weight": 253, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -18718,7 +18762,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 249, + "weight": 238, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -18879,7 +18923,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 263, + "weight": 252, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -19036,7 +19080,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 240, + "weight": 229, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -19110,7 +19154,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19122,7 +19167,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19167,7 +19213,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 254, + "weight": 243, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -19250,7 +19296,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19296,7 +19343,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 244, + "weight": 233, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -19402,7 +19449,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 258, + "weight": 247, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -19506,7 +19553,7 @@ "x-appwrite": { "method": "createResendProvider", "group": "providers", - "weight": 242, + "weight": 231, "cookies": false, "type": "", "demo": "messaging\/create-resend-provider.md", @@ -19567,7 +19614,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19579,7 +19627,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19624,7 +19673,7 @@ "x-appwrite": { "method": "updateResendProvider", "group": "providers", - "weight": 256, + "weight": 245, "cookies": false, "type": "", "demo": "messaging\/update-resend-provider.md", @@ -19694,7 +19743,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19740,7 +19790,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 241, + "weight": 230, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -19801,7 +19851,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19813,7 +19864,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -19858,7 +19910,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 255, + "weight": 244, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -19928,7 +19980,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -19974,7 +20027,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 243, + "weight": 232, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -20117,7 +20170,8 @@ "type": "integer", "description": "The default SMTP server port.", "default": 587, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "username": { "type": "string", @@ -20166,7 +20220,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20178,7 +20233,8 @@ "type": "string", "description": "Email set in the reply to field for the mail. Default value is sender email.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "enabled": { "type": "boolean", @@ -20224,7 +20280,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 257, + "weight": 246, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -20366,6 +20422,7 @@ "description": "SMTP port.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "username": { @@ -20416,7 +20473,8 @@ "type": "string", "description": "Sender email address.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "replyToName": { "type": "string", @@ -20469,7 +20527,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 245, + "weight": 234, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -20518,7 +20576,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "customerId": { "type": "string", @@ -20575,7 +20634,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 259, + "weight": 248, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -20679,7 +20738,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 246, + "weight": 235, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -20728,7 +20787,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "username": { "type": "string", @@ -20785,7 +20845,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 260, + "weight": 249, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -20889,7 +20949,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 247, + "weight": 236, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -20938,7 +20998,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "accountSid": { "type": "string", @@ -20995,7 +21056,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 261, + "weight": 250, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -21099,7 +21160,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 248, + "weight": 237, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -21148,7 +21209,8 @@ "type": "string", "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "apiKey": { "type": "string", @@ -21205,7 +21267,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 262, + "weight": 251, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -21307,7 +21369,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 253, + "weight": 242, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -21364,7 +21426,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 265, + "weight": 254, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -21426,7 +21488,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 252, + "weight": 241, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -21509,7 +21571,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 274, + "weight": 263, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -21592,7 +21654,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 267, + "weight": 256, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -21676,7 +21738,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 266, + "weight": 255, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -21766,7 +21828,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 269, + "weight": 258, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -21828,7 +21890,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 270, + "weight": 259, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -21911,7 +21973,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 271, + "weight": 260, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -21973,7 +22035,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 268, + "weight": 257, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -22056,7 +22118,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 273, + "weight": 262, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -22148,7 +22210,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 272, + "weight": 261, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -22238,7 +22300,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 275, + "weight": 264, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -22303,7 +22365,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 276, + "weight": 265, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22544,7 +22606,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -22981,7 +23044,8 @@ "type": "integer", "description": "Maximum request time in seconds.", "default": 30, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "installCommand": { "type": "string", @@ -24846,7 +24910,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -25057,7 +25122,8 @@ "type": "integer", "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", "default": {}, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "allowedFileExtensions": { "type": "array", @@ -26274,7 +26340,8 @@ "type": "integer", "description": "Seconds before the transaction expires.", "default": 300, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -27919,6 +27986,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "array": { @@ -28033,6 +28101,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "newKey": { @@ -28395,6 +28464,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -28402,6 +28472,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -28409,6 +28480,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "array": { @@ -28523,6 +28595,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "max": { @@ -28530,6 +28603,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "default": { @@ -28537,6 +28611,7 @@ "description": "Default value. Cannot be set when required.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "newKey": { @@ -28651,6 +28726,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -28658,6 +28734,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -28665,6 +28742,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "array": { @@ -28779,6 +28857,7 @@ "description": "Minimum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "max": { @@ -28786,6 +28865,7 @@ "description": "Maximum value", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "default": { @@ -28793,6 +28873,7 @@ "description": "Default value. Cannot be set when column is required.", "default": null, "x-example": null, + "format": "int64", "x-nullable": true }, "newKey": { @@ -29932,7 +30013,8 @@ "type": "integer", "description": "Column size for text columns, in number of characters.", "default": null, - "x-example": 1 + "x-example": 1, + "format": "int32" }, "required": { "type": "boolean", @@ -30073,6 +30155,7 @@ "description": "Maximum size of the string column.", "default": null, "x-example": 1, + "format": "int32", "x-nullable": true }, "newKey": { @@ -30187,6 +30270,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "array": { @@ -30301,6 +30385,7 @@ "description": "Default value for column when not provided. Cannot be set when column is required.", "default": null, "x-example": "https:\/\/example.com", + "format": "url", "x-nullable": true }, "newKey": { @@ -32196,13 +32281,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "min": { "type": "number", "description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32318,13 +32405,15 @@ "type": "number", "description": "Value to increment the column by. The value must be a number.", "default": 1, - "x-example": null + "x-example": null, + "format": "float" }, "max": { "type": "number", "description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.", "default": null, "x-example": null, + "format": "float", "x-nullable": true }, "transactionId": { @@ -32364,7 +32453,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 145, + "weight": 134, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -32451,7 +32540,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 144, + "weight": 133, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -32544,7 +32633,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 146, + "weight": 135, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -32609,7 +32698,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 148, + "weight": 137, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -32687,7 +32776,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 150, + "weight": 139, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -32752,7 +32841,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 152, + "weight": 141, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -32847,7 +32936,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 151, + "weight": 140, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -32895,7 +32984,8 @@ "type": "string", "description": "Email of the new team member.", "default": "", - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "userId": { "type": "string", @@ -32907,7 +32997,8 @@ "type": "string", "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": "", - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" }, "roles": { "type": "array", @@ -32929,7 +33020,8 @@ "type": "string", "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", "default": "", - "x-example": "https:\/\/example.com" + "x-example": "https:\/\/example.com", + "format": "url" }, "name": { "type": "string", @@ -32970,7 +33062,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 153, + "weight": 142, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -33043,7 +33135,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 154, + "weight": 143, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -33139,7 +33231,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 156, + "weight": 145, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -33214,7 +33306,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 155, + "weight": 144, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -33311,7 +33403,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 147, + "weight": 136, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -33375,7 +33467,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 149, + "weight": 138, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -33826,7 +33918,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 167, + "weight": 156, "cookies": false, "type": "", "demo": "users\/list.md", @@ -33910,7 +34002,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 158, + "weight": 147, "cookies": false, "type": "", "demo": "users\/create.md", @@ -33954,6 +34046,7 @@ "description": "User email.", "default": null, "x-example": "email@example.com", + "format": "email", "x-nullable": true }, "phone": { @@ -33961,6 +34054,7 @@ "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", "default": null, "x-example": "+12065550100", + "format": "phone", "x-nullable": true }, "password": { @@ -34010,7 +34104,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 161, + "weight": 150, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -34053,13 +34147,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Argon2.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34104,7 +34200,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 159, + "weight": 148, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -34147,13 +34243,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Bcrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34196,7 +34294,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 175, + "weight": 164, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -34277,7 +34375,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 198, + "weight": 187, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -34341,7 +34439,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 160, + "weight": 149, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -34384,13 +34482,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using MD5.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34435,7 +34535,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 163, + "weight": 152, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -34478,13 +34578,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using PHPass.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "name": { "type": "string", @@ -34529,7 +34631,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 164, + "weight": 153, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -34572,13 +34674,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34590,25 +34694,29 @@ "type": "integer", "description": "Optional CPU cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordMemory": { "type": "integer", "description": "Optional memory cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordParallel": { "type": "integer", "description": "Optional parallelization cost used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "passwordLength": { "type": "integer", "description": "Optional hash length used to hash password.", "default": null, - "x-example": null + "x-example": null, + "format": "int32" }, "name": { "type": "string", @@ -34658,7 +34766,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 165, + "weight": 154, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -34701,13 +34809,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using Scrypt Modified.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordSalt": { "type": "string", @@ -34773,7 +34883,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 162, + "weight": 151, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -34816,13 +34926,15 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" }, "password": { "type": "string", "description": "User password hashed using SHA.", "default": null, - "x-example": "password" + "x-example": "password", + "format": "password" }, "passwordVersion": { "type": "string", @@ -34886,7 +34998,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 168, + "weight": 157, "cookies": false, "type": "", "demo": "users\/get.md", @@ -34943,7 +35055,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 196, + "weight": 185, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -35007,7 +35119,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 181, + "weight": 170, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -35052,7 +35164,8 @@ "type": "string", "description": "User email.", "default": null, - "x-example": "email@example.com" + "x-example": "email@example.com", + "format": "email" } }, "required": [ @@ -35089,7 +35202,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 199, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -35140,7 +35253,8 @@ "type": "integer", "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", "default": 900, - "x-example": 0 + "x-example": 0, + "format": "int32" } } } @@ -35174,7 +35288,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 177, + "weight": 166, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -35257,7 +35371,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 173, + "weight": 162, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -35340,7 +35454,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 172, + "weight": 161, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -35434,7 +35548,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 186, + "weight": 175, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -35573,7 +35687,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 191, + "weight": 180, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -35708,7 +35822,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 187, + "weight": 176, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -35828,7 +35942,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 188, + "weight": 177, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -35948,7 +36062,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 190, + "weight": 179, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -36068,7 +36182,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 189, + "weight": 178, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -36190,7 +36304,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 179, + "weight": 168, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -36272,7 +36386,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 180, + "weight": 169, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -36354,7 +36468,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 182, + "weight": 171, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -36399,7 +36513,8 @@ "type": "string", "description": "User phone number.", "default": null, - "x-example": "+12065550100" + "x-example": "+12065550100", + "format": "phone" } }, "required": [ @@ -36434,7 +36549,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 169, + "weight": 158, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -36496,7 +36611,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 184, + "weight": 173, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -36576,7 +36691,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 171, + "weight": 160, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -36647,7 +36762,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 192, + "weight": 181, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -36704,7 +36819,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 195, + "weight": 184, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -36763,7 +36878,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 194, + "weight": 183, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -36835,7 +36950,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 176, + "weight": 165, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -36915,7 +37030,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 174, + "weight": 163, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -36998,7 +37113,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 166, + "weight": 155, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -37111,7 +37226,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 170, + "weight": 159, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -37181,7 +37296,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 185, + "weight": 174, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -37273,7 +37388,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 197, + "weight": 186, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -37345,7 +37460,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 193, + "weight": 182, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -37390,13 +37505,15 @@ "type": "integer", "description": "Token length in characters. The default length is 6 characters", "default": 6, - "x-example": 4 + "x-example": 4, + "format": "int32" }, "expire": { "type": "integer", "description": "Token expiration period in seconds. The default expiration is 15 minutes.", "default": 900, - "x-example": 60 + "x-example": 60, + "format": "int32" } } } @@ -37430,7 +37547,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 183, + "weight": 172, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -37512,7 +37629,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 178, + "weight": 167, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -39105,14 +39222,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { @@ -40555,14 +40672,14 @@ "type": "integer", "description": "Minimum value to enforce for new documents.", "x-example": 1, - "format": "int32", + "format": "int64", "x-nullable": true }, "max": { "type": "integer", "description": "Maximum value to enforce for new documents.", "x-example": 10, - "format": "int32", + "format": "int64", "x-nullable": true }, "default": { diff --git a/composer.lock b/composer.lock index 8b68b2a1ba..d0765310b2 100644 --- a/composer.lock +++ b/composer.lock @@ -3552,23 +3552,23 @@ }, { "name": "utopia-php/audit", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/utopia-php/audit.git", - "reference": "27d66630f528473cb563bbcf362d7d9a711b384e" + "reference": "662244bd170bab3ba45fd4470ac2e5a36c980131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/audit/zipball/27d66630f528473cb563bbcf362d7d9a711b384e", - "reference": "27d66630f528473cb563bbcf362d7d9a711b384e", + "url": "https://api.github.com/repos/utopia-php/audit/zipball/662244bd170bab3ba45fd4470ac2e5a36c980131", + "reference": "662244bd170bab3ba45fd4470ac2e5a36c980131", "shasum": "" }, "require": { "php": ">=8.0", "utopia-php/database": "4.*", "utopia-php/fetch": "0.5.*", - "utopia-php/validators": "0.1.*" + "utopia-php/validators": "0.2.*" }, "require-dev": { "laravel/pint": "1.*", @@ -3595,9 +3595,9 @@ ], "support": { "issues": "https://github.com/utopia-php/audit/issues", - "source": "https://github.com/utopia-php/audit/tree/2.0.2" + "source": "https://github.com/utopia-php/audit/tree/2.0.3" }, - "time": "2026-01-07T07:01:25+00:00" + "time": "2026-01-13T09:49:40+00:00" }, { "name": "utopia-php/auth", @@ -4266,23 +4266,23 @@ }, { "name": "utopia-php/framework", - "version": "0.33.36", + "version": "0.33.37", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "fd835ed77e1cdf327067ce4e650cce86304e7098" + "reference": "30a119d76531d89da9240496940c84fcd9e1758b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/fd835ed77e1cdf327067ce4e650cce86304e7098", - "reference": "fd835ed77e1cdf327067ce4e650cce86304e7098", + "url": "https://api.github.com/repos/utopia-php/http/zipball/30a119d76531d89da9240496940c84fcd9e1758b", + "reference": "30a119d76531d89da9240496940c84fcd9e1758b", "shasum": "" }, "require": { "php": ">=8.3", "utopia-php/compression": "0.1.*", "utopia-php/telemetry": "0.1.*", - "utopia-php/validators": "0.1.*" + "utopia-php/validators": "0.2.*" }, "require-dev": { "laravel/pint": "1.*", @@ -4308,9 +4308,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.36" + "source": "https://github.com/utopia-php/http/tree/0.33.37" }, - "time": "2026-01-12T07:32:29+00:00" + "time": "2026-01-13T10:10:21+00:00" }, { "name": "utopia-php/image", @@ -4515,16 +4515,16 @@ }, { "name": "utopia-php/migration", - "version": "1.4.2", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "4cb7a0e65a36058d153ef5643090414c6525e4a2" + "reference": "52ca4234d8229b68e27e052248734a08784d9d3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/4cb7a0e65a36058d153ef5643090414c6525e4a2", - "reference": "4cb7a0e65a36058d153ef5643090414c6525e4a2", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/52ca4234d8229b68e27e052248734a08784d9d3d", + "reference": "52ca4234d8229b68e27e052248734a08784d9d3d", "shasum": "" }, "require": { @@ -4564,9 +4564,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/1.4.2" + "source": "https://github.com/utopia-php/migration/tree/1.4.3" }, - "time": "2026-01-08T04:46:18+00:00" + "time": "2026-01-13T09:51:08+00:00" }, { "name": "utopia-php/mongo", @@ -5013,22 +5013,22 @@ }, { "name": "utopia-php/swoole", - "version": "0.8.6", + "version": "0.8.4", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "14b00277c35a258cb263706fd4e05c50368feb4f" + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/14b00277c35a258cb263706fd4e05c50368feb4f", - "reference": "14b00277c35a258cb263706fd4e05c50368feb4f", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/150c30700e738c52348cce9ed0e0f0ff96872081", + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081", "shasum": "" }, "require": { "ext-swoole": "*", "php": ">=8.0", - "utopia-php/framework": "0.33.36" + "utopia-php/framework": "0.33.*" }, "require-dev": { "laravel/pint": "1.2.*", @@ -5058,9 +5058,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/0.8.6" + "source": "https://github.com/utopia-php/swoole/tree/0.8.4" }, - "time": "2026-01-12T07:57:35+00:00" + "time": "2025-09-07T09:39:46+00:00" }, { "name": "utopia-php/system", @@ -5170,16 +5170,16 @@ }, { "name": "utopia-php/validators", - "version": "0.1.0", + "version": "0.2.0", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "5c57d5b6cf964f8981807c1d3ea8df620c869080" + "reference": "30b6030a5b100fc1dff34506e5053759594b2a20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/5c57d5b6cf964f8981807c1d3ea8df620c869080", - "reference": "5c57d5b6cf964f8981807c1d3ea8df620c869080", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/30b6030a5b100fc1dff34506e5053759594b2a20", + "reference": "30b6030a5b100fc1dff34506e5053759594b2a20", "shasum": "" }, "require": { @@ -5187,7 +5187,7 @@ }, "require-dev": { "laravel/pint": "1.*", - "phpstan/phpstan": "1.*", + "phpstan/phpstan": "2.*", "phpunit/phpunit": "11.*" }, "type": "library", @@ -5209,9 +5209,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.1.0" + "source": "https://github.com/utopia-php/validators/tree/0.2.0" }, - "time": "2025-11-18T11:05:46+00:00" + "time": "2026-01-13T09:16:51+00:00" }, { "name": "utopia-php/vcs", @@ -8968,5 +8968,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.6.0" } diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php index 58ded9b78a..0989bb2904 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php @@ -67,9 +67,9 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID.') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('min', null, new Nullable(new Integer()), 'Minimum value', true) - ->param('max', null, new Nullable(new Integer()), 'Maximum value', true) - ->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when attribute is required.', true) + ->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true) + ->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true) + ->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when attribute is required.', true) ->param('array', false, new Boolean(), 'Is attribute an array?', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php index 84a43018d1..57797d3e03 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php @@ -65,9 +65,9 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID.') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('min', null, new Nullable(new Integer()), 'Minimum value', true) - ->param('max', null, new Nullable(new Integer()), 'Maximum value', true) - ->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when attribute is required.') + ->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true) + ->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true) + ->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when attribute is required.') ->param('newKey', null, new Nullable(new Key()), 'New Attribute Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php index 45e0cc6f60..f590e8bdbb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Create.php @@ -55,9 +55,9 @@ class Create extends IntegerCreate ->param('tableId', '', new UID(), 'Table ID.') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('min', null, new Nullable(new Integer()), 'Minimum value', true) - ->param('max', null, new Nullable(new Integer()), 'Maximum value', true) - ->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when column is required.', true) + ->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true) + ->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true) + ->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when column is required.', true) ->param('array', false, new Boolean(), 'Is column an array?', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php index f1f4ebb4a9..83b6f1bfc6 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php @@ -57,9 +57,9 @@ class Update extends IntegerUpdate ->param('tableId', '', new UID(), 'Table ID.') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('min', null, new Nullable(new Integer()), 'Minimum value', true) - ->param('max', null, new Nullable(new Integer()), 'Maximum value', true) - ->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when column is required.') + ->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true) + ->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true) + ->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when column is required.') ->param('newKey', null, new Nullable(new Key()), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 00e98afb60..0be3240ed7 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -550,7 +550,7 @@ class OpenAPI3 extends Format break; case 'Utopia\Validator\Integer': $node['schema']['type'] = $validator->getType(); - $node['schema']['format'] = 'int32'; + $node['schema']['format'] = $validator->getFormat(); if (!empty($param['example'])) { $node['schema']['x-example'] = $param['example']; } @@ -600,7 +600,7 @@ class OpenAPI3 extends Format $node['schema']['items']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); } if ($validator->getType() === 'integer') { - $node['schema']['items']['format'] = 'int32'; + $node['schema']['items']['format'] = $validator->getFormat() ?? 'int32'; } } else { $node['schema']['type'] = $validator->getType(); @@ -625,7 +625,7 @@ class OpenAPI3 extends Format $node['schema']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name); } if ($validator->getType() === 'integer') { - $node['format'] = 'int32'; + $node['schema']['format'] = $validator->getFormat() ?? 'int32'; } } break; @@ -694,6 +694,10 @@ class OpenAPI3 extends Format 'x-example' => $node['schema']['x-example'] ?? null ]; + if (isset($node['schema']['format'])) { + $body['content'][$consumes[0]]['schema']['properties'][$name]['format'] = $node['schema']['format']; + } + if (isset($node['schema']['enum'])) { /// If the enum flag is Set, add the enum values to the body $body['content'][$consumes[0]]['schema']['properties'][$name]['enum'] = $node['schema']['enum']; @@ -795,7 +799,7 @@ class OpenAPI3 extends Format case 'integer': $type = 'integer'; - $format = 'int32'; + $format = $rule['format'] ?? 'int32'; break; case 'float': diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 37173c51c6..fe663c6f55 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -539,7 +539,7 @@ class Swagger2 extends Format break; case 'Utopia\Validator\Integer': $node['type'] = $validator->getType(); - $node['format'] = 'int32'; + $node['format'] = $validator->getFormat(); if (!empty($param['example'])) { $node['x-example'] = $param['example']; } @@ -585,7 +585,7 @@ class Swagger2 extends Format $node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } if ($validator->getType() === 'integer') { - $node['items']['format'] = 'int32'; + $node['items']['format'] = $validator->getFormat() ?? 'int32'; } } else { $node['type'] = $validator->getType(); @@ -605,7 +605,7 @@ class Swagger2 extends Format $node['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name); } if ($validator->getType() === 'integer') { - $node['format'] = 'int32'; + $node['format'] = $validator->getFormat() ?? 'int32'; } } break; @@ -683,6 +683,10 @@ class Swagger2 extends Format 'x-example' => $node['x-example'] ?? null, ]; + if (isset($node['format'])) { + $body['schema']['properties'][$name]['format'] = $node['format']; + } + if (isset($node['enum'])) { /// If the enum flag is Set, add the enum values to the body $body['schema']['properties'][$name]['enum'] = $node['enum']; @@ -776,7 +780,7 @@ class Swagger2 extends Format case 'integer': $type = 'integer'; - $format = 'int32'; + $format = $rule['format'] ?? 'int32'; break; case 'float': diff --git a/src/Appwrite/Utopia/Response/Model/AttributeInteger.php b/src/Appwrite/Utopia/Response/Model/AttributeInteger.php index fddfe57445..ecdfd38e2d 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeInteger.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeInteger.php @@ -25,6 +25,7 @@ class AttributeInteger extends Attribute ]) ->addRule('min', [ 'type' => self::TYPE_INTEGER, + 'format' => 'int64', 'description' => 'Minimum value to enforce for new documents.', 'default' => null, 'required' => false, @@ -32,6 +33,7 @@ class AttributeInteger extends Attribute ]) ->addRule('max', [ 'type' => self::TYPE_INTEGER, + 'format' => 'int64', 'description' => 'Maximum value to enforce for new documents.', 'default' => null, 'required' => false, diff --git a/src/Appwrite/Utopia/Response/Model/ColumnInteger.php b/src/Appwrite/Utopia/Response/Model/ColumnInteger.php index 9f6c2c89ab..b248a8d88e 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnInteger.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnInteger.php @@ -25,6 +25,7 @@ class ColumnInteger extends Column ]) ->addRule('min', [ 'type' => self::TYPE_INTEGER, + 'format' => 'int64', 'description' => 'Minimum value to enforce for new documents.', 'default' => null, 'required' => false, @@ -32,6 +33,7 @@ class ColumnInteger extends Column ]) ->addRule('max', [ 'type' => self::TYPE_INTEGER, + 'format' => 'int64', 'description' => 'Maximum value to enforce for new documents.', 'default' => null, 'required' => false,