diff --git a/README-CN.md b/README-CN.md
index a9a6b3c867..f3571c54ce 100644
--- a/README-CN.md
+++ b/README-CN.md
@@ -26,7 +26,7 @@
[**Appwrite 云公开测试版!立即注册!**](https://cloud.appwrite.io)
-Appwrite 是一个基于 Docker 的端到端开发者平台,其容器化的微服务库可应用于网页端,移动端,以及后端。Appwrite 通过视觉化界面简化了从零开始编写 API 的繁琐过程,在保证软件安全的前提下为开发者创造了一个高效的开发环境。
+Appwrite 是一个基于 Docker 的端到端开发者平台,其容器化的微服务库可应用于网页端,移动端,原生应用,以及后端。它既包含后端服务器,也提供了用于部署静态和服务器端渲染前端的完全集成托管解决方案。Appwrite 通过视觉化界面简化了从零开始构建现代应用的复杂性和重复性,让您能够更快地构建安全的全栈应用。
Appwrite 可以提供给开发者用户验证,外部授权,用户数据读写检索,文件储存,图像处理,云函数计算,[等多种服务](https://appwrite.io/docs).
@@ -179,6 +179,8 @@ docker run -it --rm `
- [**消息传递**](https://appwrite.io/docs/references/cloud/client-web/messaging) - 使用 Appwrite 消息传递功能通过推送通知、电子邮件和短信与用户进行通信。
- [**语言适配**](https://appwrite.io/docs/references/cloud/client-web/locale) - 根据用户所在的的国家和地区做出合适的语言适配。
- [**头像**](https://appwrite.io/docs/references/cloud/client-web/avatars) -管理用户头像、国家旗帜、浏览器图标、信用卡符号,和生成二维码。
+- [**MCP**](https://appwrite.io/docs/tooling/mcp) - 使用 Appwrite 的模型上下文协议(Model Context Protocol)服务器,允许大语言模型(LLM)和 AI 工具(如 Claude Desktop、Cursor 和 Windsurf Editor)通过自然语言直接与您的 Appwrite 项目交互。
+- [**站点**](https://appwrite.io/docs/products/sites) - 直接从 Appwrite 开发、部署和扩展您的 Web 应用程序,与您的后端一起。
如需完整的 API 界面文档,请访问 [https://appwrite.io/docs](https://appwrite.io/docs)。如需更多教程、新闻和公告,请订阅我们的 [博客](https://medium.com/appwrite-io) 和 加入我们的[Discord 社区](https://discord.gg/GSeTUeA)。
### 开发套件
diff --git a/README.md b/README.md
index 88d3fe89df..07e8464ea0 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,14 @@
+
+> We just announced Auto-increment support for Appwrite Databases - [Learn more](https://appwrite.io/blog/post/announcing-auto-increment-support)
+
> [Get started with Appwrite](https://apwr.dev/appcloud)
-> [Join the Init kick off event 19th of May: The future of Appwrite with Founder & CEO Eldad Fux](https://www.youtube.com/watch?v=1g8tuogsp7A)
- Appwrite is a backend platform for developing Web, Mobile, and Flutter applications. Built with the open source community and optimized for developer experience in the coding languages you love.
+ Appwrite is an all-in-one development platform for Web, Mobile, and Flutter applications. Use built-in backend infrastructure and web hosting, all from a single place. Built with the open source community and optimized for developer experience in the coding languages you love.
@@ -25,7 +27,7 @@
English | [简体中文](README-CN.md)
-Appwrite is an end-to-end backend server for Web, Mobile, Native, or Backend apps packaged as a set of Docker microservices. Appwrite abstracts the complexity and repetitiveness required to build a modern backend API from scratch and allows you to build secure apps faster.
+Appwrite is an end-to-end platform for building Web, Mobile, Native, or Backend apps, packaged as a set of Docker microservices. It includes both a backend server and a fully integrated hosting solution for deploying static and server-side rendered frontends. Appwrite abstracts the complexity and repetitiveness required to build modern apps from scratch and allows you to build secure, full-stack applications faster.
Using Appwrite, you can easily integrate your app with user authentication and multiple sign-in methods, a database for storing and querying users and team data, storage and file management, image manipulation, Cloud Functions, messaging, and [more services](https://appwrite.io/docs).
@@ -42,7 +44,7 @@ Find out more at: [https://appwrite.io](https://appwrite.io).
Table of Contents:
-- [Getting Started](#getting-started)
+- [Installation \& Setup](#installation--setup)
- [Self-Hosting](#self-hosting)
- [Unix](#unix)
- [Windows](#windows)
@@ -62,8 +64,9 @@ Table of Contents:
- [Follow Us](#follow-us)
- [License](#license)
-## Getting Started
-The easiest way to get started with Appwrite is by [signing up for Appwrite Cloud](https://cloud.appwrite.io/). While Appwrite Cloud is in public beta, you can build with Appwrite completely free, and we won't collect you credit card information.
+## Installation & Setup
+
+The easiest way to get started with Appwrite is by [signing up for Appwrite Cloud](https://cloud.appwrite.io/). While Appwrite Cloud is in public beta, you can build with Appwrite completely free, and we won't collect your credit card information.
## Self-Hosting
@@ -128,19 +131,19 @@ Choose from one of the providers below:
- Gitpod
+ Gitpod
|
- Akamai Compute
+ Akamai Compute
|
- AWS Marketplace
+ AWS Marketplace
|
@@ -186,6 +189,8 @@ Getting started with Appwrite is as easy as creating a new project, choosing you
- [**Realtime**](https://appwrite.io/docs/realtime) - Listen to real-time events for any of your Appwrite services including users, storage, functions, databases, and more.
- [**Locale**](https://appwrite.io/docs/references/cloud/client-web/locale) - Track your user's location and manage your app locale-based data.
- [**Avatars**](https://appwrite.io/docs/references/cloud/client-web/avatars) - Manage your users' avatars, countries' flags, browser icons, and credit card symbols. Generate QR codes from links or plaintext strings.
+- [**MCP**](https://appwrite.io/docs/tooling/mcp) - Use Appwrite's Model Context Protocol (MCP) server to allow LLMs and AI tools like Claude Desktop, Cursor, and Windsurf Editor to directly interact with your Appwrite project through natural language.
+- [**Sites**](https://appwrite.io/docs/products/sites) - Develop, deploy, and scale your web applications directly from Appwrite, alongside your backend.
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcements check out our [blog](https://medium.com/appwrite-io) and [Discord Server](https://discord.gg/GSeTUeA).
diff --git a/app/config/specs/open-api3-1.7.x-client.json b/app/config/specs/open-api3-1.7.x-client.json
index 11fd80fda8..d09108e51d 100644
--- a/app/config/specs/open-api3-1.7.x-client.json
+++ b/app/config/specs/open-api3-1.7.x-client.json
@@ -4457,6 +4457,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -4466,6 +4467,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -4890,7 +4892,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4951,6 +4953,236 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/functions\/{functionId}\/executions": {
"get": {
"summary": "List executions",
@@ -4974,7 +5206,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5049,7 +5281,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5164,7 +5396,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5238,7 +5470,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5290,7 +5522,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5342,7 +5574,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5394,7 +5626,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5446,7 +5678,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5498,7 +5730,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5550,7 +5782,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5602,7 +5834,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5654,7 +5886,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5706,7 +5938,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5758,7 +5990,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5841,7 +6073,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5916,7 +6148,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6002,7 +6234,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -6100,7 +6332,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6172,7 +6404,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6261,7 +6493,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6328,7 +6560,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6406,7 +6638,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6634,7 +6866,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6719,7 +6951,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6795,7 +7027,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6880,7 +7112,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6942,7 +7174,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7016,7 +7248,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7080,7 +7312,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7166,7 +7398,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7277,7 +7509,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7349,7 +7581,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7436,7 +7668,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7510,7 +7742,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7608,7 +7840,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7669,7 +7901,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8183,6 +8415,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -8217,6 +8455,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-1.7.x-console.json b/app/config/specs/open-api3-1.7.x-console.json
index 48440caac4..b7450bc7e6 100644
--- a/app/config/specs/open-api3-1.7.x-console.json
+++ b/app/config/specs/open-api3-1.7.x-console.json
@@ -4359,7 +4359,7 @@
"x-appwrite": {
"method": "chat",
"group": "console",
- "weight": 308,
+ "weight": 309,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4419,7 +4419,7 @@
"x-appwrite": {
"method": "getResource",
"group": null,
- "weight": 432,
+ "weight": 433,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4494,7 +4494,7 @@
"x-appwrite": {
"method": "variables",
"group": "console",
- "weight": 307,
+ "weight": 308,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4694,7 +4694,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 119,
+ "weight": 121,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8016,6 +8016,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -8025,6 +8026,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -8053,6 +8055,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -8146,12 +8149,12 @@
}
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -8167,7 +8170,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8178,6 +8181,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8258,7 +8262,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8269,6 +8273,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8351,7 +8356,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8362,6 +8367,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8744,7 +8750,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8898,6 +8904,236 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -9365,7 +9601,7 @@
"x-appwrite": {
"method": "getCollectionUsage",
"group": null,
- "weight": 121,
+ "weight": 123,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9530,7 +9766,7 @@
"x-appwrite": {
"method": "getDatabaseUsage",
"group": null,
- "weight": 120,
+ "weight": 122,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9612,7 +9848,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9685,7 +9921,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9918,7 +10154,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9967,7 +10203,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10017,7 +10253,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 402,
+ "weight": 403,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10117,7 +10353,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 401,
+ "weight": 402,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10177,7 +10413,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 395,
+ "weight": 396,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10249,7 +10485,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10308,7 +10544,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10538,7 +10774,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10599,7 +10835,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10679,7 +10915,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10762,7 +10998,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -10858,7 +11094,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10943,7 +11179,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11046,7 +11282,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11143,7 +11379,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11205,7 +11441,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11269,7 +11505,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -11359,7 +11595,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11430,7 +11666,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11505,7 +11741,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11620,7 +11856,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11685,7 +11921,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11756,7 +11992,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 394,
+ "weight": 395,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11838,7 +12074,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11897,7 +12133,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11988,7 +12224,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12057,7 +12293,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12148,7 +12384,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12219,7 +12455,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12271,7 +12507,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12323,7 +12559,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12372,7 +12608,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12421,7 +12657,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12470,7 +12706,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12530,7 +12766,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12579,7 +12815,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12628,7 +12864,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12690,7 +12926,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12752,7 +12988,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12825,7 +13061,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12887,7 +13123,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12975,7 +13211,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13037,7 +13273,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13099,7 +13335,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13161,7 +13397,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13223,7 +13459,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13285,7 +13521,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13347,7 +13583,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13409,7 +13645,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13471,7 +13707,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13520,7 +13756,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13569,7 +13805,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13618,7 +13854,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13670,7 +13906,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13722,7 +13958,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13774,7 +14010,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13826,7 +14062,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13878,7 +14114,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13930,7 +14166,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13982,7 +14218,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14034,7 +14270,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14110,7 +14346,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14254,7 +14490,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14400,7 +14636,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14574,7 +14810,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14752,7 +14988,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14861,7 +15097,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14973,7 +15209,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15026,7 +15262,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15088,7 +15324,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15163,7 +15399,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15238,7 +15474,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15314,7 +15550,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15419,7 +15655,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15527,7 +15763,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15612,7 +15848,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15700,7 +15936,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15815,7 +16051,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15933,7 +16169,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16028,7 +16264,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16126,7 +16362,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16231,7 +16467,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16339,7 +16575,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16482,7 +16718,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16627,7 +16863,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16722,7 +16958,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16820,7 +17056,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16915,7 +17151,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17013,7 +17249,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17108,7 +17344,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17206,7 +17442,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17301,7 +17537,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17399,7 +17635,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17452,7 +17688,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17514,7 +17750,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17589,7 +17825,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17664,7 +17900,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17738,7 +17974,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17821,7 +18057,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17881,7 +18117,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17958,7 +18194,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18020,7 +18256,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18095,7 +18331,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18179,7 +18415,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18269,7 +18505,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18332,7 +18568,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18407,7 +18643,7 @@
"x-appwrite": {
"method": "list",
"group": null,
- "weight": 314,
+ "weight": 315,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18481,7 +18717,7 @@
"x-appwrite": {
"method": "createAppwriteMigration",
"group": null,
- "weight": 309,
+ "weight": 310,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18569,7 +18805,7 @@
"x-appwrite": {
"method": "getAppwriteReport",
"group": null,
- "weight": 316,
+ "weight": 317,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18662,7 +18898,7 @@
"x-appwrite": {
"method": "createCsvMigration",
"group": null,
- "weight": 313,
+ "weight": 314,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18741,7 +18977,7 @@
"x-appwrite": {
"method": "createFirebaseMigration",
"group": null,
- "weight": 310,
+ "weight": 311,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18817,7 +19053,7 @@
"x-appwrite": {
"method": "getFirebaseReport",
"group": null,
- "weight": 317,
+ "weight": 318,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18889,7 +19125,7 @@
"x-appwrite": {
"method": "createNHostMigration",
"group": null,
- "weight": 312,
+ "weight": 313,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19000,7 +19236,7 @@
"x-appwrite": {
"method": "getNHostReport",
"group": null,
- "weight": 319,
+ "weight": 320,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19133,7 +19369,7 @@
"x-appwrite": {
"method": "createSupabaseMigration",
"group": null,
- "weight": 311,
+ "weight": 312,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19238,7 +19474,7 @@
"x-appwrite": {
"method": "getSupabaseReport",
"group": null,
- "weight": 318,
+ "weight": 319,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19362,7 +19598,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 315,
+ "weight": 316,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19420,7 +19656,7 @@
"x-appwrite": {
"method": "retry",
"group": null,
- "weight": 320,
+ "weight": 321,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19471,7 +19707,7 @@
"x-appwrite": {
"method": "delete",
"group": null,
- "weight": 321,
+ "weight": 322,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19531,7 +19767,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 200,
+ "weight": 202,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19619,7 +19855,7 @@
"x-appwrite": {
"method": "listVariables",
"group": null,
- "weight": 202,
+ "weight": 204,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19665,7 +19901,7 @@
"x-appwrite": {
"method": "createVariable",
"group": null,
- "weight": 201,
+ "weight": 203,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19743,7 +19979,7 @@
"x-appwrite": {
"method": "getVariable",
"group": null,
- "weight": 203,
+ "weight": 205,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19801,7 +20037,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": null,
- "weight": 204,
+ "weight": 206,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19881,7 +20117,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": null,
- "weight": 205,
+ "weight": 207,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19941,7 +20177,7 @@
"x-appwrite": {
"method": "list",
"group": "projects",
- "weight": 155,
+ "weight": 157,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20013,7 +20249,7 @@
"x-appwrite": {
"method": "create",
"group": "projects",
- "weight": 154,
+ "weight": 156,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20147,7 +20383,7 @@
"x-appwrite": {
"method": "get",
"group": "projects",
- "weight": 156,
+ "weight": 158,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20205,7 +20441,7 @@
"x-appwrite": {
"method": "update",
"group": "projects",
- "weight": 157,
+ "weight": 159,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20320,7 +20556,7 @@
"x-appwrite": {
"method": "delete",
"group": "projects",
- "weight": 174,
+ "weight": 176,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20380,7 +20616,7 @@
"x-appwrite": {
"method": "updateApiStatus",
"group": "projects",
- "weight": 161,
+ "weight": 163,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20472,7 +20708,7 @@
"x-appwrite": {
"method": "updateApiStatusAll",
"group": "projects",
- "weight": 162,
+ "weight": 164,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20551,7 +20787,7 @@
"x-appwrite": {
"method": "updateAuthDuration",
"group": "auth",
- "weight": 167,
+ "weight": 169,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20630,7 +20866,7 @@
"x-appwrite": {
"method": "updateAuthLimit",
"group": "auth",
- "weight": 166,
+ "weight": 168,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20709,7 +20945,7 @@
"x-appwrite": {
"method": "updateAuthSessionsLimit",
"group": "auth",
- "weight": 172,
+ "weight": 174,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20788,7 +21024,7 @@
"x-appwrite": {
"method": "updateMembershipsPrivacy",
"group": "auth",
- "weight": 165,
+ "weight": 167,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20879,7 +21115,7 @@
"x-appwrite": {
"method": "updateMockNumbers",
"group": "auth",
- "weight": 173,
+ "weight": 175,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20961,7 +21197,7 @@
"x-appwrite": {
"method": "updateAuthPasswordDictionary",
"group": "auth",
- "weight": 170,
+ "weight": 172,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21040,7 +21276,7 @@
"x-appwrite": {
"method": "updateAuthPasswordHistory",
"group": "auth",
- "weight": 169,
+ "weight": 171,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21119,7 +21355,7 @@
"x-appwrite": {
"method": "updatePersonalDataCheck",
"group": "auth",
- "weight": 171,
+ "weight": 173,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21198,7 +21434,7 @@
"x-appwrite": {
"method": "updateSessionAlerts",
"group": "auth",
- "weight": 164,
+ "weight": 166,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21277,7 +21513,7 @@
"x-appwrite": {
"method": "updateAuthStatus",
"group": "auth",
- "weight": 168,
+ "weight": 170,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21377,7 +21613,7 @@
"x-appwrite": {
"method": "listDevKeys",
"group": "devKeys",
- "weight": 371,
+ "weight": 372,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21445,7 +21681,7 @@
"x-appwrite": {
"method": "createDevKey",
"group": "devKeys",
- "weight": 368,
+ "weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21530,7 +21766,7 @@
"x-appwrite": {
"method": "getDevKey",
"group": "devKeys",
- "weight": 370,
+ "weight": 371,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21598,7 +21834,7 @@
"x-appwrite": {
"method": "updateDevKey",
"group": "devKeys",
- "weight": 369,
+ "weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21684,7 +21920,7 @@
"x-appwrite": {
"method": "deleteDevKey",
"group": "devKeys",
- "weight": 372,
+ "weight": 373,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21754,7 +21990,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "auth",
- "weight": 186,
+ "weight": 188,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21841,7 +22077,7 @@
"x-appwrite": {
"method": "listKeys",
"group": "keys",
- "weight": 182,
+ "weight": 184,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21899,7 +22135,7 @@
"x-appwrite": {
"method": "createKey",
"group": "keys",
- "weight": 181,
+ "weight": 183,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21992,7 +22228,7 @@
"x-appwrite": {
"method": "getKey",
"group": "keys",
- "weight": 183,
+ "weight": 185,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22060,7 +22296,7 @@
"x-appwrite": {
"method": "updateKey",
"group": "keys",
- "weight": 184,
+ "weight": 186,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22154,7 +22390,7 @@
"x-appwrite": {
"method": "deleteKey",
"group": "keys",
- "weight": 185,
+ "weight": 187,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22224,7 +22460,7 @@
"x-appwrite": {
"method": "updateOAuth2",
"group": "auth",
- "weight": 163,
+ "weight": 165,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22362,7 +22598,7 @@
"x-appwrite": {
"method": "listPlatforms",
"group": "platforms",
- "weight": 188,
+ "weight": 190,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22420,7 +22656,7 @@
"x-appwrite": {
"method": "createPlatform",
"group": "platforms",
- "weight": 187,
+ "weight": 189,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22539,7 +22775,7 @@
"x-appwrite": {
"method": "getPlatform",
"group": "platforms",
- "weight": 189,
+ "weight": 191,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22607,7 +22843,7 @@
"x-appwrite": {
"method": "updatePlatform",
"group": "platforms",
- "weight": 190,
+ "weight": 192,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22702,7 +22938,7 @@
"x-appwrite": {
"method": "deletePlatform",
"group": "platforms",
- "weight": 191,
+ "weight": 193,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22772,7 +23008,7 @@
"x-appwrite": {
"method": "updateServiceStatus",
"group": "projects",
- "weight": 159,
+ "weight": 161,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22873,7 +23109,7 @@
"x-appwrite": {
"method": "updateServiceStatusAll",
"group": "projects",
- "weight": 160,
+ "weight": 162,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22952,7 +23188,7 @@
"x-appwrite": {
"method": "updateSmtp",
"group": "templates",
- "weight": 192,
+ "weight": 194,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23070,7 +23306,7 @@
"x-appwrite": {
"method": "createSmtpTest",
"group": "templates",
- "weight": 193,
+ "weight": 195,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23201,7 +23437,7 @@
"x-appwrite": {
"method": "updateTeam",
"group": "projects",
- "weight": 158,
+ "weight": 160,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23280,7 +23516,7 @@
"x-appwrite": {
"method": "getEmailTemplate",
"group": "templates",
- "weight": 195,
+ "weight": 197,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23504,7 +23740,7 @@
"x-appwrite": {
"method": "updateEmailTemplate",
"group": "templates",
- "weight": 197,
+ "weight": 199,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23768,7 +24004,7 @@
"x-appwrite": {
"method": "deleteEmailTemplate",
"group": "templates",
- "weight": 199,
+ "weight": 201,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23994,7 +24230,7 @@
"x-appwrite": {
"method": "getSmsTemplate",
"group": "templates",
- "weight": 194,
+ "weight": 196,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24215,7 +24451,7 @@
"x-appwrite": {
"method": "updateSmsTemplate",
"group": "templates",
- "weight": 196,
+ "weight": 198,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24455,7 +24691,7 @@
"x-appwrite": {
"method": "deleteSmsTemplate",
"group": "templates",
- "weight": 198,
+ "weight": 200,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24678,7 +24914,7 @@
"x-appwrite": {
"method": "listWebhooks",
"group": "webhooks",
- "weight": 176,
+ "weight": 178,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24736,7 +24972,7 @@
"x-appwrite": {
"method": "createWebhook",
"group": "webhooks",
- "weight": 175,
+ "weight": 177,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24851,7 +25087,7 @@
"x-appwrite": {
"method": "getWebhook",
"group": "webhooks",
- "weight": 177,
+ "weight": 179,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24919,7 +25155,7 @@
"x-appwrite": {
"method": "updateWebhook",
"group": "webhooks",
- "weight": 178,
+ "weight": 180,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25035,7 +25271,7 @@
"x-appwrite": {
"method": "deleteWebhook",
"group": "webhooks",
- "weight": 180,
+ "weight": 182,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25105,7 +25341,7 @@
"x-appwrite": {
"method": "updateWebhookSignature",
"group": "webhooks",
- "weight": 179,
+ "weight": 181,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25175,7 +25411,7 @@
"x-appwrite": {
"method": "listRules",
"group": null,
- "weight": 292,
+ "weight": 294,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25249,7 +25485,7 @@
"x-appwrite": {
"method": "createAPIRule",
"group": null,
- "weight": 433,
+ "weight": 434,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25316,7 +25552,7 @@
"x-appwrite": {
"method": "createFunctionRule",
"group": null,
- "weight": 435,
+ "weight": 436,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25394,7 +25630,7 @@
"x-appwrite": {
"method": "createRedirectRule",
"group": null,
- "weight": 436,
+ "weight": 437,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25507,7 +25743,7 @@
"x-appwrite": {
"method": "createSiteRule",
"group": null,
- "weight": 434,
+ "weight": 435,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25585,7 +25821,7 @@
"x-appwrite": {
"method": "getRule",
"group": null,
- "weight": 293,
+ "weight": 295,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25636,7 +25872,7 @@
"x-appwrite": {
"method": "deleteRule",
"group": null,
- "weight": 294,
+ "weight": 296,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25696,7 +25932,7 @@
"x-appwrite": {
"method": "updateRuleVerification",
"group": null,
- "weight": 295,
+ "weight": 297,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25756,7 +25992,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25826,7 +26062,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26075,7 +26311,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26124,7 +26360,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26174,7 +26410,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 427,
+ "weight": 428,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26274,7 +26510,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 428,
+ "weight": 429,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26334,7 +26570,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 429,
+ "weight": 430,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26406,7 +26642,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26465,7 +26701,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26710,7 +26946,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26771,7 +27007,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26851,7 +27087,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26934,7 +27170,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -27035,7 +27271,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27115,7 +27351,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27218,7 +27454,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27316,7 +27552,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27378,7 +27614,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27442,7 +27678,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -27532,7 +27768,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27603,7 +27839,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27674,7 +27910,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27736,7 +27972,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27807,7 +28043,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 430,
+ "weight": 431,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27889,7 +28125,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27948,7 +28184,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28039,7 +28275,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28108,7 +28344,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28199,7 +28435,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28270,7 +28506,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28343,7 +28579,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28470,7 +28706,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28529,7 +28765,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28653,7 +28889,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28714,7 +28950,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28800,7 +29036,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -28898,7 +29134,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28970,7 +29206,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29059,7 +29295,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29126,7 +29362,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29204,7 +29440,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29432,7 +29668,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29517,7 +29753,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 220,
+ "weight": 222,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29589,7 +29825,7 @@
"x-appwrite": {
"method": "getBucketUsage",
"group": null,
- "weight": 221,
+ "weight": 223,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29671,7 +29907,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29747,7 +29983,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29832,7 +30068,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29894,7 +30130,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29968,7 +30204,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30032,7 +30268,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 235,
+ "weight": 237,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30105,7 +30341,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30191,7 +30427,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30302,7 +30538,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30374,7 +30610,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30461,7 +30697,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30535,7 +30771,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30632,7 +30868,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30692,7 +30928,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30773,7 +31009,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30853,7 +31089,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30942,7 +31178,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31002,7 +31238,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31072,7 +31308,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31134,7 +31370,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31207,7 +31443,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31295,7 +31531,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31380,7 +31616,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31465,7 +31701,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31533,7 +31769,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31594,7 +31830,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31679,7 +31915,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31764,7 +32000,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31879,7 +32115,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31982,7 +32218,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32087,7 +32323,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 278,
+ "weight": 280,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32159,7 +32395,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32211,7 +32447,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32272,7 +32508,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32352,7 +32588,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32434,7 +32670,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32517,7 +32753,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32591,7 +32827,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32676,7 +32912,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32749,7 +32985,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32825,7 +33061,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32886,7 +33122,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32945,7 +33181,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33004,7 +33240,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33065,7 +33301,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33145,7 +33381,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33225,7 +33461,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33305,7 +33541,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33364,7 +33600,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33444,7 +33680,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33503,7 +33739,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33555,7 +33791,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33609,7 +33845,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33680,7 +33916,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33760,7 +33996,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33798,7 +34034,7 @@
},
{
"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, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, 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: userId, providerId, identifier, providerType",
"required": false,
"schema": {
"type": "array",
@@ -33833,7 +34069,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33943,7 +34179,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34013,7 +34249,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34102,7 +34338,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34174,7 +34410,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34256,7 +34492,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34336,7 +34572,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34416,7 +34652,7 @@
"x-appwrite": {
"method": "createRepositoryDetection",
"group": "repositories",
- "weight": 282,
+ "weight": 284,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34512,7 +34748,7 @@
"x-appwrite": {
"method": "listRepositories",
"group": "repositories",
- "weight": 283,
+ "weight": 285,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34597,7 +34833,7 @@
"x-appwrite": {
"method": "createRepository",
"group": "repositories",
- "weight": 284,
+ "weight": 286,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34682,7 +34918,7 @@
"x-appwrite": {
"method": "getRepository",
"group": "repositories",
- "weight": 285,
+ "weight": 287,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34752,7 +34988,7 @@
"x-appwrite": {
"method": "listRepositoryBranches",
"group": "repositories",
- "weight": 286,
+ "weight": 288,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34806,7 +35042,7 @@
"tags": [
"vcs"
],
- "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n",
+ "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.",
"responses": {
"200": {
"description": "VCS Content List",
@@ -34822,7 +35058,7 @@
"x-appwrite": {
"method": "getRepositoryContents",
"group": "repositories",
- "weight": 281,
+ "weight": 283,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34907,7 +35143,7 @@
"x-appwrite": {
"method": "updateExternalDeployments",
"group": "repositories",
- "weight": 291,
+ "weight": 293,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34996,7 +35232,7 @@
"x-appwrite": {
"method": "listInstallations",
"group": "installations",
- "weight": 288,
+ "weight": 290,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35070,7 +35306,7 @@
"x-appwrite": {
"method": "getInstallation",
"group": "installations",
- "weight": 289,
+ "weight": 291,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35121,7 +35357,7 @@
"x-appwrite": {
"method": "deleteInstallation",
"group": "installations",
- "weight": 290,
+ "weight": 292,
"cookies": false,
"type": "",
"deprecated": false,
@@ -36631,6 +36867,12 @@
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
"x-example": "default",
"nullable": true
+ },
+ "encrypt": {
+ "type": "boolean",
+ "description": "Defines whether this attribute is encrypted or not.",
+ "x-example": false,
+ "nullable": true
}
},
"required": [
@@ -37382,6 +37624,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -37416,6 +37664,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-1.7.x-server.json b/app/config/specs/open-api3-1.7.x-server.json
index 4a6a4f3b4f..8056d5f21b 100644
--- a/app/config/specs/open-api3-1.7.x-server.json
+++ b/app/config/specs/open-api3-1.7.x-server.json
@@ -7497,6 +7497,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
"server",
"server"
@@ -7506,6 +7507,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -7534,6 +7536,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -7629,12 +7632,12 @@
}
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -7650,7 +7653,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7661,6 +7664,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7742,7 +7746,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7753,6 +7757,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7836,7 +7841,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7847,6 +7852,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8236,7 +8242,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8299,6 +8305,240 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "content": {
+ "application\/json": {
+ "schema": {
+ "$ref": "#\/components\/schemas\/document"
+ }
+ }
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client",
+ "server"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "x-example": ""
+ },
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "in": "path"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application\/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -8687,7 +8927,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8761,7 +9001,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8995,7 +9235,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9045,7 +9285,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9096,7 +9336,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9156,7 +9396,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9387,7 +9627,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9449,7 +9689,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9530,7 +9770,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9614,7 +9854,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -9711,7 +9951,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9797,7 +10037,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9901,7 +10141,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9999,7 +10239,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10062,7 +10302,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10127,7 +10367,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -10218,7 +10458,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10290,7 +10530,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10367,7 +10607,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10484,7 +10724,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10551,7 +10791,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10623,7 +10863,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10683,7 +10923,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10775,7 +11015,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10845,7 +11085,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10937,7 +11177,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11009,7 +11249,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11063,7 +11303,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11117,7 +11357,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11167,7 +11407,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11217,7 +11457,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11267,7 +11507,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11328,7 +11568,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11378,7 +11618,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11428,7 +11668,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11491,7 +11731,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11554,7 +11794,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11628,7 +11868,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11691,7 +11931,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11780,7 +12020,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11843,7 +12083,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11906,7 +12146,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11969,7 +12209,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12032,7 +12272,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12095,7 +12335,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12158,7 +12398,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12221,7 +12461,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12284,7 +12524,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12334,7 +12574,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12384,7 +12624,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12434,7 +12674,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12488,7 +12728,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12542,7 +12782,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12596,7 +12836,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12650,7 +12890,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12704,7 +12944,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12758,7 +12998,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12812,7 +13052,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12866,7 +13106,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12943,7 +13183,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13088,7 +13328,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13235,7 +13475,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13410,7 +13650,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13589,7 +13829,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13699,7 +13939,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13812,7 +14052,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13866,7 +14106,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13929,7 +14169,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14005,7 +14245,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14081,7 +14321,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14158,7 +14398,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14264,7 +14504,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14373,7 +14613,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14459,7 +14699,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14548,7 +14788,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14664,7 +14904,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14783,7 +15023,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14879,7 +15119,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14978,7 +15218,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15084,7 +15324,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15193,7 +15433,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15337,7 +15577,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15483,7 +15723,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15579,7 +15819,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15678,7 +15918,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15774,7 +16014,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15873,7 +16113,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15969,7 +16209,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16068,7 +16308,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16164,7 +16404,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16263,7 +16503,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16317,7 +16557,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16380,7 +16620,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16456,7 +16696,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16532,7 +16772,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16607,7 +16847,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16691,7 +16931,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16752,7 +16992,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16830,7 +17070,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16893,7 +17133,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16969,7 +17209,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17054,7 +17294,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17146,7 +17386,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17210,7 +17450,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17287,7 +17527,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17358,7 +17598,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17608,7 +17848,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17658,7 +17898,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17709,7 +17949,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17769,7 +18009,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18015,7 +18255,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18077,7 +18317,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18158,7 +18398,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18242,7 +18482,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -18344,7 +18584,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18425,7 +18665,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18529,7 +18769,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18628,7 +18868,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18691,7 +18931,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18756,7 +18996,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -18847,7 +19087,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18919,7 +19159,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18991,7 +19231,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19054,7 +19294,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19126,7 +19366,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19186,7 +19426,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19278,7 +19518,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19348,7 +19588,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19440,7 +19680,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19512,7 +19752,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19586,7 +19826,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19714,7 +19954,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19774,7 +20014,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19899,7 +20139,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19961,7 +20201,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20049,7 +20289,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -20149,7 +20389,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20223,7 +20463,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20314,7 +20554,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20383,7 +20623,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20463,7 +20703,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20693,7 +20933,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20780,7 +21020,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20858,7 +21098,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20945,7 +21185,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21009,7 +21249,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21085,7 +21325,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21151,7 +21391,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21239,7 +21479,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21352,7 +21592,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21426,7 +21666,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21515,7 +21755,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21591,7 +21831,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21690,7 +21930,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21752,7 +21992,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21835,7 +22075,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21916,7 +22156,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22006,7 +22246,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22067,7 +22307,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22138,7 +22378,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22201,7 +22441,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22275,7 +22515,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22364,7 +22604,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22450,7 +22690,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22536,7 +22776,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22605,7 +22845,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22667,7 +22907,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22753,7 +22993,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22839,7 +23079,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22955,7 +23195,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23059,7 +23299,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23165,7 +23405,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23218,7 +23458,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23280,7 +23520,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23361,7 +23601,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23444,7 +23684,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23528,7 +23768,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23603,7 +23843,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23689,7 +23929,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23763,7 +24003,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23840,7 +24080,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23902,7 +24142,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23962,7 +24202,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24022,7 +24262,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24084,7 +24324,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24165,7 +24405,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24246,7 +24486,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24327,7 +24567,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24387,7 +24627,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24468,7 +24708,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24528,7 +24768,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24581,7 +24821,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24636,7 +24876,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24708,7 +24948,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24789,7 +25029,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24828,7 +25068,7 @@
},
{
"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, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, 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: userId, providerId, identifier, providerType",
"required": false,
"schema": {
"type": "array",
@@ -24863,7 +25103,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24974,7 +25214,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25045,7 +25285,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25135,7 +25375,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25208,7 +25448,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25291,7 +25531,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25372,7 +25612,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26567,6 +26807,12 @@
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
"x-example": "default",
"nullable": true
+ },
+ "encrypt": {
+ "type": "boolean",
+ "description": "Defines whether this attribute is encrypted or not.",
+ "x-example": false,
+ "nullable": true
}
},
"required": [
@@ -27318,6 +27564,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -27352,6 +27604,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json
index b9fcb4672d..d09108e51d 100644
--- a/app/config/specs/open-api3-latest-client.json
+++ b/app/config/specs/open-api3-latest-client.json
@@ -5206,7 +5206,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5281,7 +5281,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5396,7 +5396,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5470,7 +5470,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5522,7 +5522,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5990,7 +5990,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6073,7 +6073,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json
index a950dd37dd..b7450bc7e6 100644
--- a/app/config/specs/open-api3-latest-console.json
+++ b/app/config/specs/open-api3-latest-console.json
@@ -4359,7 +4359,7 @@
"x-appwrite": {
"method": "chat",
"group": "console",
- "weight": 310,
+ "weight": 309,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4419,7 +4419,7 @@
"x-appwrite": {
"method": "getResource",
"group": null,
- "weight": 434,
+ "weight": 433,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4494,7 +4494,7 @@
"x-appwrite": {
"method": "variables",
"group": "console",
- "weight": 309,
+ "weight": 308,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8149,12 +8149,12 @@
}
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -9848,7 +9848,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 378,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9921,7 +9921,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 375,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10154,7 +10154,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 380,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10203,7 +10203,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 381,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10253,7 +10253,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 404,
+ "weight": 403,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10353,7 +10353,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 403,
+ "weight": 402,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10413,7 +10413,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 397,
+ "weight": 396,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10485,7 +10485,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 376,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10544,7 +10544,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 377,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10774,7 +10774,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 379,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10835,7 +10835,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 384,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10915,7 +10915,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 385,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10998,7 +10998,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 382,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -11094,7 +11094,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 390,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11179,7 +11179,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 387,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11282,7 +11282,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11379,7 +11379,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 383,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11441,7 +11441,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11505,7 +11505,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 389,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -11595,7 +11595,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 391,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11666,7 +11666,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11741,7 +11741,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11856,7 +11856,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11921,7 +11921,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 395,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11992,7 +11992,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 396,
+ "weight": 395,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12074,7 +12074,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 400,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12133,7 +12133,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 398,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12224,7 +12224,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 399,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12293,7 +12293,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 401,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12384,7 +12384,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 402,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12455,7 +12455,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12507,7 +12507,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -14270,7 +14270,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 362,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14346,7 +14346,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 359,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14490,7 +14490,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 366,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14636,7 +14636,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 361,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14810,7 +14810,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 368,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14988,7 +14988,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 360,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15097,7 +15097,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 367,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15209,7 +15209,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 365,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15262,7 +15262,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 369,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15324,7 +15324,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 363,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15399,7 +15399,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 364,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15474,7 +15474,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 334,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15550,7 +15550,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 333,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15655,7 +15655,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 346,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15763,7 +15763,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 332,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15848,7 +15848,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 345,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15936,7 +15936,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 324,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16051,7 +16051,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 337,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16169,7 +16169,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 327,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16264,7 +16264,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 340,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16362,7 +16362,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 325,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16467,7 +16467,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 338,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16575,7 +16575,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 326,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16718,7 +16718,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 339,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16863,7 +16863,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 328,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16958,7 +16958,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 341,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17056,7 +17056,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 329,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17151,7 +17151,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 342,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17249,7 +17249,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 330,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17344,7 +17344,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 343,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17442,7 +17442,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 331,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17537,7 +17537,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 344,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17635,7 +17635,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 336,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17688,7 +17688,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 347,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17750,7 +17750,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 335,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17825,7 +17825,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 356,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17900,7 +17900,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 349,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17974,7 +17974,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 348,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18057,7 +18057,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 351,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18117,7 +18117,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 352,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18194,7 +18194,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 353,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18256,7 +18256,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 350,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18331,7 +18331,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 355,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18415,7 +18415,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18505,7 +18505,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 357,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18568,7 +18568,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18643,7 +18643,7 @@
"x-appwrite": {
"method": "list",
"group": null,
- "weight": 316,
+ "weight": 315,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18717,7 +18717,7 @@
"x-appwrite": {
"method": "createAppwriteMigration",
"group": null,
- "weight": 311,
+ "weight": 310,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18805,7 +18805,7 @@
"x-appwrite": {
"method": "getAppwriteReport",
"group": null,
- "weight": 318,
+ "weight": 317,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18898,7 +18898,7 @@
"x-appwrite": {
"method": "createCsvMigration",
"group": null,
- "weight": 315,
+ "weight": 314,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18977,7 +18977,7 @@
"x-appwrite": {
"method": "createFirebaseMigration",
"group": null,
- "weight": 312,
+ "weight": 311,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19053,7 +19053,7 @@
"x-appwrite": {
"method": "getFirebaseReport",
"group": null,
- "weight": 319,
+ "weight": 318,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19125,7 +19125,7 @@
"x-appwrite": {
"method": "createNHostMigration",
"group": null,
- "weight": 314,
+ "weight": 313,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19236,7 +19236,7 @@
"x-appwrite": {
"method": "getNHostReport",
"group": null,
- "weight": 321,
+ "weight": 320,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19369,7 +19369,7 @@
"x-appwrite": {
"method": "createSupabaseMigration",
"group": null,
- "weight": 313,
+ "weight": 312,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19474,7 +19474,7 @@
"x-appwrite": {
"method": "getSupabaseReport",
"group": null,
- "weight": 320,
+ "weight": 319,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19598,7 +19598,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 317,
+ "weight": 316,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19656,7 +19656,7 @@
"x-appwrite": {
"method": "retry",
"group": null,
- "weight": 322,
+ "weight": 321,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19707,7 +19707,7 @@
"x-appwrite": {
"method": "delete",
"group": null,
- "weight": 323,
+ "weight": 322,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21613,7 +21613,7 @@
"x-appwrite": {
"method": "listDevKeys",
"group": "devKeys",
- "weight": 373,
+ "weight": 372,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21681,7 +21681,7 @@
"x-appwrite": {
"method": "createDevKey",
"group": "devKeys",
- "weight": 370,
+ "weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21766,7 +21766,7 @@
"x-appwrite": {
"method": "getDevKey",
"group": "devKeys",
- "weight": 372,
+ "weight": 371,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21834,7 +21834,7 @@
"x-appwrite": {
"method": "updateDevKey",
"group": "devKeys",
- "weight": 371,
+ "weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21920,7 +21920,7 @@
"x-appwrite": {
"method": "deleteDevKey",
"group": "devKeys",
- "weight": 374,
+ "weight": 373,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25485,7 +25485,7 @@
"x-appwrite": {
"method": "createAPIRule",
"group": null,
- "weight": 435,
+ "weight": 434,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25552,7 +25552,7 @@
"x-appwrite": {
"method": "createFunctionRule",
"group": null,
- "weight": 437,
+ "weight": 436,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25630,7 +25630,7 @@
"x-appwrite": {
"method": "createRedirectRule",
"group": null,
- "weight": 438,
+ "weight": 437,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25743,7 +25743,7 @@
"x-appwrite": {
"method": "createSiteRule",
"group": null,
- "weight": 436,
+ "weight": 435,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25992,7 +25992,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 407,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26062,7 +26062,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 405,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26311,7 +26311,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 410,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26360,7 +26360,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 433,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26410,7 +26410,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 429,
+ "weight": 428,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26510,7 +26510,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 430,
+ "weight": 429,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26570,7 +26570,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 431,
+ "weight": 430,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26642,7 +26642,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 406,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26701,7 +26701,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 408,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26946,7 +26946,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 409,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27007,7 +27007,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 416,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27087,7 +27087,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 415,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27170,7 +27170,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -27271,7 +27271,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 419,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27351,7 +27351,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27454,7 +27454,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 413,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27552,7 +27552,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 414,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27614,7 +27614,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27678,7 +27678,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 418,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -27768,7 +27768,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 420,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27839,7 +27839,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 422,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27910,7 +27910,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 421,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27972,7 +27972,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 423,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28043,7 +28043,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 432,
+ "weight": 431,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28125,7 +28125,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 426,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28184,7 +28184,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 424,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28275,7 +28275,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 425,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28344,7 +28344,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 427,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28435,7 +28435,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 428,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31009,7 +31009,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 441,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31089,7 +31089,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 439,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31178,7 +31178,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 440,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31238,7 +31238,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 442,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31308,7 +31308,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 443,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35042,7 +35042,7 @@
"tags": [
"vcs"
],
- "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n",
+ "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.",
"responses": {
"200": {
"description": "VCS Content List",
diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json
index 8b570f6b48..8056d5f21b 100644
--- a/app/config/specs/open-api3-latest-server.json
+++ b/app/config/specs/open-api3-latest-server.json
@@ -7632,12 +7632,12 @@
}
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -8927,7 +8927,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 378,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9001,7 +9001,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 375,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9235,7 +9235,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 380,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9285,7 +9285,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 381,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9336,7 +9336,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 376,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9396,7 +9396,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 377,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9627,7 +9627,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 379,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9689,7 +9689,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 384,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9770,7 +9770,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 385,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9854,7 +9854,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 382,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -9951,7 +9951,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 390,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10037,7 +10037,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 387,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10141,7 +10141,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10239,7 +10239,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 383,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10302,7 +10302,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10367,7 +10367,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 389,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -10458,7 +10458,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 391,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10530,7 +10530,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10607,7 +10607,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10724,7 +10724,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10791,7 +10791,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 395,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10863,7 +10863,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 400,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10923,7 +10923,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 398,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11015,7 +11015,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 399,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11085,7 +11085,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 401,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11177,7 +11177,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 402,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11249,7 +11249,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11303,7 +11303,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -13106,7 +13106,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 362,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13183,7 +13183,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 359,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13328,7 +13328,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 366,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13475,7 +13475,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 361,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13650,7 +13650,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 368,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13829,7 +13829,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 360,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13939,7 +13939,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 367,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14052,7 +14052,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 365,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14106,7 +14106,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 369,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14169,7 +14169,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 363,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14245,7 +14245,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 364,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14321,7 +14321,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 334,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14398,7 +14398,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 333,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14504,7 +14504,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 346,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14613,7 +14613,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 332,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14699,7 +14699,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 345,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14788,7 +14788,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 324,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14904,7 +14904,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 337,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15023,7 +15023,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 327,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15119,7 +15119,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 340,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15218,7 +15218,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 325,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15324,7 +15324,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 338,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15433,7 +15433,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 326,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15577,7 +15577,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 339,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15723,7 +15723,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 328,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15819,7 +15819,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 341,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15918,7 +15918,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 329,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16014,7 +16014,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 342,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16113,7 +16113,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 330,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16209,7 +16209,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 343,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16308,7 +16308,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 331,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16404,7 +16404,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 344,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16503,7 +16503,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 336,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16557,7 +16557,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 347,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16620,7 +16620,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 335,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16696,7 +16696,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 356,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16772,7 +16772,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 349,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16847,7 +16847,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 348,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16931,7 +16931,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 351,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16992,7 +16992,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 352,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17070,7 +17070,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 353,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17133,7 +17133,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 350,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17209,7 +17209,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 355,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17294,7 +17294,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17386,7 +17386,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 357,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17450,7 +17450,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17527,7 +17527,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 407,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17598,7 +17598,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 405,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17848,7 +17848,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 410,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17898,7 +17898,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 433,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17949,7 +17949,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 406,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18009,7 +18009,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 408,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18255,7 +18255,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 409,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18317,7 +18317,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 416,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18398,7 +18398,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 415,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18482,7 +18482,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -18584,7 +18584,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 419,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18665,7 +18665,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18769,7 +18769,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 413,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18868,7 +18868,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 414,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18931,7 +18931,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18996,7 +18996,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 418,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -19087,7 +19087,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 420,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19159,7 +19159,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 422,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19231,7 +19231,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 421,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19294,7 +19294,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 423,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19366,7 +19366,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 426,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19426,7 +19426,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 424,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19518,7 +19518,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 425,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19588,7 +19588,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 427,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19680,7 +19680,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 428,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22075,7 +22075,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 441,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22156,7 +22156,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 439,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22246,7 +22246,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 440,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22307,7 +22307,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 442,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22378,7 +22378,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 443,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
diff --git a/app/config/specs/swagger2-1.7.x-client.json b/app/config/specs/swagger2-1.7.x-client.json
index 0e83cb4691..c3353e157f 100644
--- a/app/config/specs/swagger2-1.7.x-client.json
+++ b/app/config/specs/swagger2-1.7.x-client.json
@@ -3451,7 +3451,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3576,7 +3575,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3707,7 +3705,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3770,7 +3767,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4257,7 +4253,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4340,7 +4335,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4431,7 +4425,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4522,7 +4515,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4603,8 +4595,8 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
- "server",
"server"
],
"packaging": false,
@@ -4612,6 +4604,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -4743,7 +4736,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4833,7 +4825,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4938,7 +4929,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5023,7 +5013,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5035,7 +5025,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5078,6 +5067,222 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
"\/functions\/{functionId}\/executions": {
"get": {
"summary": "List executions",
@@ -5101,7 +5306,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5113,7 +5318,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5175,7 +5379,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5187,7 +5391,6 @@
"scope": "execution.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5292,7 +5495,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5304,7 +5507,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5364,7 +5566,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5376,8 +5578,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -5438,7 +5639,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5450,8 +5651,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -5510,7 +5710,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5522,7 +5722,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5562,7 +5761,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5574,7 +5773,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5614,7 +5812,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5626,7 +5824,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5666,7 +5863,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5678,7 +5875,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5718,7 +5914,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5730,7 +5926,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5770,7 +5965,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5782,7 +5977,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5822,7 +6016,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5834,7 +6028,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5874,7 +6067,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5886,7 +6079,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -5928,7 +6120,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5941,8 +6133,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -6013,7 +6204,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6026,8 +6217,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -6084,7 +6274,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6096,7 +6286,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6167,7 +6356,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -6179,7 +6368,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6257,7 +6445,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6269,7 +6457,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6327,7 +6514,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6339,7 +6526,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6416,7 +6602,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6428,7 +6614,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6486,7 +6671,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6498,7 +6683,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6565,7 +6749,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6577,7 +6761,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6772,7 +6955,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -6784,7 +6967,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6851,7 +7033,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6863,7 +7045,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -6926,7 +7107,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6938,7 +7119,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7016,7 +7196,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7028,7 +7208,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7078,7 +7257,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7090,7 +7269,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7153,7 +7331,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7165,7 +7343,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7215,7 +7392,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7227,7 +7404,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7298,7 +7474,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7310,7 +7486,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7411,7 +7586,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7423,7 +7598,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7481,7 +7655,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7493,7 +7667,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7567,7 +7740,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7579,7 +7752,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7639,7 +7811,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7733,7 +7905,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7794,7 +7966,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8286,6 +8458,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -8320,6 +8498,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/swagger2-1.7.x-console.json b/app/config/specs/swagger2-1.7.x-console.json
index 9b2696efe5..4fa839aa39 100644
--- a/app/config/specs/swagger2-1.7.x-console.json
+++ b/app/config/specs/swagger2-1.7.x-console.json
@@ -3466,7 +3466,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3591,7 +3590,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3722,7 +3720,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3785,7 +3782,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4272,7 +4268,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4355,7 +4350,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4446,7 +4440,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4527,7 +4520,7 @@
"x-appwrite": {
"method": "chat",
"group": "console",
- "weight": 308,
+ "weight": 309,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4590,7 +4583,7 @@
"x-appwrite": {
"method": "getResource",
"group": null,
- "weight": 432,
+ "weight": 433,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4661,7 +4654,7 @@
"x-appwrite": {
"method": "variables",
"group": "console",
- "weight": 307,
+ "weight": 308,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4863,7 +4856,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 119,
+ "weight": 121,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8064,7 +8057,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8145,8 +8137,8 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
- "server",
"server"
],
"packaging": false,
@@ -8154,6 +8146,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -8182,6 +8175,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -8273,7 +8267,7 @@
]
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"consumes": [
"application\/json"
@@ -8284,7 +8278,7 @@
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -8296,7 +8290,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8307,6 +8301,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8384,7 +8379,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8395,6 +8390,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8475,7 +8471,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8486,6 +8482,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8572,7 +8569,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8662,7 +8658,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8767,7 +8762,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8852,7 +8846,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8864,7 +8858,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8993,6 +8986,222 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -9443,7 +9652,7 @@
"x-appwrite": {
"method": "getCollectionUsage",
"group": null,
- "weight": 121,
+ "weight": 123,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9599,7 +9808,7 @@
"x-appwrite": {
"method": "getDatabaseUsage",
"group": null,
- "weight": 120,
+ "weight": 122,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9677,7 +9886,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9749,7 +9958,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10000,7 +10209,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10049,7 +10258,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10099,7 +10308,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 402,
+ "weight": 403,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10193,7 +10402,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 401,
+ "weight": 402,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10251,7 +10460,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 395,
+ "weight": 396,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10321,7 +10530,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10380,7 +10589,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10627,7 +10836,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10688,7 +10897,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10765,7 +10974,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10845,7 +11054,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -10937,7 +11146,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11022,7 +11231,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11128,7 +11337,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11224,7 +11433,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11286,7 +11495,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11353,7 +11562,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -11364,7 +11573,6 @@
"rate-key": "url:{url},ip:{ip}",
"scope": "functions.read",
"platforms": [
- "server",
"server"
],
"packaging": false,
@@ -11439,7 +11647,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11506,7 +11714,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11518,7 +11726,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -11580,7 +11787,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11592,7 +11799,6 @@
"scope": "execution.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -11697,7 +11903,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11709,7 +11915,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -11762,7 +11967,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11829,7 +12034,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 394,
+ "weight": 395,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11907,7 +12112,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11966,7 +12171,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12056,7 +12261,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12123,7 +12328,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12215,7 +12420,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12284,7 +12489,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12296,8 +12501,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -12358,7 +12562,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12370,8 +12574,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -12430,7 +12633,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12479,7 +12682,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12528,7 +12731,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12577,7 +12780,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12635,7 +12838,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12684,7 +12887,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12733,7 +12936,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12793,7 +12996,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12853,7 +13056,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12922,7 +13125,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12982,7 +13185,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13066,7 +13269,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13126,7 +13329,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13186,7 +13389,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13246,7 +13449,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13306,7 +13509,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13366,7 +13569,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13426,7 +13629,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13486,7 +13689,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13546,7 +13749,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13595,7 +13798,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13644,7 +13847,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13693,7 +13896,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13705,7 +13908,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -13745,7 +13947,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13757,7 +13959,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -13797,7 +13998,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13809,7 +14010,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -13849,7 +14049,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13861,7 +14061,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -13901,7 +14100,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13913,7 +14112,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -13953,7 +14151,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13965,7 +14163,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -14005,7 +14202,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14017,7 +14214,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -14057,7 +14253,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14069,7 +14265,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -14109,7 +14304,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14184,7 +14379,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14342,7 +14537,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14497,7 +14692,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14692,7 +14887,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14886,7 +15081,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15004,7 +15199,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15118,7 +15313,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15173,7 +15368,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15233,7 +15428,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15305,7 +15500,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15377,7 +15572,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15452,7 +15647,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15567,7 +15762,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15680,7 +15875,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15771,7 +15966,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15860,7 +16055,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15987,7 +16182,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16112,7 +16307,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16215,7 +16410,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16316,7 +16511,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16431,7 +16626,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16544,7 +16739,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16703,7 +16898,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16859,7 +17054,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16962,7 +17157,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17063,7 +17258,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17166,7 +17361,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17267,7 +17462,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17370,7 +17565,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17471,7 +17666,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17574,7 +17769,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17673,7 +17868,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17728,7 +17923,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17788,7 +17983,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17860,7 +18055,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17932,7 +18127,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18005,7 +18200,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18093,7 +18288,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18153,7 +18348,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18232,7 +18427,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18292,7 +18487,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18364,7 +18559,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18445,7 +18640,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18458,8 +18653,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -18533,7 +18727,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18596,7 +18790,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18609,8 +18803,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -18667,7 +18860,7 @@
"x-appwrite": {
"method": "list",
"group": null,
- "weight": 314,
+ "weight": 315,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18740,7 +18933,7 @@
"x-appwrite": {
"method": "createAppwriteMigration",
"group": null,
- "weight": 309,
+ "weight": 310,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18832,7 +19025,7 @@
"x-appwrite": {
"method": "getAppwriteReport",
"group": null,
- "weight": 316,
+ "weight": 317,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18920,7 +19113,7 @@
"x-appwrite": {
"method": "createCsvMigration",
"group": null,
- "weight": 313,
+ "weight": 314,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19004,7 +19197,7 @@
"x-appwrite": {
"method": "createFirebaseMigration",
"group": null,
- "weight": 310,
+ "weight": 311,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19082,7 +19275,7 @@
"x-appwrite": {
"method": "getFirebaseReport",
"group": null,
- "weight": 317,
+ "weight": 318,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19153,7 +19346,7 @@
"x-appwrite": {
"method": "createNHostMigration",
"group": null,
- "weight": 312,
+ "weight": 313,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19272,7 +19465,7 @@
"x-appwrite": {
"method": "getNHostReport",
"group": null,
- "weight": 319,
+ "weight": 320,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19392,7 +19585,7 @@
"x-appwrite": {
"method": "createSupabaseMigration",
"group": null,
- "weight": 311,
+ "weight": 312,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19504,7 +19697,7 @@
"x-appwrite": {
"method": "getSupabaseReport",
"group": null,
- "weight": 318,
+ "weight": 319,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19615,7 +19808,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 315,
+ "weight": 316,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19673,7 +19866,7 @@
"x-appwrite": {
"method": "retry",
"group": null,
- "weight": 320,
+ "weight": 321,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19726,7 +19919,7 @@
"x-appwrite": {
"method": "delete",
"group": null,
- "weight": 321,
+ "weight": 322,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19784,7 +19977,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 200,
+ "weight": 202,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19866,7 +20059,7 @@
"x-appwrite": {
"method": "listVariables",
"group": null,
- "weight": 202,
+ "weight": 204,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19914,7 +20107,7 @@
"x-appwrite": {
"method": "createVariable",
"group": null,
- "weight": 201,
+ "weight": 203,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19995,7 +20188,7 @@
"x-appwrite": {
"method": "getVariable",
"group": null,
- "weight": 203,
+ "weight": 205,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20053,7 +20246,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": null,
- "weight": 204,
+ "weight": 206,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20136,7 +20329,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": null,
- "weight": 205,
+ "weight": 207,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20194,7 +20387,7 @@
"x-appwrite": {
"method": "list",
"group": "projects",
- "weight": 155,
+ "weight": 157,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20265,7 +20458,7 @@
"x-appwrite": {
"method": "create",
"group": "projects",
- "weight": 154,
+ "weight": 156,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20412,7 +20605,7 @@
"x-appwrite": {
"method": "get",
"group": "projects",
- "weight": 156,
+ "weight": 158,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20470,7 +20663,7 @@
"x-appwrite": {
"method": "update",
"group": "projects",
- "weight": 157,
+ "weight": 159,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20595,7 +20788,7 @@
"x-appwrite": {
"method": "delete",
"group": "projects",
- "weight": 174,
+ "weight": 176,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20655,7 +20848,7 @@
"x-appwrite": {
"method": "updateApiStatus",
"group": "projects",
- "weight": 161,
+ "weight": 163,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20747,7 +20940,7 @@
"x-appwrite": {
"method": "updateApiStatusAll",
"group": "projects",
- "weight": 162,
+ "weight": 164,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20825,7 +21018,7 @@
"x-appwrite": {
"method": "updateAuthDuration",
"group": "auth",
- "weight": 167,
+ "weight": 169,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20903,7 +21096,7 @@
"x-appwrite": {
"method": "updateAuthLimit",
"group": "auth",
- "weight": 166,
+ "weight": 168,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20981,7 +21174,7 @@
"x-appwrite": {
"method": "updateAuthSessionsLimit",
"group": "auth",
- "weight": 172,
+ "weight": 174,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21059,7 +21252,7 @@
"x-appwrite": {
"method": "updateMembershipsPrivacy",
"group": "auth",
- "weight": 165,
+ "weight": 167,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21151,7 +21344,7 @@
"x-appwrite": {
"method": "updateMockNumbers",
"group": "auth",
- "weight": 173,
+ "weight": 175,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21232,7 +21425,7 @@
"x-appwrite": {
"method": "updateAuthPasswordDictionary",
"group": "auth",
- "weight": 170,
+ "weight": 172,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21310,7 +21503,7 @@
"x-appwrite": {
"method": "updateAuthPasswordHistory",
"group": "auth",
- "weight": 169,
+ "weight": 171,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21388,7 +21581,7 @@
"x-appwrite": {
"method": "updatePersonalDataCheck",
"group": "auth",
- "weight": 171,
+ "weight": 173,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21466,7 +21659,7 @@
"x-appwrite": {
"method": "updateSessionAlerts",
"group": "auth",
- "weight": 164,
+ "weight": 166,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21544,7 +21737,7 @@
"x-appwrite": {
"method": "updateAuthStatus",
"group": "auth",
- "weight": 168,
+ "weight": 170,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21639,7 +21832,7 @@
"x-appwrite": {
"method": "listDevKeys",
"group": "devKeys",
- "weight": 371,
+ "weight": 372,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21709,7 +21902,7 @@
"x-appwrite": {
"method": "createDevKey",
"group": "devKeys",
- "weight": 368,
+ "weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21792,7 +21985,7 @@
"x-appwrite": {
"method": "getDevKey",
"group": "devKeys",
- "weight": 370,
+ "weight": 371,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21858,7 +22051,7 @@
"x-appwrite": {
"method": "updateDevKey",
"group": "devKeys",
- "weight": 369,
+ "weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21944,7 +22137,7 @@
"x-appwrite": {
"method": "deleteDevKey",
"group": "devKeys",
- "weight": 372,
+ "weight": 373,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22012,7 +22205,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "auth",
- "weight": 186,
+ "weight": 188,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22097,7 +22290,7 @@
"x-appwrite": {
"method": "listKeys",
"group": "keys",
- "weight": 182,
+ "weight": 184,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22155,7 +22348,7 @@
"x-appwrite": {
"method": "createKey",
"group": "keys",
- "weight": 181,
+ "weight": 183,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22247,7 +22440,7 @@
"x-appwrite": {
"method": "getKey",
"group": "keys",
- "weight": 183,
+ "weight": 185,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22313,7 +22506,7 @@
"x-appwrite": {
"method": "updateKey",
"group": "keys",
- "weight": 184,
+ "weight": 186,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22408,7 +22601,7 @@
"x-appwrite": {
"method": "deleteKey",
"group": "keys",
- "weight": 185,
+ "weight": 187,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22476,7 +22669,7 @@
"x-appwrite": {
"method": "updateOAuth2",
"group": "auth",
- "weight": 163,
+ "weight": 165,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22614,7 +22807,7 @@
"x-appwrite": {
"method": "listPlatforms",
"group": "platforms",
- "weight": 188,
+ "weight": 190,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22672,7 +22865,7 @@
"x-appwrite": {
"method": "createPlatform",
"group": "platforms",
- "weight": 187,
+ "weight": 189,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22792,7 +22985,7 @@
"x-appwrite": {
"method": "getPlatform",
"group": "platforms",
- "weight": 189,
+ "weight": 191,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22858,7 +23051,7 @@
"x-appwrite": {
"method": "updatePlatform",
"group": "platforms",
- "weight": 190,
+ "weight": 192,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22955,7 +23148,7 @@
"x-appwrite": {
"method": "deletePlatform",
"group": "platforms",
- "weight": 191,
+ "weight": 193,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23023,7 +23216,7 @@
"x-appwrite": {
"method": "updateServiceStatus",
"group": "projects",
- "weight": 159,
+ "weight": 161,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23124,7 +23317,7 @@
"x-appwrite": {
"method": "updateServiceStatusAll",
"group": "projects",
- "weight": 160,
+ "weight": 162,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23202,7 +23395,7 @@
"x-appwrite": {
"method": "updateSmtp",
"group": "templates",
- "weight": 192,
+ "weight": 194,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23331,7 +23524,7 @@
"x-appwrite": {
"method": "createSmtpTest",
"group": "templates",
- "weight": 193,
+ "weight": 195,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23469,7 +23662,7 @@
"x-appwrite": {
"method": "updateTeam",
"group": "projects",
- "weight": 158,
+ "weight": 160,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23545,7 +23738,7 @@
"x-appwrite": {
"method": "getEmailTemplate",
"group": "templates",
- "weight": 195,
+ "weight": 197,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23765,7 +23958,7 @@
"x-appwrite": {
"method": "updateEmailTemplate",
"group": "templates",
- "weight": 197,
+ "weight": 199,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24028,7 +24221,7 @@
"x-appwrite": {
"method": "deleteEmailTemplate",
"group": "templates",
- "weight": 199,
+ "weight": 201,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24248,7 +24441,7 @@
"x-appwrite": {
"method": "getSmsTemplate",
"group": "templates",
- "weight": 194,
+ "weight": 196,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24465,7 +24658,7 @@
"x-appwrite": {
"method": "updateSmsTemplate",
"group": "templates",
- "weight": 196,
+ "weight": 198,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24700,7 +24893,7 @@
"x-appwrite": {
"method": "deleteSmsTemplate",
"group": "templates",
- "weight": 198,
+ "weight": 200,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24917,7 +25110,7 @@
"x-appwrite": {
"method": "listWebhooks",
"group": "webhooks",
- "weight": 176,
+ "weight": 178,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24975,7 +25168,7 @@
"x-appwrite": {
"method": "createWebhook",
"group": "webhooks",
- "weight": 175,
+ "weight": 177,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25093,7 +25286,7 @@
"x-appwrite": {
"method": "getWebhook",
"group": "webhooks",
- "weight": 177,
+ "weight": 179,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25159,7 +25352,7 @@
"x-appwrite": {
"method": "updateWebhook",
"group": "webhooks",
- "weight": 178,
+ "weight": 180,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25280,7 +25473,7 @@
"x-appwrite": {
"method": "deleteWebhook",
"group": "webhooks",
- "weight": 180,
+ "weight": 182,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25348,7 +25541,7 @@
"x-appwrite": {
"method": "updateWebhookSignature",
"group": "webhooks",
- "weight": 179,
+ "weight": 181,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25414,7 +25607,7 @@
"x-appwrite": {
"method": "listRules",
"group": null,
- "weight": 292,
+ "weight": 294,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25487,7 +25680,7 @@
"x-appwrite": {
"method": "createAPIRule",
"group": null,
- "weight": 433,
+ "weight": 434,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25557,7 +25750,7 @@
"x-appwrite": {
"method": "createFunctionRule",
"group": null,
- "weight": 435,
+ "weight": 436,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25640,7 +25833,7 @@
"x-appwrite": {
"method": "createRedirectRule",
"group": null,
- "weight": 436,
+ "weight": 437,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25760,7 +25953,7 @@
"x-appwrite": {
"method": "createSiteRule",
"group": null,
- "weight": 434,
+ "weight": 435,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25841,7 +26034,7 @@
"x-appwrite": {
"method": "getRule",
"group": null,
- "weight": 293,
+ "weight": 295,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25894,7 +26087,7 @@
"x-appwrite": {
"method": "deleteRule",
"group": null,
- "weight": 294,
+ "weight": 296,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25954,7 +26147,7 @@
"x-appwrite": {
"method": "updateRuleVerification",
"group": null,
- "weight": 295,
+ "weight": 297,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26012,7 +26205,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26084,7 +26277,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26351,7 +26544,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26400,7 +26593,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26450,7 +26643,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 427,
+ "weight": 428,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26544,7 +26737,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 428,
+ "weight": 429,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26602,7 +26795,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 429,
+ "weight": 430,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26672,7 +26865,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26731,7 +26924,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26993,7 +27186,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27054,7 +27247,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27131,7 +27324,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27211,7 +27404,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -27311,7 +27504,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27390,7 +27583,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27496,7 +27689,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27593,7 +27786,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27655,7 +27848,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27722,7 +27915,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -27733,7 +27926,6 @@
"rate-key": "url:{url},ip:{ip}",
"scope": "sites.read",
"platforms": [
- "server",
"server"
],
"packaging": false,
@@ -27808,7 +28000,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27875,7 +28067,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27946,7 +28138,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28010,7 +28202,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28077,7 +28269,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 430,
+ "weight": 431,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28155,7 +28347,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28214,7 +28406,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28304,7 +28496,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28371,7 +28563,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28463,7 +28655,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28530,7 +28722,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28602,7 +28794,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28739,7 +28931,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28798,7 +28990,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28931,7 +29123,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28990,7 +29182,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29002,7 +29194,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29073,7 +29264,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -29085,7 +29276,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29163,7 +29353,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29175,7 +29365,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29233,7 +29422,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29245,7 +29434,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29322,7 +29510,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29334,7 +29522,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29392,7 +29579,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29404,7 +29591,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29471,7 +29657,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29483,7 +29669,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29678,7 +29863,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -29690,7 +29875,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29757,7 +29941,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 220,
+ "weight": 222,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29827,7 +30011,7 @@
"x-appwrite": {
"method": "getBucketUsage",
"group": null,
- "weight": 221,
+ "weight": 223,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29905,7 +30089,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29917,7 +30101,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -29980,7 +30163,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -29992,7 +30175,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30070,7 +30252,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30082,7 +30264,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30132,7 +30313,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30144,7 +30325,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30207,7 +30387,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30219,7 +30399,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30269,7 +30448,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 235,
+ "weight": 237,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30339,7 +30518,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30351,7 +30530,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30422,7 +30600,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30434,7 +30612,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30535,7 +30712,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30547,7 +30724,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30605,7 +30781,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30617,7 +30793,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30691,7 +30866,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30703,7 +30878,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -30763,7 +30937,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30856,7 +31030,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30916,7 +31090,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -30994,7 +31168,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31074,7 +31248,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31158,7 +31332,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31218,7 +31392,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31289,7 +31463,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31349,7 +31523,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31421,7 +31595,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31516,7 +31690,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31607,7 +31781,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31696,7 +31870,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31765,7 +31939,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31826,7 +32000,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31917,7 +32091,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32008,7 +32182,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32134,7 +32308,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32246,7 +32420,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32356,7 +32530,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 278,
+ "weight": 280,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32426,7 +32600,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32480,7 +32654,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32541,7 +32715,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32620,7 +32794,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32702,7 +32876,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32782,7 +32956,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32853,7 +33027,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -32935,7 +33109,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33009,7 +33183,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33081,7 +33255,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33140,7 +33314,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33199,7 +33373,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33258,7 +33432,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33319,7 +33493,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33398,7 +33572,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33477,7 +33651,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33554,7 +33728,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33613,7 +33787,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33690,7 +33864,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33749,7 +33923,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33803,7 +33977,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33859,7 +34033,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -33928,7 +34102,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34005,7 +34179,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34041,7 +34215,7 @@
},
{
"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, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, 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: userId, providerId, identifier, providerType",
"required": false,
"type": "array",
"collectionFormat": "multi",
@@ -34077,7 +34251,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34188,7 +34362,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34256,7 +34430,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34346,7 +34520,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34416,7 +34590,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34498,7 +34672,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34577,7 +34751,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34656,7 +34830,7 @@
"x-appwrite": {
"method": "createRepositoryDetection",
"group": "repositories",
- "weight": 282,
+ "weight": 284,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34751,7 +34925,7 @@
"x-appwrite": {
"method": "listRepositories",
"group": "repositories",
- "weight": 283,
+ "weight": 285,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34832,7 +35006,7 @@
"x-appwrite": {
"method": "createRepository",
"group": "repositories",
- "weight": 284,
+ "weight": 286,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34915,7 +35089,7 @@
"x-appwrite": {
"method": "getRepository",
"group": "repositories",
- "weight": 285,
+ "weight": 287,
"cookies": false,
"type": "",
"deprecated": false,
@@ -34981,7 +35155,7 @@
"x-appwrite": {
"method": "listRepositoryBranches",
"group": "repositories",
- "weight": 286,
+ "weight": 288,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35035,7 +35209,7 @@
"tags": [
"vcs"
],
- "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n",
+ "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.",
"responses": {
"200": {
"description": "VCS Content List",
@@ -35047,7 +35221,7 @@
"x-appwrite": {
"method": "getRepositoryContents",
"group": "repositories",
- "weight": 281,
+ "weight": 283,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35130,7 +35304,7 @@
"x-appwrite": {
"method": "updateExternalDeployments",
"group": "repositories",
- "weight": 291,
+ "weight": 293,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35214,7 +35388,7 @@
"x-appwrite": {
"method": "listInstallations",
"group": "installations",
- "weight": 288,
+ "weight": 290,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35285,7 +35459,7 @@
"x-appwrite": {
"method": "getInstallation",
"group": "installations",
- "weight": 289,
+ "weight": 291,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35338,7 +35512,7 @@
"x-appwrite": {
"method": "deleteInstallation",
"group": "installations",
- "weight": 290,
+ "weight": 292,
"cookies": false,
"type": "",
"deprecated": false,
@@ -36860,6 +37034,12 @@
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
"x-example": "default",
"x-nullable": true
+ },
+ "encrypt": {
+ "type": "boolean",
+ "description": "Defines whether this attribute is encrypted or not.",
+ "x-example": false,
+ "x-nullable": true
}
},
"required": [
@@ -37611,6 +37791,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -37645,6 +37831,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/swagger2-1.7.x-server.json b/app/config/specs/swagger2-1.7.x-server.json
index aba8aa5032..5dc7b6d925 100644
--- a/app/config/specs/swagger2-1.7.x-server.json
+++ b/app/config/specs/swagger2-1.7.x-server.json
@@ -3142,7 +3142,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3269,7 +3268,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3402,7 +3400,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3467,7 +3464,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -3956,7 +3952,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4041,7 +4036,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -4134,7 +4128,6 @@
"scope": "avatars.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7533,7 +7526,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -7616,8 +7608,8 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"client",
- "server",
"server"
],
"packaging": false,
@@ -7625,6 +7617,7 @@
{
"name": "createDocument",
"auth": {
+ "Admin": [],
"Session": [],
"Key": [],
"JWT": []
@@ -7653,6 +7646,7 @@
{
"name": "createDocuments",
"auth": {
+ "Admin": [],
"Key": []
},
"parameters": [
@@ -7746,7 +7740,7 @@
]
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"consumes": [
"application\/json"
@@ -7757,7 +7751,7 @@
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -7769,7 +7763,7 @@
"x-appwrite": {
"method": "upsertDocuments",
"group": "documents",
- "weight": 116,
+ "weight": 118,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7780,6 +7774,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7858,7 +7853,7 @@
"x-appwrite": {
"method": "updateDocuments",
"group": "documents",
- "weight": 115,
+ "weight": 117,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7869,6 +7864,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -7950,7 +7946,7 @@
"x-appwrite": {
"method": "deleteDocuments",
"group": "documents",
- "weight": 118,
+ "weight": 120,
"cookies": false,
"type": "",
"deprecated": false,
@@ -7961,6 +7957,7 @@
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "documents.write",
"platforms": [
+ "console",
"server"
],
"packaging": false,
@@ -8048,7 +8045,6 @@
"scope": "documents.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8140,7 +8136,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8247,7 +8242,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8334,7 +8328,7 @@
"x-appwrite": {
"method": "deleteDocument",
"group": "documents",
- "weight": 117,
+ "weight": 119,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8346,7 +8340,6 @@
"scope": "documents.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -8391,6 +8384,226 @@
]
}
},
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/decrement": {
+ "patch": {
+ "summary": "Decrement document attribute",
+ "operationId": "databasesDecrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Decrement a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "decrementDocumentAttribute",
+ "group": "documents",
+ "weight": 116,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/decrement-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to decrement the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
+ "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/{attribute}\/increment": {
+ "patch": {
+ "summary": "Increment document attribute",
+ "operationId": "databasesIncrementDocumentAttribute",
+ "consumes": [
+ "application\/json"
+ ],
+ "produces": [
+ "application\/json"
+ ],
+ "tags": [
+ "databases"
+ ],
+ "description": "Increment a specific attribute of a document by a given value.",
+ "responses": {
+ "200": {
+ "description": "Document",
+ "schema": {
+ "$ref": "#\/definitions\/document"
+ }
+ }
+ },
+ "x-appwrite": {
+ "method": "incrementDocumentAttribute",
+ "group": "documents",
+ "weight": 115,
+ "cookies": false,
+ "type": "",
+ "deprecated": false,
+ "demo": "databases\/increment-document-attribute.md",
+ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md",
+ "rate-limit": 120,
+ "rate-time": 60,
+ "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
+ "scope": "documents.write",
+ "platforms": [
+ "console",
+ "server",
+ "client"
+ ],
+ "packaging": false,
+ "auth": {
+ "Project": [],
+ "Key": []
+ }
+ },
+ "security": [
+ {
+ "Project": [],
+ "Key": [],
+ "Session": [],
+ "JWT": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "databaseId",
+ "description": "Database ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "collectionId",
+ "description": "Collection ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "documentId",
+ "description": "Document ID.",
+ "required": true,
+ "type": "string",
+ "x-example": "",
+ "in": "path"
+ },
+ {
+ "name": "attribute",
+ "description": "Attribute key.",
+ "required": true,
+ "type": "string",
+ "in": "path"
+ },
+ {
+ "name": "payload",
+ "in": "body",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "number",
+ "description": "Value to increment the attribute by. The value must be a number.",
+ "default": 1,
+ "x-example": null
+ },
+ "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
+ }
+ }
+ }
+ }
+ ]
+ }
+ },
"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": {
"get": {
"summary": "List indexes",
@@ -8767,7 +8980,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 376,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8840,7 +9053,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 373,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9092,7 +9305,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 378,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9142,7 +9355,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 379,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9193,7 +9406,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 374,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9253,7 +9466,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 375,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9501,7 +9714,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 377,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9563,7 +9776,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 382,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9641,7 +9854,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 383,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9722,7 +9935,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 380,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -9815,7 +10028,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9901,7 +10114,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 385,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10008,7 +10221,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10105,7 +10318,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 381,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10168,7 +10381,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 384,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10236,7 +10449,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 387,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -10247,7 +10460,6 @@
"rate-key": "url:{url},ip:{ip}",
"scope": "functions.read",
"platforms": [
- "server",
"server"
],
"packaging": false,
@@ -10323,7 +10535,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 389,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10391,7 +10603,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 392,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10403,7 +10615,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -10467,7 +10678,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 390,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10479,7 +10690,6 @@
"scope": "execution.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -10586,7 +10796,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 391,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10598,7 +10808,6 @@
"scope": "execution.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -10653,7 +10862,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 393,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10721,7 +10930,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 398,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10781,7 +10990,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 396,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10872,7 +11081,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 397,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10940,7 +11149,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 399,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11033,7 +11242,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 400,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11103,7 +11312,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 306,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11115,8 +11324,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -11179,7 +11387,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 305,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11191,8 +11399,7 @@
"scope": "graphql",
"platforms": [
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -11253,7 +11460,7 @@
"x-appwrite": {
"method": "get",
"group": "health",
- "weight": 130,
+ "weight": 132,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11303,7 +11510,7 @@
"x-appwrite": {
"method": "getAntivirus",
"group": "health",
- "weight": 151,
+ "weight": 153,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11353,7 +11560,7 @@
"x-appwrite": {
"method": "getCache",
"group": "health",
- "weight": 133,
+ "weight": 135,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11403,7 +11610,7 @@
"x-appwrite": {
"method": "getCertificate",
"group": "health",
- "weight": 138,
+ "weight": 140,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11462,7 +11669,7 @@
"x-appwrite": {
"method": "getDB",
"group": "health",
- "weight": 132,
+ "weight": 134,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11512,7 +11719,7 @@
"x-appwrite": {
"method": "getPubSub",
"group": "health",
- "weight": 134,
+ "weight": 136,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11562,7 +11769,7 @@
"x-appwrite": {
"method": "getQueueBuilds",
"group": "queue",
- "weight": 140,
+ "weight": 142,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11623,7 +11830,7 @@
"x-appwrite": {
"method": "getQueueCertificates",
"group": "queue",
- "weight": 139,
+ "weight": 141,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11684,7 +11891,7 @@
"x-appwrite": {
"method": "getQueueDatabases",
"group": "queue",
- "weight": 141,
+ "weight": 143,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11754,7 +11961,7 @@
"x-appwrite": {
"method": "getQueueDeletes",
"group": "queue",
- "weight": 142,
+ "weight": 144,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11815,7 +12022,7 @@
"x-appwrite": {
"method": "getFailedJobs",
"group": "queue",
- "weight": 152,
+ "weight": 154,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11900,7 +12107,7 @@
"x-appwrite": {
"method": "getQueueFunctions",
"group": "queue",
- "weight": 146,
+ "weight": 148,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11961,7 +12168,7 @@
"x-appwrite": {
"method": "getQueueLogs",
"group": "queue",
- "weight": 137,
+ "weight": 139,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12022,7 +12229,7 @@
"x-appwrite": {
"method": "getQueueMails",
"group": "queue",
- "weight": 143,
+ "weight": 145,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12083,7 +12290,7 @@
"x-appwrite": {
"method": "getQueueMessaging",
"group": "queue",
- "weight": 144,
+ "weight": 146,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12144,7 +12351,7 @@
"x-appwrite": {
"method": "getQueueMigrations",
"group": "queue",
- "weight": 145,
+ "weight": 147,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12205,7 +12412,7 @@
"x-appwrite": {
"method": "getQueueStatsResources",
"group": "queue",
- "weight": 147,
+ "weight": 149,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12266,7 +12473,7 @@
"x-appwrite": {
"method": "getQueueUsage",
"group": "queue",
- "weight": 148,
+ "weight": 150,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12327,7 +12534,7 @@
"x-appwrite": {
"method": "getQueueWebhooks",
"group": "queue",
- "weight": 136,
+ "weight": 138,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12388,7 +12595,7 @@
"x-appwrite": {
"method": "getStorage",
"group": "storage",
- "weight": 150,
+ "weight": 152,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12438,7 +12645,7 @@
"x-appwrite": {
"method": "getStorageLocal",
"group": "storage",
- "weight": 149,
+ "weight": 151,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12488,7 +12695,7 @@
"x-appwrite": {
"method": "getTime",
"group": "health",
- "weight": 135,
+ "weight": 137,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12538,7 +12745,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 122,
+ "weight": 124,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12550,7 +12757,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12592,7 +12798,7 @@
"x-appwrite": {
"method": "listCodes",
"group": null,
- "weight": 123,
+ "weight": 125,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12604,7 +12810,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12646,7 +12851,7 @@
"x-appwrite": {
"method": "listContinents",
"group": null,
- "weight": 127,
+ "weight": 129,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12658,7 +12863,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12700,7 +12904,7 @@
"x-appwrite": {
"method": "listCountries",
"group": null,
- "weight": 124,
+ "weight": 126,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12712,7 +12916,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12754,7 +12957,7 @@
"x-appwrite": {
"method": "listCountriesEU",
"group": null,
- "weight": 125,
+ "weight": 127,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12766,7 +12969,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12808,7 +13010,7 @@
"x-appwrite": {
"method": "listCountriesPhones",
"group": null,
- "weight": 126,
+ "weight": 128,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12820,7 +13022,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12862,7 +13063,7 @@
"x-appwrite": {
"method": "listCurrencies",
"group": null,
- "weight": 128,
+ "weight": 130,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12874,7 +13075,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12916,7 +13116,7 @@
"x-appwrite": {
"method": "listLanguages",
"group": null,
- "weight": 129,
+ "weight": 131,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12928,7 +13128,6 @@
"scope": "locale.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -12970,7 +13169,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 360,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13046,7 +13245,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 357,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13205,7 +13404,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 364,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13361,7 +13560,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 359,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13557,7 +13756,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 366,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13752,7 +13951,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 358,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13871,7 +14070,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 365,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13986,7 +14185,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 363,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14042,7 +14241,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 367,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14103,7 +14302,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 361,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14176,7 +14375,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 362,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14249,7 +14448,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 332,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14325,7 +14524,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 331,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14441,7 +14640,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 344,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14555,7 +14754,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 330,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14647,7 +14846,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 343,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14737,7 +14936,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 322,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14865,7 +15064,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 335,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14991,7 +15190,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 325,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15095,7 +15294,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 338,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15197,7 +15396,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 323,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15313,7 +15512,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 336,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15427,7 +15626,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 324,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15587,7 +15786,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 337,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15744,7 +15943,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 326,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15848,7 +16047,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 339,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15950,7 +16149,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 327,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16054,7 +16253,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 340,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16156,7 +16355,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 328,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16260,7 +16459,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 341,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16362,7 +16561,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 329,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16466,7 +16665,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 342,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16566,7 +16765,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 334,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16622,7 +16821,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 345,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16683,7 +16882,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 333,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16756,7 +16955,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 354,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16829,7 +17028,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 347,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16903,7 +17102,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 346,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16992,7 +17191,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 349,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17053,7 +17252,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 350,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17133,7 +17332,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 351,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17194,7 +17393,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 348,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17267,7 +17466,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 353,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17349,7 +17548,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 352,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17362,8 +17561,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -17439,7 +17637,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 355,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17503,7 +17701,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 356,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17516,8 +17714,7 @@
"platforms": [
"server",
"client",
- "console",
- "server"
+ "console"
],
"packaging": false,
"auth": {
@@ -17576,7 +17773,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 405,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17649,7 +17846,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 403,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17917,7 +18114,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 408,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17967,7 +18164,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 431,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18018,7 +18215,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 404,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18078,7 +18275,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 406,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18341,7 +18538,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 407,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18403,7 +18600,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 414,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18481,7 +18678,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 413,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18562,7 +18759,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 409,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -18663,7 +18860,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18743,7 +18940,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 410,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18850,7 +19047,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18948,7 +19145,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19011,7 +19208,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 415,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19079,7 +19276,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 416,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -19090,7 +19287,6 @@
"rate-key": "url:{url},ip:{ip}",
"scope": "sites.read",
"platforms": [
- "server",
"server"
],
"packaging": false,
@@ -19166,7 +19362,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 418,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19234,7 +19430,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 420,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19306,7 +19502,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 419,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19371,7 +19567,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 421,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19439,7 +19635,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 424,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19499,7 +19695,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 422,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19590,7 +19786,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 423,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19658,7 +19854,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 425,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19751,7 +19947,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 426,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19819,7 +20015,7 @@
"x-appwrite": {
"method": "listBuckets",
"group": "buckets",
- "weight": 207,
+ "weight": 209,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19892,7 +20088,7 @@
"x-appwrite": {
"method": "createBucket",
"group": "buckets",
- "weight": 206,
+ "weight": 208,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20030,7 +20226,7 @@
"x-appwrite": {
"method": "getBucket",
"group": "buckets",
- "weight": 208,
+ "weight": 210,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20090,7 +20286,7 @@
"x-appwrite": {
"method": "updateBucket",
"group": "buckets",
- "weight": 209,
+ "weight": 211,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20224,7 +20420,7 @@
"x-appwrite": {
"method": "deleteBucket",
"group": "buckets",
- "weight": 210,
+ "weight": 212,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20284,7 +20480,7 @@
"x-appwrite": {
"method": "listFiles",
"group": "files",
- "weight": 212,
+ "weight": 214,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20296,7 +20492,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20369,7 +20564,7 @@
"x-appwrite": {
"method": "createFile",
"group": "files",
- "weight": 211,
+ "weight": 213,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -20381,7 +20576,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20461,7 +20655,7 @@
"x-appwrite": {
"method": "getFile",
"group": "files",
- "weight": 213,
+ "weight": 215,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20473,7 +20667,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20533,7 +20726,7 @@
"x-appwrite": {
"method": "updateFile",
"group": "files",
- "weight": 218,
+ "weight": 220,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20545,7 +20738,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20624,7 +20816,7 @@
"x-appwrite": {
"method": "deleteFile",
"group": "files",
- "weight": 219,
+ "weight": 221,
"cookies": false,
"type": "",
"deprecated": false,
@@ -20636,7 +20828,6 @@
"scope": "files.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20696,7 +20887,7 @@
"x-appwrite": {
"method": "getFileDownload",
"group": "files",
- "weight": 215,
+ "weight": 217,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20708,7 +20899,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20777,7 +20967,7 @@
"x-appwrite": {
"method": "getFilePreview",
"group": "files",
- "weight": 214,
+ "weight": 216,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20789,7 +20979,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -20986,7 +21175,7 @@
"x-appwrite": {
"method": "getFileView",
"group": "files",
- "weight": 216,
+ "weight": 218,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -20998,7 +21187,6 @@
"scope": "files.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21067,7 +21255,7 @@
"x-appwrite": {
"method": "list",
"group": "teams",
- "weight": 223,
+ "weight": 225,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21079,7 +21267,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21144,7 +21331,7 @@
"x-appwrite": {
"method": "create",
"group": "teams",
- "weight": 222,
+ "weight": 224,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21156,7 +21343,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21236,7 +21422,7 @@
"x-appwrite": {
"method": "get",
"group": "teams",
- "weight": 224,
+ "weight": 226,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21248,7 +21434,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21300,7 +21485,7 @@
"x-appwrite": {
"method": "updateName",
"group": "teams",
- "weight": 226,
+ "weight": 228,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21312,7 +21497,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21377,7 +21561,7 @@
"x-appwrite": {
"method": "delete",
"group": "teams",
- "weight": 228,
+ "weight": 230,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21389,7 +21573,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21441,7 +21624,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 230,
+ "weight": 232,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21453,7 +21636,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21526,7 +21708,7 @@
"x-appwrite": {
"method": "createMembership",
"group": "memberships",
- "weight": 229,
+ "weight": 231,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21538,7 +21720,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21641,7 +21822,7 @@
"x-appwrite": {
"method": "getMembership",
"group": "memberships",
- "weight": 231,
+ "weight": 233,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21653,7 +21834,6 @@
"scope": "teams.read",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21713,7 +21893,7 @@
"x-appwrite": {
"method": "updateMembership",
"group": "memberships",
- "weight": 232,
+ "weight": 234,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21725,7 +21905,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21801,7 +21980,7 @@
"x-appwrite": {
"method": "deleteMembership",
"group": "memberships",
- "weight": 234,
+ "weight": 236,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21813,7 +21992,6 @@
"scope": "teams.write",
"platforms": [
"client",
- "server",
"server"
],
"packaging": false,
@@ -21875,7 +22053,7 @@
"x-appwrite": {
"method": "updateMembershipStatus",
"group": "memberships",
- "weight": 233,
+ "weight": 235,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21970,7 +22148,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "teams",
- "weight": 225,
+ "weight": 227,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22032,7 +22210,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "teams",
- "weight": 227,
+ "weight": 229,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22112,7 +22290,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 439,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22193,7 +22371,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 437,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22278,7 +22456,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 438,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22339,7 +22517,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 440,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22411,7 +22589,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 441,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22472,7 +22650,7 @@
"x-appwrite": {
"method": "list",
"group": "users",
- "weight": 245,
+ "weight": 247,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22545,7 +22723,7 @@
"x-appwrite": {
"method": "create",
"group": "users",
- "weight": 236,
+ "weight": 238,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22641,7 +22819,7 @@
"x-appwrite": {
"method": "createArgon2User",
"group": "users",
- "weight": 239,
+ "weight": 241,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22733,7 +22911,7 @@
"x-appwrite": {
"method": "createBcryptUser",
"group": "users",
- "weight": 237,
+ "weight": 239,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22823,7 +23001,7 @@
"x-appwrite": {
"method": "listIdentities",
"group": "identities",
- "weight": 253,
+ "weight": 255,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22893,7 +23071,7 @@
"x-appwrite": {
"method": "deleteIdentity",
"group": "identities",
- "weight": 276,
+ "weight": 278,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22955,7 +23133,7 @@
"x-appwrite": {
"method": "createMD5User",
"group": "users",
- "weight": 238,
+ "weight": 240,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23047,7 +23225,7 @@
"x-appwrite": {
"method": "createPHPassUser",
"group": "users",
- "weight": 241,
+ "weight": 243,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23139,7 +23317,7 @@
"x-appwrite": {
"method": "createScryptUser",
"group": "users",
- "weight": 242,
+ "weight": 244,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23266,7 +23444,7 @@
"x-appwrite": {
"method": "createScryptModifiedUser",
"group": "users",
- "weight": 243,
+ "weight": 245,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23379,7 +23557,7 @@
"x-appwrite": {
"method": "createSHAUser",
"group": "users",
- "weight": 240,
+ "weight": 242,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23490,7 +23668,7 @@
"x-appwrite": {
"method": "get",
"group": "users",
- "weight": 246,
+ "weight": 248,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23545,7 +23723,7 @@
"x-appwrite": {
"method": "delete",
"group": "users",
- "weight": 274,
+ "weight": 276,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23607,7 +23785,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "users",
- "weight": 259,
+ "weight": 261,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23687,7 +23865,7 @@
"x-appwrite": {
"method": "createJWT",
"group": "sessions",
- "weight": 277,
+ "weight": 279,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23770,7 +23948,7 @@
"x-appwrite": {
"method": "updateLabels",
"group": "users",
- "weight": 255,
+ "weight": 257,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23851,7 +24029,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 251,
+ "weight": 253,
"cookies": false,
"type": "",
"deprecated": false,
@@ -23923,7 +24101,7 @@
"x-appwrite": {
"method": "listMemberships",
"group": "memberships",
- "weight": 250,
+ "weight": 252,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24006,7 +24184,7 @@
"x-appwrite": {
"method": "updateMfa",
"group": "users",
- "weight": 264,
+ "weight": 266,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24081,7 +24259,7 @@
"x-appwrite": {
"method": "deleteMfaAuthenticator",
"group": "mfa",
- "weight": 269,
+ "weight": 271,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24154,7 +24332,7 @@
"x-appwrite": {
"method": "listMfaFactors",
"group": "mfa",
- "weight": 265,
+ "weight": 267,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24214,7 +24392,7 @@
"x-appwrite": {
"method": "getMfaRecoveryCodes",
"group": "mfa",
- "weight": 266,
+ "weight": 268,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24274,7 +24452,7 @@
"x-appwrite": {
"method": "updateMfaRecoveryCodes",
"group": "mfa",
- "weight": 268,
+ "weight": 270,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24334,7 +24512,7 @@
"x-appwrite": {
"method": "createMfaRecoveryCodes",
"group": "mfa",
- "weight": 267,
+ "weight": 269,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24396,7 +24574,7 @@
"x-appwrite": {
"method": "updateName",
"group": "users",
- "weight": 257,
+ "weight": 259,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24476,7 +24654,7 @@
"x-appwrite": {
"method": "updatePassword",
"group": "users",
- "weight": 258,
+ "weight": 260,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24556,7 +24734,7 @@
"x-appwrite": {
"method": "updatePhone",
"group": "users",
- "weight": 260,
+ "weight": 262,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24634,7 +24812,7 @@
"x-appwrite": {
"method": "getPrefs",
"group": "users",
- "weight": 247,
+ "weight": 249,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24694,7 +24872,7 @@
"x-appwrite": {
"method": "updatePrefs",
"group": "users",
- "weight": 262,
+ "weight": 264,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24772,7 +24950,7 @@
"x-appwrite": {
"method": "listSessions",
"group": "sessions",
- "weight": 249,
+ "weight": 251,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24832,7 +25010,7 @@
"x-appwrite": {
"method": "createSession",
"group": "sessions",
- "weight": 270,
+ "weight": 272,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24887,7 +25065,7 @@
"x-appwrite": {
"method": "deleteSessions",
"group": "sessions",
- "weight": 273,
+ "weight": 275,
"cookies": false,
"type": "",
"deprecated": false,
@@ -24944,7 +25122,7 @@
"x-appwrite": {
"method": "deleteSession",
"group": "sessions",
- "weight": 272,
+ "weight": 274,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25014,7 +25192,7 @@
"x-appwrite": {
"method": "updateStatus",
"group": "users",
- "weight": 254,
+ "weight": 256,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25092,7 +25270,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "targets",
- "weight": 252,
+ "weight": 254,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25129,7 +25307,7 @@
},
{
"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, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, 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: userId, providerId, identifier, providerType",
"required": false,
"type": "array",
"collectionFormat": "multi",
@@ -25165,7 +25343,7 @@
"x-appwrite": {
"method": "createTarget",
"group": "targets",
- "weight": 244,
+ "weight": 246,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25277,7 +25455,7 @@
"x-appwrite": {
"method": "getTarget",
"group": "targets",
- "weight": 248,
+ "weight": 250,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25346,7 +25524,7 @@
"x-appwrite": {
"method": "updateTarget",
"group": "targets",
- "weight": 263,
+ "weight": 265,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25437,7 +25615,7 @@
"x-appwrite": {
"method": "deleteTarget",
"group": "targets",
- "weight": 275,
+ "weight": 277,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25508,7 +25686,7 @@
"x-appwrite": {
"method": "createToken",
"group": "sessions",
- "weight": 271,
+ "weight": 273,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25591,7 +25769,7 @@
"x-appwrite": {
"method": "updateEmailVerification",
"group": "users",
- "weight": 261,
+ "weight": 263,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25671,7 +25849,7 @@
"x-appwrite": {
"method": "updatePhoneVerification",
"group": "users",
- "weight": 256,
+ "weight": 258,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26863,6 +27041,12 @@
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
"x-example": "default",
"x-nullable": true
+ },
+ "encrypt": {
+ "type": "boolean",
+ "description": "Defines whether this attribute is encrypted or not.",
+ "x-example": false,
+ "x-nullable": true
}
},
"required": [
@@ -27614,6 +27798,12 @@
"description": "Document ID.",
"x-example": "5e5ea5c16897e"
},
+ "$sequence": {
+ "type": "integer",
+ "description": "Document automatically incrementing ID.",
+ "x-example": 1,
+ "format": "int32"
+ },
"$collectionId": {
"type": "string",
"description": "Collection ID.",
@@ -27648,6 +27838,7 @@
"additionalProperties": true,
"required": [
"$id",
+ "$sequence",
"$collectionId",
"$databaseId",
"$createdAt",
diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json
index 804136b303..c3353e157f 100644
--- a/app/config/specs/swagger2-latest-client.json
+++ b/app/config/specs/swagger2-latest-client.json
@@ -5105,8 +5105,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -5214,8 +5213,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -5308,7 +5306,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5381,7 +5379,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5497,7 +5495,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -5568,7 +5566,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -5641,7 +5639,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -6122,7 +6120,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -6206,7 +6204,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json
index 461337ebda..4fa839aa39 100644
--- a/app/config/specs/swagger2-latest-console.json
+++ b/app/config/specs/swagger2-latest-console.json
@@ -4520,7 +4520,7 @@
"x-appwrite": {
"method": "chat",
"group": "console",
- "weight": 310,
+ "weight": 309,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4583,7 +4583,7 @@
"x-appwrite": {
"method": "getResource",
"group": null,
- "weight": 434,
+ "weight": 433,
"cookies": false,
"type": "",
"deprecated": false,
@@ -4654,7 +4654,7 @@
"x-appwrite": {
"method": "variables",
"group": "console",
- "weight": 309,
+ "weight": 308,
"cookies": false,
"type": "",
"deprecated": false,
@@ -8267,7 +8267,7 @@
]
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"consumes": [
"application\/json"
@@ -8278,7 +8278,7 @@
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -9024,8 +9024,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -9133,8 +9132,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -9888,7 +9886,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 378,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9960,7 +9958,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 375,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10211,7 +10209,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 380,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10260,7 +10258,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 381,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10310,7 +10308,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 404,
+ "weight": 403,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10404,7 +10402,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 403,
+ "weight": 402,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10462,7 +10460,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 397,
+ "weight": 396,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10532,7 +10530,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 376,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10591,7 +10589,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 377,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10838,7 +10836,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 379,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10899,7 +10897,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 384,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10976,7 +10974,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 385,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11056,7 +11054,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 382,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -11148,7 +11146,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 390,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11233,7 +11231,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 387,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11339,7 +11337,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11435,7 +11433,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 383,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11497,7 +11495,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11564,7 +11562,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 389,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -11649,7 +11647,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 391,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11716,7 +11714,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11789,7 +11787,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11905,7 +11903,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11969,7 +11967,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 395,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12036,7 +12034,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 396,
+ "weight": 395,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12114,7 +12112,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 400,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12173,7 +12171,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 398,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12263,7 +12261,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 399,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12330,7 +12328,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 401,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12422,7 +12420,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 402,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -12491,7 +12489,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -12564,7 +12562,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -14306,7 +14304,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 362,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14381,7 +14379,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 359,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14539,7 +14537,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 366,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14694,7 +14692,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 361,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14889,7 +14887,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 368,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15083,7 +15081,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 360,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15201,7 +15199,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 367,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15315,7 +15313,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 365,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15370,7 +15368,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 369,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15430,7 +15428,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 363,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15502,7 +15500,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 364,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15574,7 +15572,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 334,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15649,7 +15647,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 333,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15764,7 +15762,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 346,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15877,7 +15875,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 332,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15968,7 +15966,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 345,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16057,7 +16055,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 324,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16184,7 +16182,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 337,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16309,7 +16307,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 327,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16412,7 +16410,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 340,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16513,7 +16511,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 325,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16628,7 +16626,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 338,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16741,7 +16739,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 326,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16900,7 +16898,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 339,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17056,7 +17054,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 328,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17159,7 +17157,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 341,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17260,7 +17258,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 329,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17363,7 +17361,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 342,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17464,7 +17462,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 330,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17567,7 +17565,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 343,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17668,7 +17666,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 331,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17771,7 +17769,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 344,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17870,7 +17868,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 336,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17925,7 +17923,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 347,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17985,7 +17983,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 335,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18057,7 +18055,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 356,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18129,7 +18127,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 349,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18202,7 +18200,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 348,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18290,7 +18288,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 351,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18350,7 +18348,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 352,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18429,7 +18427,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 353,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18489,7 +18487,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 350,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18561,7 +18559,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 355,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18642,7 +18640,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18729,7 +18727,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 357,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18792,7 +18790,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18862,7 +18860,7 @@
"x-appwrite": {
"method": "list",
"group": null,
- "weight": 316,
+ "weight": 315,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18935,7 +18933,7 @@
"x-appwrite": {
"method": "createAppwriteMigration",
"group": null,
- "weight": 311,
+ "weight": 310,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19027,7 +19025,7 @@
"x-appwrite": {
"method": "getAppwriteReport",
"group": null,
- "weight": 318,
+ "weight": 317,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19115,7 +19113,7 @@
"x-appwrite": {
"method": "createCsvMigration",
"group": null,
- "weight": 315,
+ "weight": 314,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19199,7 +19197,7 @@
"x-appwrite": {
"method": "createFirebaseMigration",
"group": null,
- "weight": 312,
+ "weight": 311,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19277,7 +19275,7 @@
"x-appwrite": {
"method": "getFirebaseReport",
"group": null,
- "weight": 319,
+ "weight": 318,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19348,7 +19346,7 @@
"x-appwrite": {
"method": "createNHostMigration",
"group": null,
- "weight": 314,
+ "weight": 313,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19467,7 +19465,7 @@
"x-appwrite": {
"method": "getNHostReport",
"group": null,
- "weight": 321,
+ "weight": 320,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19587,7 +19585,7 @@
"x-appwrite": {
"method": "createSupabaseMigration",
"group": null,
- "weight": 313,
+ "weight": 312,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19699,7 +19697,7 @@
"x-appwrite": {
"method": "getSupabaseReport",
"group": null,
- "weight": 320,
+ "weight": 319,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19810,7 +19808,7 @@
"x-appwrite": {
"method": "get",
"group": null,
- "weight": 317,
+ "weight": 316,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19868,7 +19866,7 @@
"x-appwrite": {
"method": "retry",
"group": null,
- "weight": 322,
+ "weight": 321,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19921,7 +19919,7 @@
"x-appwrite": {
"method": "delete",
"group": null,
- "weight": 323,
+ "weight": 322,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21834,7 +21832,7 @@
"x-appwrite": {
"method": "listDevKeys",
"group": "devKeys",
- "weight": 373,
+ "weight": 372,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21904,7 +21902,7 @@
"x-appwrite": {
"method": "createDevKey",
"group": "devKeys",
- "weight": 370,
+ "weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
@@ -21987,7 +21985,7 @@
"x-appwrite": {
"method": "getDevKey",
"group": "devKeys",
- "weight": 372,
+ "weight": 371,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22053,7 +22051,7 @@
"x-appwrite": {
"method": "updateDevKey",
"group": "devKeys",
- "weight": 371,
+ "weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22139,7 +22137,7 @@
"x-appwrite": {
"method": "deleteDevKey",
"group": "devKeys",
- "weight": 374,
+ "weight": 373,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25682,7 +25680,7 @@
"x-appwrite": {
"method": "createAPIRule",
"group": null,
- "weight": 435,
+ "weight": 434,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25752,7 +25750,7 @@
"x-appwrite": {
"method": "createFunctionRule",
"group": null,
- "weight": 437,
+ "weight": 436,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25835,7 +25833,7 @@
"x-appwrite": {
"method": "createRedirectRule",
"group": null,
- "weight": 438,
+ "weight": 437,
"cookies": false,
"type": "",
"deprecated": false,
@@ -25955,7 +25953,7 @@
"x-appwrite": {
"method": "createSiteRule",
"group": null,
- "weight": 436,
+ "weight": 435,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26207,7 +26205,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 407,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26279,7 +26277,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 405,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26546,7 +26544,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 410,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26595,7 +26593,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 433,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26645,7 +26643,7 @@
"x-appwrite": {
"method": "listTemplates",
"group": "templates",
- "weight": 429,
+ "weight": 428,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26739,7 +26737,7 @@
"x-appwrite": {
"method": "getTemplate",
"group": "templates",
- "weight": 430,
+ "weight": 429,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26797,7 +26795,7 @@
"x-appwrite": {
"method": "listUsage",
"group": null,
- "weight": 431,
+ "weight": 430,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26867,7 +26865,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 406,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -26926,7 +26924,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 408,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27188,7 +27186,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 409,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27249,7 +27247,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 416,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27326,7 +27324,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 415,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27406,7 +27404,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -27506,7 +27504,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 419,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27585,7 +27583,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27691,7 +27689,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 413,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27788,7 +27786,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 414,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27850,7 +27848,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -27917,7 +27915,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 418,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -28002,7 +28000,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 420,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28069,7 +28067,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 422,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28140,7 +28138,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 421,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28204,7 +28202,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 423,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28271,7 +28269,7 @@
"x-appwrite": {
"method": "getUsage",
"group": null,
- "weight": 432,
+ "weight": 431,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28349,7 +28347,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 426,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28408,7 +28406,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 424,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28498,7 +28496,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 425,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28565,7 +28563,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 427,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -28657,7 +28655,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 428,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31170,7 +31168,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 441,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31250,7 +31248,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 439,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31334,7 +31332,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 440,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31394,7 +31392,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 442,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -31465,7 +31463,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 443,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
@@ -35211,7 +35209,7 @@
"tags": [
"vcs"
],
- "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n",
+ "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.",
"responses": {
"200": {
"description": "VCS Content List",
diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json
index 4515d98fb5..5dc7b6d925 100644
--- a/app/config/specs/swagger2-latest-server.json
+++ b/app/config/specs/swagger2-latest-server.json
@@ -7740,7 +7740,7 @@
]
},
"put": {
- "summary": "Create or update documents",
+ "summary": "Upsert documents",
"operationId": "databasesUpsertDocuments",
"consumes": [
"application\/json"
@@ -7751,7 +7751,7 @@
"tags": [
"databases"
],
- "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.",
+ "description": "**WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.\n\nCreate or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n",
"responses": {
"200": {
"description": "Documents List",
@@ -8422,8 +8422,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -8533,8 +8532,7 @@
"platforms": [
"console",
"server",
- "client",
- "server"
+ "client"
],
"packaging": false,
"auth": {
@@ -8982,7 +8980,7 @@
"x-appwrite": {
"method": "list",
"group": "functions",
- "weight": 378,
+ "weight": 377,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9055,7 +9053,7 @@
"x-appwrite": {
"method": "create",
"group": "functions",
- "weight": 375,
+ "weight": 374,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9307,7 +9305,7 @@
"x-appwrite": {
"method": "listRuntimes",
"group": "runtimes",
- "weight": 380,
+ "weight": 379,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9357,7 +9355,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "runtimes",
- "weight": 381,
+ "weight": 380,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9408,7 +9406,7 @@
"x-appwrite": {
"method": "get",
"group": "functions",
- "weight": 376,
+ "weight": 375,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9468,7 +9466,7 @@
"x-appwrite": {
"method": "update",
"group": "functions",
- "weight": 377,
+ "weight": 376,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9716,7 +9714,7 @@
"x-appwrite": {
"method": "delete",
"group": "functions",
- "weight": 379,
+ "weight": 378,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9778,7 +9776,7 @@
"x-appwrite": {
"method": "updateFunctionDeployment",
"group": "functions",
- "weight": 384,
+ "weight": 383,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9856,7 +9854,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 385,
+ "weight": 384,
"cookies": false,
"type": "",
"deprecated": false,
@@ -9937,7 +9935,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 382,
+ "weight": 381,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -10030,7 +10028,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 390,
+ "weight": 389,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10116,7 +10114,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 387,
+ "weight": 386,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10223,7 +10221,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 388,
+ "weight": 387,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10320,7 +10318,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 383,
+ "weight": 382,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10383,7 +10381,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 386,
+ "weight": 385,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10451,7 +10449,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 389,
+ "weight": 388,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -10537,7 +10535,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 391,
+ "weight": 390,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10605,7 +10603,7 @@
"x-appwrite": {
"method": "listExecutions",
"group": "executions",
- "weight": 394,
+ "weight": 393,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10680,7 +10678,7 @@
"x-appwrite": {
"method": "createExecution",
"group": "executions",
- "weight": 392,
+ "weight": 391,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10798,7 +10796,7 @@
"x-appwrite": {
"method": "getExecution",
"group": "executions",
- "weight": 393,
+ "weight": 392,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10864,7 +10862,7 @@
"x-appwrite": {
"method": "deleteExecution",
"group": "executions",
- "weight": 395,
+ "weight": 394,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10932,7 +10930,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 400,
+ "weight": 399,
"cookies": false,
"type": "",
"deprecated": false,
@@ -10992,7 +10990,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 398,
+ "weight": 397,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11083,7 +11081,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 399,
+ "weight": 398,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11151,7 +11149,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 401,
+ "weight": 400,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11244,7 +11242,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 402,
+ "weight": 401,
"cookies": false,
"type": "",
"deprecated": false,
@@ -11314,7 +11312,7 @@
"x-appwrite": {
"method": "query",
"group": "graphql",
- "weight": 308,
+ "weight": 307,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -11389,7 +11387,7 @@
"x-appwrite": {
"method": "mutation",
"group": "graphql",
- "weight": 307,
+ "weight": 306,
"cookies": false,
"type": "graphql",
"deprecated": false,
@@ -13171,7 +13169,7 @@
"x-appwrite": {
"method": "listMessages",
"group": "messages",
- "weight": 362,
+ "weight": 361,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13247,7 +13245,7 @@
"x-appwrite": {
"method": "createEmail",
"group": "messages",
- "weight": 359,
+ "weight": 358,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13406,7 +13404,7 @@
"x-appwrite": {
"method": "updateEmail",
"group": "messages",
- "weight": 366,
+ "weight": 365,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13562,7 +13560,7 @@
"x-appwrite": {
"method": "createPush",
"group": "messages",
- "weight": 361,
+ "weight": 360,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13758,7 +13756,7 @@
"x-appwrite": {
"method": "updatePush",
"group": "messages",
- "weight": 368,
+ "weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
@@ -13953,7 +13951,7 @@
"x-appwrite": {
"method": "createSms",
"group": "messages",
- "weight": 360,
+ "weight": 359,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14072,7 +14070,7 @@
"x-appwrite": {
"method": "updateSms",
"group": "messages",
- "weight": 367,
+ "weight": 366,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14187,7 +14185,7 @@
"x-appwrite": {
"method": "getMessage",
"group": "messages",
- "weight": 365,
+ "weight": 364,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14243,7 +14241,7 @@
"x-appwrite": {
"method": "delete",
"group": "messages",
- "weight": 369,
+ "weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14304,7 +14302,7 @@
"x-appwrite": {
"method": "listMessageLogs",
"group": "logs",
- "weight": 363,
+ "weight": 362,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14377,7 +14375,7 @@
"x-appwrite": {
"method": "listTargets",
"group": "messages",
- "weight": 364,
+ "weight": 363,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14450,7 +14448,7 @@
"x-appwrite": {
"method": "listProviders",
"group": "providers",
- "weight": 334,
+ "weight": 333,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14526,7 +14524,7 @@
"x-appwrite": {
"method": "createApnsProvider",
"group": "providers",
- "weight": 333,
+ "weight": 332,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14642,7 +14640,7 @@
"x-appwrite": {
"method": "updateApnsProvider",
"group": "providers",
- "weight": 346,
+ "weight": 345,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14756,7 +14754,7 @@
"x-appwrite": {
"method": "createFcmProvider",
"group": "providers",
- "weight": 332,
+ "weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14848,7 +14846,7 @@
"x-appwrite": {
"method": "updateFcmProvider",
"group": "providers",
- "weight": 345,
+ "weight": 344,
"cookies": false,
"type": "",
"deprecated": false,
@@ -14938,7 +14936,7 @@
"x-appwrite": {
"method": "createMailgunProvider",
"group": "providers",
- "weight": 324,
+ "weight": 323,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15066,7 +15064,7 @@
"x-appwrite": {
"method": "updateMailgunProvider",
"group": "providers",
- "weight": 337,
+ "weight": 336,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15192,7 +15190,7 @@
"x-appwrite": {
"method": "createMsg91Provider",
"group": "providers",
- "weight": 327,
+ "weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15296,7 +15294,7 @@
"x-appwrite": {
"method": "updateMsg91Provider",
"group": "providers",
- "weight": 340,
+ "weight": 339,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15398,7 +15396,7 @@
"x-appwrite": {
"method": "createSendgridProvider",
"group": "providers",
- "weight": 325,
+ "weight": 324,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15514,7 +15512,7 @@
"x-appwrite": {
"method": "updateSendgridProvider",
"group": "providers",
- "weight": 338,
+ "weight": 337,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15628,7 +15626,7 @@
"x-appwrite": {
"method": "createSmtpProvider",
"group": "providers",
- "weight": 326,
+ "weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15788,7 +15786,7 @@
"x-appwrite": {
"method": "updateSmtpProvider",
"group": "providers",
- "weight": 339,
+ "weight": 338,
"cookies": false,
"type": "",
"deprecated": false,
@@ -15945,7 +15943,7 @@
"x-appwrite": {
"method": "createTelesignProvider",
"group": "providers",
- "weight": 328,
+ "weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16049,7 +16047,7 @@
"x-appwrite": {
"method": "updateTelesignProvider",
"group": "providers",
- "weight": 341,
+ "weight": 340,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16151,7 +16149,7 @@
"x-appwrite": {
"method": "createTextmagicProvider",
"group": "providers",
- "weight": 329,
+ "weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16255,7 +16253,7 @@
"x-appwrite": {
"method": "updateTextmagicProvider",
"group": "providers",
- "weight": 342,
+ "weight": 341,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16357,7 +16355,7 @@
"x-appwrite": {
"method": "createTwilioProvider",
"group": "providers",
- "weight": 330,
+ "weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16461,7 +16459,7 @@
"x-appwrite": {
"method": "updateTwilioProvider",
"group": "providers",
- "weight": 343,
+ "weight": 342,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16563,7 +16561,7 @@
"x-appwrite": {
"method": "createVonageProvider",
"group": "providers",
- "weight": 331,
+ "weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16667,7 +16665,7 @@
"x-appwrite": {
"method": "updateVonageProvider",
"group": "providers",
- "weight": 344,
+ "weight": 343,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16767,7 +16765,7 @@
"x-appwrite": {
"method": "getProvider",
"group": "providers",
- "weight": 336,
+ "weight": 335,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16823,7 +16821,7 @@
"x-appwrite": {
"method": "deleteProvider",
"group": "providers",
- "weight": 347,
+ "weight": 346,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16884,7 +16882,7 @@
"x-appwrite": {
"method": "listProviderLogs",
"group": "providers",
- "weight": 335,
+ "weight": 334,
"cookies": false,
"type": "",
"deprecated": false,
@@ -16957,7 +16955,7 @@
"x-appwrite": {
"method": "listSubscriberLogs",
"group": "subscribers",
- "weight": 356,
+ "weight": 355,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17030,7 +17028,7 @@
"x-appwrite": {
"method": "listTopics",
"group": "topics",
- "weight": 349,
+ "weight": 348,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17104,7 +17102,7 @@
"x-appwrite": {
"method": "createTopic",
"group": "topics",
- "weight": 348,
+ "weight": 347,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17193,7 +17191,7 @@
"x-appwrite": {
"method": "getTopic",
"group": "topics",
- "weight": 351,
+ "weight": 350,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17254,7 +17252,7 @@
"x-appwrite": {
"method": "updateTopic",
"group": "topics",
- "weight": 352,
+ "weight": 351,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17334,7 +17332,7 @@
"x-appwrite": {
"method": "deleteTopic",
"group": "topics",
- "weight": 353,
+ "weight": 352,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17395,7 +17393,7 @@
"x-appwrite": {
"method": "listTopicLogs",
"group": "topics",
- "weight": 350,
+ "weight": 349,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17468,7 +17466,7 @@
"x-appwrite": {
"method": "listSubscribers",
"group": "subscribers",
- "weight": 355,
+ "weight": 354,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17550,7 +17548,7 @@
"x-appwrite": {
"method": "createSubscriber",
"group": "subscribers",
- "weight": 354,
+ "weight": 353,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17639,7 +17637,7 @@
"x-appwrite": {
"method": "getSubscriber",
"group": "subscribers",
- "weight": 357,
+ "weight": 356,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17703,7 +17701,7 @@
"x-appwrite": {
"method": "deleteSubscriber",
"group": "subscribers",
- "weight": 358,
+ "weight": 357,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17775,7 +17773,7 @@
"x-appwrite": {
"method": "list",
"group": "sites",
- "weight": 407,
+ "weight": 406,
"cookies": false,
"type": "",
"deprecated": false,
@@ -17848,7 +17846,7 @@
"x-appwrite": {
"method": "create",
"group": "sites",
- "weight": 405,
+ "weight": 404,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18116,7 +18114,7 @@
"x-appwrite": {
"method": "listFrameworks",
"group": "frameworks",
- "weight": 410,
+ "weight": 409,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18166,7 +18164,7 @@
"x-appwrite": {
"method": "listSpecifications",
"group": "frameworks",
- "weight": 433,
+ "weight": 432,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18217,7 +18215,7 @@
"x-appwrite": {
"method": "get",
"group": "sites",
- "weight": 406,
+ "weight": 405,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18277,7 +18275,7 @@
"x-appwrite": {
"method": "update",
"group": "sites",
- "weight": 408,
+ "weight": 407,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18540,7 +18538,7 @@
"x-appwrite": {
"method": "delete",
"group": "sites",
- "weight": 409,
+ "weight": 408,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18602,7 +18600,7 @@
"x-appwrite": {
"method": "updateSiteDeployment",
"group": "sites",
- "weight": 416,
+ "weight": 415,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18680,7 +18678,7 @@
"x-appwrite": {
"method": "listDeployments",
"group": "deployments",
- "weight": 415,
+ "weight": 414,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18761,7 +18759,7 @@
"x-appwrite": {
"method": "createDeployment",
"group": "deployments",
- "weight": 411,
+ "weight": 410,
"cookies": false,
"type": "upload",
"deprecated": false,
@@ -18862,7 +18860,7 @@
"x-appwrite": {
"method": "createDuplicateDeployment",
"group": "deployments",
- "weight": 419,
+ "weight": 418,
"cookies": false,
"type": "",
"deprecated": false,
@@ -18942,7 +18940,7 @@
"x-appwrite": {
"method": "createTemplateDeployment",
"group": "deployments",
- "weight": 412,
+ "weight": 411,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19049,7 +19047,7 @@
"x-appwrite": {
"method": "createVcsDeployment",
"group": "deployments",
- "weight": 413,
+ "weight": 412,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19147,7 +19145,7 @@
"x-appwrite": {
"method": "getDeployment",
"group": "deployments",
- "weight": 414,
+ "weight": 413,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19210,7 +19208,7 @@
"x-appwrite": {
"method": "deleteDeployment",
"group": "deployments",
- "weight": 417,
+ "weight": 416,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19278,7 +19276,7 @@
"x-appwrite": {
"method": "getDeploymentDownload",
"group": "deployments",
- "weight": 418,
+ "weight": 417,
"cookies": false,
"type": "location",
"deprecated": false,
@@ -19364,7 +19362,7 @@
"x-appwrite": {
"method": "updateDeploymentStatus",
"group": "deployments",
- "weight": 420,
+ "weight": 419,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19432,7 +19430,7 @@
"x-appwrite": {
"method": "listLogs",
"group": "logs",
- "weight": 422,
+ "weight": 421,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19504,7 +19502,7 @@
"x-appwrite": {
"method": "getLog",
"group": "logs",
- "weight": 421,
+ "weight": 420,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19569,7 +19567,7 @@
"x-appwrite": {
"method": "deleteLog",
"group": "logs",
- "weight": 423,
+ "weight": 422,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19637,7 +19635,7 @@
"x-appwrite": {
"method": "listVariables",
"group": "variables",
- "weight": 426,
+ "weight": 425,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19697,7 +19695,7 @@
"x-appwrite": {
"method": "createVariable",
"group": "variables",
- "weight": 424,
+ "weight": 423,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19788,7 +19786,7 @@
"x-appwrite": {
"method": "getVariable",
"group": "variables",
- "weight": 425,
+ "weight": 424,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19856,7 +19854,7 @@
"x-appwrite": {
"method": "updateVariable",
"group": "variables",
- "weight": 427,
+ "weight": 426,
"cookies": false,
"type": "",
"deprecated": false,
@@ -19949,7 +19947,7 @@
"x-appwrite": {
"method": "deleteVariable",
"group": "variables",
- "weight": 428,
+ "weight": 427,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22292,7 +22290,7 @@
"x-appwrite": {
"method": "list",
"group": "files",
- "weight": 441,
+ "weight": 440,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22373,7 +22371,7 @@
"x-appwrite": {
"method": "createFileToken",
"group": "files",
- "weight": 439,
+ "weight": 438,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22458,7 +22456,7 @@
"x-appwrite": {
"method": "get",
"group": "tokens",
- "weight": 440,
+ "weight": 439,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22519,7 +22517,7 @@
"x-appwrite": {
"method": "update",
"group": "tokens",
- "weight": 442,
+ "weight": 441,
"cookies": false,
"type": "",
"deprecated": false,
@@ -22591,7 +22589,7 @@
"x-appwrite": {
"method": "delete",
"group": "tokens",
- "weight": 443,
+ "weight": 442,
"cookies": false,
"type": "",
"deprecated": false,
diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php
index c0a97a4ad0..6de91f23cc 100644
--- a/app/controllers/api/account.php
+++ b/app/controllers/api/account.php
@@ -3233,7 +3233,7 @@ App::post('/v1/account/recovery')
throw new Exception(Exception::USER_BLOCKED);
}
- $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_RECOVERY);
+ $expire = DateTime::formatTz(DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_RECOVERY));
$secret = Auth::tokenGenerator(Auth::TOKEN_LENGTH_RECOVERY);
$recovery = new Document([
@@ -3490,7 +3490,7 @@ App::post('/v1/account/verification')
}
$verificationSecret = Auth::tokenGenerator(Auth::TOKEN_LENGTH_VERIFICATION);
- $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM);
+ $expire = DateTime::formatTz(DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM));
$verification = new Document([
'$id' => ID::unique(),
@@ -3738,7 +3738,7 @@ App::post('/v1/account/verification/phone')
}
$secret ??= Auth::codeGenerator();
- $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM);
+ $expire = DateTime::formatTz(DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM));
$verification = new Document([
'$id' => ID::unique(),
@@ -4346,7 +4346,7 @@ App::post('/v1/account/mfa/challenge')
->inject('plan')
->action(function (string $factor, Response $response, Database $dbForProject, Document $user, Locale $locale, Document $project, Request $request, Event $queueForEvents, Messaging $queueForMessaging, Mail $queueForMails, callable $timelimit, StatsUsage $queueForStatsUsage, array $plan) {
- $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM);
+ $expire = DateTime::formatTz(DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM));
$code = Auth::codeGenerator();
$challenge = new Document([
'userId' => $user->getId(),
diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php
index 4a5426dc95..fb55aca844 100644
--- a/app/controllers/api/databases.php
+++ b/app/controllers/api/databases.php
@@ -4728,7 +4728,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/documents')
});
App::put('/v1/databases/:databaseId/collections/:collectionId/documents')
- ->desc('Create or update documents')
+ ->desc('Upsert documents')
->groups(['api', 'database'])
->label('scope', 'documents.write')
->label('resourceType', RESOURCE_TYPE_DATABASES)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-anonymous-session.md b/docs/examples/1.7.x/server-go/examples/account/create-anonymous-session.md
index a6b5b6a2cf..ff8aea9751 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-anonymous-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-anonymous-session.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateAnonymousSession(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-email-password-session.md b/docs/examples/1.7.x/server-go/examples/account/create-email-password-session.md
index d876edc7ac..18d8dbc184 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-email-password-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-email-password-session.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateEmailPasswordSession(
"email@example.com",
"password",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-email-token.md b/docs/examples/1.7.x/server-go/examples/account/create-email-token.md
index aa832e7bf5..c057af5b9d 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-email-token.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-email-token.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateEmailToken(
"",
"email@example.com",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-j-w-t.md b/docs/examples/1.7.x/server-go/examples/account/create-j-w-t.md
index fad35ab519..665f365e20 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-j-w-t.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-j-w-t.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateJWT(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.7.x/server-go/examples/account/create-magic-u-r-l-token.md
index 1e2090fd8e..cad88c183d 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-magic-u-r-l-token.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-magic-u-r-l-token.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateMagicURLToken(
"",
"email@example.com",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-mfa-authenticator.md b/docs/examples/1.7.x/server-go/examples/account/create-mfa-authenticator.md
index 8d425404b5..336a91d944 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-mfa-authenticator.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-mfa-authenticator.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateMfaAuthenticator(
"totp",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-mfa-challenge.md b/docs/examples/1.7.x/server-go/examples/account/create-mfa-challenge.md
index 3ac4a3babf..4e17eb5ad9 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-mfa-challenge.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-mfa-challenge.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateMfaChallenge(
"email",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.7.x/server-go/examples/account/create-mfa-recovery-codes.md
index 063a804f6e..714d6106a0 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-mfa-recovery-codes.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-mfa-recovery-codes.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateMfaRecoveryCodes(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-o-auth2token.md b/docs/examples/1.7.x/server-go/examples/account/create-o-auth2token.md
index f3b6997fff..56a2acdbf1 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-o-auth2token.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-o-auth2token.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateOAuth2Token(
"amazon",
account.WithCreateOAuth2TokenSuccess("https://example.com"),
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-phone-token.md b/docs/examples/1.7.x/server-go/examples/account/create-phone-token.md
index c9e80de622..b6c2ec7db7 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-phone-token.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-phone-token.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreatePhoneToken(
"",
"+12065550100",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-phone-verification.md b/docs/examples/1.7.x/server-go/examples/account/create-phone-verification.md
index c7a6bf4bf5..699cdb222e 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-phone-verification.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-phone-verification.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreatePhoneVerification(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-recovery.md b/docs/examples/1.7.x/server-go/examples/account/create-recovery.md
index 9d55755c37..923d2819a6 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-recovery.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-recovery.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateRecovery(
"email@example.com",
"https://example.com",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-session.md b/docs/examples/1.7.x/server-go/examples/account/create-session.md
index f93502a31f..f5949241ff 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-session.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateSession(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/create-verification.md b/docs/examples/1.7.x/server-go/examples/account/create-verification.md
index afb98c7ec0..b3c7fd8004 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create-verification.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create-verification.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.CreateVerification(
"https://example.com",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/create.md b/docs/examples/1.7.x/server-go/examples/account/create.md
index b834d47d0f..dc4fdfe8f6 100644
--- a/docs/examples/1.7.x/server-go/examples/account/create.md
+++ b/docs/examples/1.7.x/server-go/examples/account/create.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.Create(
"",
"email@example.com",
diff --git a/docs/examples/1.7.x/server-go/examples/account/delete-identity.md b/docs/examples/1.7.x/server-go/examples/account/delete-identity.md
index 30d2534602..2155249894 100644
--- a/docs/examples/1.7.x/server-go/examples/account/delete-identity.md
+++ b/docs/examples/1.7.x/server-go/examples/account/delete-identity.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.DeleteIdentity(
"",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/delete-mfa-authenticator.md b/docs/examples/1.7.x/server-go/examples/account/delete-mfa-authenticator.md
index 7f3edec33d..6eb956bdec 100644
--- a/docs/examples/1.7.x/server-go/examples/account/delete-mfa-authenticator.md
+++ b/docs/examples/1.7.x/server-go/examples/account/delete-mfa-authenticator.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.DeleteMfaAuthenticator(
"totp",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/delete-session.md b/docs/examples/1.7.x/server-go/examples/account/delete-session.md
index 398604ecdd..3a1a9514bb 100644
--- a/docs/examples/1.7.x/server-go/examples/account/delete-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/delete-session.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.DeleteSession(
"",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/delete-sessions.md b/docs/examples/1.7.x/server-go/examples/account/delete-sessions.md
index 97eda5899a..718d149241 100644
--- a/docs/examples/1.7.x/server-go/examples/account/delete-sessions.md
+++ b/docs/examples/1.7.x/server-go/examples/account/delete-sessions.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.DeleteSessions(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.7.x/server-go/examples/account/get-mfa-recovery-codes.md
index 0dd93bb765..fd07fe36d9 100644
--- a/docs/examples/1.7.x/server-go/examples/account/get-mfa-recovery-codes.md
+++ b/docs/examples/1.7.x/server-go/examples/account/get-mfa-recovery-codes.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.GetMfaRecoveryCodes(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/get-prefs.md b/docs/examples/1.7.x/server-go/examples/account/get-prefs.md
index b7985acbd7..911b5786ce 100644
--- a/docs/examples/1.7.x/server-go/examples/account/get-prefs.md
+++ b/docs/examples/1.7.x/server-go/examples/account/get-prefs.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.GetPrefs(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/get-session.md b/docs/examples/1.7.x/server-go/examples/account/get-session.md
index d6d1ffe05f..dc42c3c12d 100644
--- a/docs/examples/1.7.x/server-go/examples/account/get-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/get-session.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.GetSession(
"",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/get.md b/docs/examples/1.7.x/server-go/examples/account/get.md
index 7e08024930..80fe2da7c0 100644
--- a/docs/examples/1.7.x/server-go/examples/account/get.md
+++ b/docs/examples/1.7.x/server-go/examples/account/get.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.Get(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/list-identities.md b/docs/examples/1.7.x/server-go/examples/account/list-identities.md
index 7a7f4bc09f..3bfa0a7b60 100644
--- a/docs/examples/1.7.x/server-go/examples/account/list-identities.md
+++ b/docs/examples/1.7.x/server-go/examples/account/list-identities.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.ListIdentities(
account.WithListIdentitiesQueries([]interface{}{}),
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/list-logs.md b/docs/examples/1.7.x/server-go/examples/account/list-logs.md
index eec9ed33e0..67ee6de1c2 100644
--- a/docs/examples/1.7.x/server-go/examples/account/list-logs.md
+++ b/docs/examples/1.7.x/server-go/examples/account/list-logs.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.ListLogs(
account.WithListLogsQueries([]interface{}{}),
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/list-mfa-factors.md b/docs/examples/1.7.x/server-go/examples/account/list-mfa-factors.md
index 4dca59fff6..26fb516fed 100644
--- a/docs/examples/1.7.x/server-go/examples/account/list-mfa-factors.md
+++ b/docs/examples/1.7.x/server-go/examples/account/list-mfa-factors.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.ListMfaFactors(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/list-sessions.md b/docs/examples/1.7.x/server-go/examples/account/list-sessions.md
index 9f8a5f4799..96b8c10d4c 100644
--- a/docs/examples/1.7.x/server-go/examples/account/list-sessions.md
+++ b/docs/examples/1.7.x/server-go/examples/account/list-sessions.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.ListSessions(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-email.md b/docs/examples/1.7.x/server-go/examples/account/update-email.md
index 11f98265b6..7467080416 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-email.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-email.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateEmail(
"email@example.com",
"password",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-m-f-a.md b/docs/examples/1.7.x/server-go/examples/account/update-m-f-a.md
index d3df3d4638..139eea3afd 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-m-f-a.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-m-f-a.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateMFA(
false,
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.7.x/server-go/examples/account/update-magic-u-r-l-session.md
index fdc9d45c04..4cda48878b 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-magic-u-r-l-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-magic-u-r-l-session.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateMagicURLSession(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-mfa-authenticator.md b/docs/examples/1.7.x/server-go/examples/account/update-mfa-authenticator.md
index fb225574d4..ce4ebaffe7 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-mfa-authenticator.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-mfa-authenticator.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateMfaAuthenticator(
"totp",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-mfa-challenge.md b/docs/examples/1.7.x/server-go/examples/account/update-mfa-challenge.md
index 1e95a60d34..d2bb0c92ec 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-mfa-challenge.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-mfa-challenge.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateMfaChallenge(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.7.x/server-go/examples/account/update-mfa-recovery-codes.md
index 08feede261..9902b143f5 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-mfa-recovery-codes.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-mfa-recovery-codes.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateMfaRecoveryCodes(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-name.md b/docs/examples/1.7.x/server-go/examples/account/update-name.md
index 8424a26946..972873a17a 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-name.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-name.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateName(
"",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-password.md b/docs/examples/1.7.x/server-go/examples/account/update-password.md
index 561ff0a667..aedcd0ccbc 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-password.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-password.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdatePassword(
"",
account.WithUpdatePasswordOldPassword("password"),
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-phone-session.md b/docs/examples/1.7.x/server-go/examples/account/update-phone-session.md
index 433043e439..c937d9cd0d 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-phone-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-phone-session.md
@@ -7,12 +7,12 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdatePhoneSession(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-phone-verification.md b/docs/examples/1.7.x/server-go/examples/account/update-phone-verification.md
index 46602a8be8..462d98db9a 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-phone-verification.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-phone-verification.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdatePhoneVerification(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-phone.md b/docs/examples/1.7.x/server-go/examples/account/update-phone.md
index d753cb21d3..163ecedd22 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-phone.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-phone.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdatePhone(
"+12065550100",
"password",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-prefs.md b/docs/examples/1.7.x/server-go/examples/account/update-prefs.md
index 0319de200a..ed566ba519 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-prefs.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-prefs.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdatePrefs(
map[string]interface{}{},
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-recovery.md b/docs/examples/1.7.x/server-go/examples/account/update-recovery.md
index f40414e5e8..0d7820bfb9 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-recovery.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-recovery.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateRecovery(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-session.md b/docs/examples/1.7.x/server-go/examples/account/update-session.md
index 8e1725a71c..61029a7157 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-session.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-session.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateSession(
"",
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-status.md b/docs/examples/1.7.x/server-go/examples/account/update-status.md
index a9a0e239b0..05f6449a72 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-status.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-status.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateStatus(
)
diff --git a/docs/examples/1.7.x/server-go/examples/account/update-verification.md b/docs/examples/1.7.x/server-go/examples/account/update-verification.md
index 2fd356dcf8..1c781659e4 100644
--- a/docs/examples/1.7.x/server-go/examples/account/update-verification.md
+++ b/docs/examples/1.7.x/server-go/examples/account/update-verification.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := account.NewAccount(client)
+ service := account.New(client)
response, error := service.UpdateVerification(
"",
"",
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-browser.md b/docs/examples/1.7.x/server-go/examples/avatars/get-browser.md
index 34f3bf58f9..98f405d6dd 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-browser.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-browser.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := avatars.NewAvatars(client)
+ service := avatars.New(client)
response, error := service.GetBrowser(
"aa",
avatars.WithGetBrowserWidth(0),
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-credit-card.md b/docs/examples/1.7.x/server-go/examples/avatars/get-credit-card.md
index 764debd877..efdfdbd5dc 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-credit-card.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-credit-card.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := avatars.NewAvatars(client)
+ service := avatars.New(client)
response, error := service.GetCreditCard(
"amex",
avatars.WithGetCreditCardWidth(0),
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-favicon.md b/docs/examples/1.7.x/server-go/examples/avatars/get-favicon.md
index bdea40db2f..35ea339097 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-favicon.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-favicon.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := avatars.NewAvatars(client)
+ service := avatars.New(client)
response, error := service.GetFavicon(
"https://example.com",
)
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-flag.md b/docs/examples/1.7.x/server-go/examples/avatars/get-flag.md
index dfda1ed687..3af30f3cc3 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-flag.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-flag.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := avatars.NewAvatars(client)
+ service := avatars.New(client)
response, error := service.GetFlag(
"af",
avatars.WithGetFlagWidth(0),
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-image.md b/docs/examples/1.7.x/server-go/examples/avatars/get-image.md
index a751abb927..f4e0324c9d 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-image.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-image.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
+ client.WithProject("") // Your project ID
+ client.WithSession("") // The user session to authenticate with
+ )
- client.SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint
- client.SetProject("") // Your project ID
- client.SetSession("") // The user session to authenticate with
-
- service := avatars.NewAvatars(client)
+ service := avatars.New(client)
response, error := service.GetImage(
"https://example.com",
avatars.WithGetImageWidth(0),
diff --git a/docs/examples/1.7.x/server-go/examples/avatars/get-initials.md b/docs/examples/1.7.x/server-go/examples/avatars/get-initials.md
index 21fa9282ae..a7519012e2 100644
--- a/docs/examples/1.7.x/server-go/examples/avatars/get-initials.md
+++ b/docs/examples/1.7.x/server-go/examples/avatars/get-initials.md
@@ -7,13 +7,13 @@ import (
)
func main() {
- client := client.NewClient()
+ client := client.New(
+ client.WithEndpoint("https://