Merge remote-tracking branch 'origin/1.8.x' into feat-txn

# Conflicts:
#	composer.lock
This commit is contained in:
Jake Barnby
2025-10-07 18:57:46 +13:00
91 changed files with 2411 additions and 478 deletions
+120 -16
View File
@@ -3464,10 +3464,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3486,12 +3486,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3502,6 +3502,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3535,7 +3585,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3554,12 +3604,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3570,6 +3620,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3608,7 +3712,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -8432,7 +8536,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -8471,7 +8575,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8534,7 +8638,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
}
],
@@ -8562,7 +8666,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -8681,7 +8785,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -8730,7 +8834,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8792,7 +8896,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -9041,7 +9145,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+143 -39
View File
@@ -3473,10 +3473,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3495,12 +3495,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3511,6 +3511,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3543,7 +3593,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3562,12 +3612,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3578,6 +3628,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3615,7 +3719,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -13352,7 +13456,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -13373,7 +13477,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -30636,7 +30740,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -30657,7 +30761,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -34144,7 +34248,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -34642,7 +34746,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -34751,7 +34855,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36261,7 +36365,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36373,7 +36477,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36493,7 +36597,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36605,7 +36709,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36725,7 +36829,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36837,7 +36941,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37091,7 +37195,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37211,7 +37315,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37852,7 +37956,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37937,7 +38041,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38069,7 +38173,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38143,7 +38247,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38315,7 +38419,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -38354,7 +38458,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -38417,7 +38521,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -38444,7 +38548,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -38472,7 +38576,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -38530,7 +38634,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -38589,7 +38693,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -38818,7 +38922,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38919,7 +39023,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38968,7 +39072,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -39030,7 +39134,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -39279,7 +39383,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+147 -39
View File
@@ -3161,10 +3161,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3183,12 +3183,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3199,6 +3199,58 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3233,7 +3285,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3252,12 +3304,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3268,6 +3320,62 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3307,7 +3415,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -12145,7 +12253,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -12166,7 +12274,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -21351,7 +21459,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -21372,7 +21480,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -24579,7 +24687,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -25083,7 +25191,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -25193,7 +25301,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26716,7 +26824,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26829,7 +26937,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26950,7 +27058,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27063,7 +27171,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27184,7 +27292,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27297,7 +27405,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27553,7 +27661,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27674,7 +27782,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28321,7 +28429,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28407,7 +28515,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28540,7 +28648,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28615,7 +28723,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28703,7 +28811,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -28742,7 +28850,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -28806,7 +28914,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -28834,7 +28942,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -28864,7 +28972,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -28922,7 +29030,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -28982,7 +29090,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -29214,7 +29322,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -29317,7 +29425,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -29366,7 +29474,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -29429,7 +29537,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -29684,7 +29792,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+120 -16
View File
@@ -3464,10 +3464,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3486,12 +3486,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3502,6 +3502,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3535,7 +3585,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3554,12 +3604,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3570,6 +3620,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3608,7 +3712,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -8432,7 +8536,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -8471,7 +8575,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8534,7 +8638,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
}
],
@@ -8562,7 +8666,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -8681,7 +8785,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -8730,7 +8834,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8792,7 +8896,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -9041,7 +9145,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+143 -39
View File
@@ -3473,10 +3473,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3495,12 +3495,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3511,6 +3511,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3543,7 +3593,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3562,12 +3612,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3578,6 +3628,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3615,7 +3719,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -13352,7 +13456,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -13373,7 +13477,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -30636,7 +30740,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -30657,7 +30761,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -34144,7 +34248,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -34642,7 +34746,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -34751,7 +34855,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36261,7 +36365,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36373,7 +36477,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36493,7 +36597,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36605,7 +36709,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36725,7 +36829,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -36837,7 +36941,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37091,7 +37195,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37211,7 +37315,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37852,7 +37956,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -37937,7 +38041,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38069,7 +38173,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38143,7 +38247,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38315,7 +38419,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -38354,7 +38458,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -38417,7 +38521,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -38444,7 +38548,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -38472,7 +38576,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -38530,7 +38634,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -38589,7 +38693,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -38818,7 +38922,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38919,7 +39023,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -38968,7 +39072,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -39030,7 +39134,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -39279,7 +39383,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+147 -39
View File
@@ -3161,10 +3161,10 @@
}
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"tags": [
"account"
],
@@ -3183,12 +3183,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3199,6 +3199,58 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3233,7 +3285,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"tags": [
"account"
],
@@ -3252,12 +3304,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3268,6 +3320,62 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/components\/schemas\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3307,7 +3415,7 @@
}
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -12145,7 +12253,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -12166,7 +12274,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -21351,7 +21459,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -21372,7 +21480,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -24579,7 +24687,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -25083,7 +25191,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -25193,7 +25301,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26716,7 +26824,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26829,7 +26937,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -26950,7 +27058,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27063,7 +27171,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27184,7 +27292,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27297,7 +27405,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27553,7 +27661,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -27674,7 +27782,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28321,7 +28429,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28407,7 +28515,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28540,7 +28648,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28615,7 +28723,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -28703,7 +28811,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"schema": {
"type": "string",
@@ -28742,7 +28850,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -28806,7 +28914,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -28834,7 +28942,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -28864,7 +28972,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"schema": {
"type": "string",
@@ -28922,7 +29030,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -28982,7 +29090,7 @@
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -29214,7 +29322,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -29317,7 +29425,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
@@ -29366,7 +29474,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -29429,7 +29537,7 @@
"model": "#\/components\/schemas\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -29684,7 +29792,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"schema": {
"type": "string",
+120 -16
View File
@@ -3599,10 +3599,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3623,12 +3623,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3639,6 +3639,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3673,7 +3723,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3694,12 +3744,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3710,6 +3760,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3750,7 +3854,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -8501,7 +8605,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8541,7 +8645,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8599,7 +8703,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
}
],
@@ -8625,7 +8729,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8742,7 +8846,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8790,7 +8894,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8847,7 +8951,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -9088,7 +9192,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+143 -39
View File
@@ -3618,10 +3618,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3642,12 +3642,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3658,6 +3658,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3691,7 +3741,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3712,12 +3762,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3728,6 +3778,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3767,7 +3871,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -13352,7 +13456,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -13369,7 +13473,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -30810,7 +30914,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -30827,7 +30931,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -34257,7 +34361,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -34743,7 +34847,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -34852,7 +34956,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36351,7 +36455,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36455,7 +36559,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36565,7 +36669,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36669,7 +36773,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36779,7 +36883,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36883,7 +36987,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37129,7 +37233,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37251,7 +37355,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37873,7 +37977,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37955,7 +38059,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38086,7 +38190,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38158,7 +38262,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38318,7 +38422,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38358,7 +38462,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -38416,7 +38520,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -38443,7 +38547,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -38469,7 +38573,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38534,7 +38638,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -38589,7 +38693,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -38813,7 +38917,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38909,7 +39013,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38957,7 +39061,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -39014,7 +39118,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -39255,7 +39359,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+147 -39
View File
@@ -3302,10 +3302,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3326,12 +3326,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3342,6 +3342,58 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3377,7 +3429,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3398,12 +3450,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3414,6 +3466,62 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3455,7 +3563,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -12170,7 +12278,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -12187,7 +12295,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -21571,7 +21679,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -21588,7 +21696,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -24750,7 +24858,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -25242,7 +25350,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -25352,7 +25460,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -26864,7 +26972,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -26969,7 +27077,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27080,7 +27188,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27185,7 +27293,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27296,7 +27404,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27401,7 +27509,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27649,7 +27757,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27772,7 +27880,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28400,7 +28508,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28483,7 +28591,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28615,7 +28723,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28688,7 +28796,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28769,7 +28877,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28809,7 +28917,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -28868,7 +28976,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -28896,7 +29004,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -28924,7 +29032,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28989,7 +29097,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -29045,7 +29153,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -29272,7 +29380,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -29370,7 +29478,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -29418,7 +29526,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -29476,7 +29584,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -29723,7 +29831,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+120 -16
View File
@@ -3599,10 +3599,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3623,12 +3623,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3639,6 +3639,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3673,7 +3723,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3694,12 +3744,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3710,6 +3760,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3750,7 +3854,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -8501,7 +8605,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8541,7 +8645,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8599,7 +8703,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
}
],
@@ -8625,7 +8729,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8742,7 +8846,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -8790,7 +8894,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -8847,7 +8951,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -9088,7 +9192,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+143 -39
View File
@@ -3618,10 +3618,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3642,12 +3642,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3658,6 +3658,56 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3691,7 +3741,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3712,12 +3762,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3728,6 +3778,60 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": []
}
@@ -3767,7 +3871,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -13352,7 +13456,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -13369,7 +13473,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -30810,7 +30914,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -30827,7 +30931,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -34257,7 +34361,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -34743,7 +34847,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -34852,7 +34956,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36351,7 +36455,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36455,7 +36559,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36565,7 +36669,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36669,7 +36773,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36779,7 +36883,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -36883,7 +36987,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37129,7 +37233,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37251,7 +37355,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37873,7 +37977,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -37955,7 +38059,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38086,7 +38190,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38158,7 +38262,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38318,7 +38422,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38358,7 +38462,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -38416,7 +38520,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -38443,7 +38547,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -38469,7 +38573,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38534,7 +38638,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -38589,7 +38693,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -38813,7 +38917,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38909,7 +39013,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -38957,7 +39061,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -39014,7 +39118,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -39255,7 +39359,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+147 -39
View File
@@ -3302,10 +3302,10 @@
]
}
},
"\/account\/verification": {
"\/account\/verifications\/email": {
"post": {
"summary": "Create email verification",
"operationId": "accountCreateVerification",
"operationId": "accountCreateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3326,12 +3326,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "createVerification",
"method": "createEmailVerification",
"group": "verification",
"weight": 41,
"cookies": false,
"type": "",
"demo": "account\/create-verification.md",
"demo": "account\/create-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3342,6 +3342,58 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "createEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-email-verification.md"
},
{
"name": "createVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"url"
],
"required": [
"url"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n",
"demo": "account\/create-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.createEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3377,7 +3429,7 @@
},
"put": {
"summary": "Update email verification (confirmation)",
"operationId": "accountUpdateVerification",
"operationId": "accountUpdateEmailVerification",
"consumes": [
"application\/json"
],
@@ -3398,12 +3450,12 @@
},
"deprecated": false,
"x-appwrite": {
"method": "updateVerification",
"method": "updateEmailVerification",
"group": "verification",
"weight": 42,
"cookies": false,
"type": "",
"demo": "account\/update-verification.md",
"demo": "account\/update-email-verification.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md",
"rate-limit": 10,
"rate-time": 3600,
@@ -3414,6 +3466,62 @@
"server"
],
"packaging": false,
"methods": [
{
"name": "updateEmailVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-email-verification.md"
},
{
"name": "updateVerification",
"namespace": "account",
"desc": "",
"auth": {
"Project": [],
"Session": []
},
"parameters": [
"userId",
"secret"
],
"required": [
"userId",
"secret"
],
"responses": [
{
"code": 200,
"model": "#\/definitions\/token"
}
],
"description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.",
"demo": "account\/update-verification.md",
"deprecated": {
"since": "1.8.0",
"replaceWith": "account.updateEmailVerification"
}
}
],
"auth": {
"Project": [],
"Session": []
@@ -3455,7 +3563,7 @@
]
}
},
"\/account\/verification\/phone": {
"\/account\/verifications\/phone": {
"post": {
"summary": "Create phone verification",
"operationId": "accountCreatePhoneVerification",
@@ -12170,7 +12278,7 @@
"tags": [
"functions"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -12187,7 +12295,7 @@
"cookies": false,
"type": "",
"demo": "functions\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/functions#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/functions\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -21571,7 +21679,7 @@
"tags": [
"sites"
],
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"description": "Create a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"responses": {
"202": {
"description": "Deployment",
@@ -21588,7 +21696,7 @@
"cookies": false,
"type": "",
"demo": "sites\/create-template-deployment.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/server\/sites#listTemplates) to find the template details.",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment based on a template.\n\nUse this endpoint with combination of [listTemplates](https:\/\/appwrite.io\/docs\/products\/sites\/templates) to find the template details.",
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
@@ -24750,7 +24858,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Table",
@@ -25242,7 +25350,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -25352,7 +25460,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -26864,7 +26972,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -26969,7 +27077,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27080,7 +27188,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27185,7 +27293,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27296,7 +27404,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27401,7 +27509,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27649,7 +27757,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -27772,7 +27880,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28400,7 +28508,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28483,7 +28591,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28615,7 +28723,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28688,7 +28796,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28769,7 +28877,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the TableDB service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdbdb#tablesdbCreate).",
"description": "Table ID. You can create a new table using the TablesDB service [server integration](https:\/\/appwrite.io\/docs\/products\/databases\/tables#create-table).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28809,7 +28917,7 @@
"tags": [
"tablesDB"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -28868,7 +28976,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-row.md"
},
{
@@ -28896,7 +29004,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/create-rows.md"
}
],
@@ -28924,7 +29032,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable). Make sure to define columns before creating rows.",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -28989,7 +29097,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"responses": {
"201": {
"description": "Rows List",
@@ -29045,7 +29153,7 @@
"model": "#\/definitions\/rowList"
}
],
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.\n",
"description": "Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.\n",
"demo": "tablesdb\/upsert-rows.md"
}
],
@@ -29272,7 +29380,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -29370,7 +29478,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
@@ -29418,7 +29526,7 @@
"tags": [
"tablesDB"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"responses": {
"201": {
"description": "Row",
@@ -29476,7 +29584,7 @@
"model": "#\/definitions\/row"
}
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreateTable) API or directly from your database console.",
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable) API or directly from your database console.",
"demo": "tablesdb\/upsert-row.md"
}
],
@@ -29723,7 +29831,7 @@
},
{
"name": "tableId",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/tablesdb#tablesDBCreate).",
"description": "Table ID. You can create a new table using the Database service [server integration](https:\/\/appwrite.io\/docs\/references\/cloud\/server-dart\/tablesDB#createTable).",
"required": true,
"type": "string",
"x-example": "<TABLE_ID>",
+76 -32
View File
@@ -3506,27 +3506,48 @@ App::put('/v1/account/recovery')
$response->dynamic($recoveryDocument, Response::MODEL_TOKEN);
});
App::post('/v1/account/verification')
App::post('/v1/account/verifications/email')
->alias('/v1/account/verification')
->desc('Create email verification')
->groups(['api', 'account'])
->label('scope', 'account')
->label('event', 'users.[userId].verification.[tokenId].create')
->label('audits.event', 'verification.create')
->label('audits.resource', 'user/{response.userId}')
->label('sdk', new Method(
namespace: 'account',
group: 'verification',
name: 'createVerification',
description: '/docs/references/account/create-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_CREATED,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON,
))
->label('sdk', [
new Method(
namespace: 'account',
group: 'verification',
name: 'createEmailVerification',
description: '/docs/references/account/create-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_CREATED,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON,
),
new Method(
namespace: 'account',
group: 'verification',
name: 'createVerification',
description: '/docs/references/account/create-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_CREATED,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'account.createEmailVerification'
),
)
])
->label('abuse-limit', 10)
->label('abuse-key', 'url:{url},userId:{userId}')
->param('url', '', fn ($platforms, $devKey) => $devKey->isEmpty() ? new Redirect($platforms) : new URL(), 'URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.', false, ['platforms', 'devKey']) // TODO add built-in confirm page
@@ -3672,27 +3693,48 @@ App::post('/v1/account/verification')
->dynamic($verification, Response::MODEL_TOKEN);
});
App::put('/v1/account/verification')
App::put('/v1/account/verifications/email')
->alias('/v1/account/verification')
->desc('Update email verification (confirmation)')
->groups(['api', 'account'])
->label('scope', 'public')
->label('event', 'users.[userId].verification.[tokenId].update')
->label('audits.event', 'verification.update')
->label('audits.resource', 'user/{response.userId}')
->label('sdk', new Method(
namespace: 'account',
group: 'verification',
name: 'updateVerification',
description: '/docs/references/account/update-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON
))
->label('sdk', [
new Method(
namespace: 'account',
group: 'verification',
name: 'updateEmailVerification',
description: '/docs/references/account/update-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON
),
new Method(
namespace: 'account',
group: 'verification',
name: 'updateVerification',
description: '/docs/references/account/update-email-verification.md',
auth: [AuthType::SESSION, AuthType::JWT],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,
model: Response::MODEL_TOKEN,
)
],
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'account.updateEmailVerification'
),
)
])
->label('abuse-limit', 10)
->label('abuse-key', 'url:{url},userId:{param-userId}')
->param('userId', '', new UID(), 'User ID.')
@@ -3739,7 +3781,8 @@ App::put('/v1/account/verification')
$response->dynamic($verification, Response::MODEL_TOKEN);
});
App::post('/v1/account/verification/phone')
App::post('/v1/account/verifications/phone')
->alias('/v1/account/verification/phone')
->desc('Create phone verification')
->groups(['api', 'account', 'auth'])
->label('scope', 'account')
@@ -3888,7 +3931,8 @@ App::post('/v1/account/verification/phone')
->dynamic($verification, Response::MODEL_TOKEN);
});
App::put('/v1/account/verification/phone')
App::put('/v1/account/verifications/phone')
->alias('/v1/account/verification/phone')
->desc('Update phone verification (confirmation)')
->groups(['api', 'account'])
->label('scope', 'public')
+22 -3
View File
@@ -604,11 +604,18 @@ $server->onOpen(function (int $connection, SwooleRequest $request) use ($server,
$code = 500;
}
$message = $th->getMessage();
// sanitize 5xx errors
if ($code >= 500 && !App::isDevelopment()) {
$message = 'Error: Server Error';
}
$response = [
'type' => 'error',
'data' => [
'code' => $code,
'message' => $th->getMessage()
'message' => $message
]
];
@@ -705,11 +712,23 @@ $server->onMessage(function (int $connection, string $message) use ($server, $re
throw new Exception(Exception::REALTIME_MESSAGE_FORMAT_INVALID, 'Message type is not valid.');
}
} catch (Throwable $th) {
$code = $th->getCode();
if (!is_int($code)) {
$code = 500;
}
$message = $th->getMessage();
// sanitize 5xx errors
if ($code >= 500 && !App::isDevelopment()) {
$message = 'Error: Server Error';
}
$response = [
'type' => 'error',
'data' => [
'code' => $th->getCode(),
'message' => $th->getMessage()
'code' => $code,
'message' => $message
]
];
Generated
+6 -6
View File
@@ -3635,16 +3635,16 @@
},
{
"name": "utopia-php/database",
"version": "2.3.1",
"version": "2.3.2",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "a91e04080d7f13c35c4885dea0ffebc33cd33e1f"
"reference": "35c978ddd20b649d119296094686d3cc9fcf161f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/a91e04080d7f13c35c4885dea0ffebc33cd33e1f",
"reference": "a91e04080d7f13c35c4885dea0ffebc33cd33e1f",
"url": "https://api.github.com/repos/utopia-php/database/zipball/35c978ddd20b649d119296094686d3cc9fcf161f",
"reference": "35c978ddd20b649d119296094686d3cc9fcf161f",
"shasum": ""
},
"require": {
@@ -3685,9 +3685,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/2.3.1"
"source": "https://github.com/utopia-php/database/tree/2.3.2"
},
"time": "2025-10-06T04:29:14+00:00"
"time": "2025-10-07T03:09:32+00:00"
},
{
"name": "utopia-php/detector",
@@ -0,0 +1,22 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Account account = new Account(client);
account.createEmailVerification(
"https://example.com", // url
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);
@@ -0,0 +1,23 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Account account = new Account(client);
account.updateEmailVerification(
"<USER_ID>", // userId
"<SECRET>", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);
@@ -0,0 +1,13 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val account = Account(client)
val result = account.createEmailVerification(
url = "https://example.com",
)
@@ -0,0 +1,14 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val account = Account(client)
val result = account.updateEmailVerification(
userId = "<USER_ID>",
secret = "<SECRET>",
)
@@ -0,0 +1,12 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let account = Account(client)
let token = try await account.createEmailVerification(
url: "https://example.com"
)
@@ -0,0 +1,13 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let account = Account(client)
let token = try await account.updateEmailVerification(
userId: "<USER_ID>",
secret: "<SECRET>"
)
@@ -0,0 +1,11 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Account account = Account(client);
Token result = await account.createEmailVerification(
url: 'https://example.com',
);
@@ -0,0 +1,12 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Account account = Account(client);
Token result = await account.updateEmailVerification(
userId: '<USER_ID>',
secret: '<SECRET>',
);
@@ -0,0 +1,12 @@
mutation {
accountCreateEmailVerification(
url: "https://example.com"
) {
_id
_createdAt
userId
secret
expire
phrase
}
}
@@ -0,0 +1,13 @@
mutation {
accountUpdateEmailVerification(
userId: "<USER_ID>",
secret: "<SECRET>"
) {
_id
_createdAt
userId
secret
expire
phrase
}
}
@@ -0,0 +1,13 @@
import { Client, Account } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.createEmailVerification({
url: 'https://example.com'
});
console.log(result);
@@ -0,0 +1,14 @@
import { Client, Account } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.updateEmailVerification({
userId: '<USER_ID>',
secret: '<SECRET>'
});
console.log(result);
@@ -0,0 +1,11 @@
POST /v1/account/verification HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"url": "https://example.com"
}
@@ -0,0 +1,12 @@
PUT /v1/account/verification HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"userId": "<USER_ID>",
"secret": "<SECRET>"
}
@@ -0,0 +1,13 @@
import { Client, Account } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.createEmailVerification({
url: 'https://example.com'
});
console.log(result);
@@ -0,0 +1,14 @@
import { Client, Account } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.updateEmailVerification({
userId: '<USER_ID>',
secret: '<SECRET>'
});
console.log(result);
@@ -0,0 +1,2 @@
appwrite account create-email-verification \
--url https://example.com
@@ -0,0 +1,3 @@
appwrite account update-email-verification \
--user-id <USER_ID> \
--secret <SECRET>
@@ -0,0 +1,13 @@
import { Client, Account } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.createEmailVerification({
url: 'https://example.com'
});
console.log(result);
@@ -0,0 +1,14 @@
import { Client, Account } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const account = new Account(client);
const result = await account.updateEmailVerification({
userId: '<USER_ID>',
secret: '<SECRET>'
});
console.log(result);
@@ -0,0 +1,12 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setSession(''); // The user session to authenticate with
Account account = Account(client);
Token result = await account.createEmailVerification(
url: 'https://example.com',
);
@@ -0,0 +1,13 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setSession(''); // The user session to authenticate with
Account account = Account(client);
Token result = await account.updateEmailVerification(
userId: '<USER_ID>',
secret: '<SECRET>',
);
@@ -0,0 +1,14 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new Client()
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
.SetSession(""); // The user session to authenticate with
Account account = new Account(client);
Token result = await account.CreateEmailVerification(
url: "https://example.com"
);
@@ -0,0 +1,15 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new Client()
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
.SetSession(""); // The user session to authenticate with
Account account = new Account(client);
Token result = await account.UpdateEmailVerification(
userId: "<USER_ID>",
secret: "<SECRET>"
);
@@ -0,0 +1,19 @@
package main
import (
"fmt"
"github.com/appwrite/sdk-for-go/client"
"github.com/appwrite/sdk-for-go/account"
)
client := client.New(
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
client.WithProject("<YOUR_PROJECT_ID>")
client.WithSession("")
)
service := account.New(client)
response, error := service.CreateEmailVerification(
"https://example.com",
)
@@ -0,0 +1,20 @@
package main
import (
"fmt"
"github.com/appwrite/sdk-for-go/client"
"github.com/appwrite/sdk-for-go/account"
)
client := client.New(
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
client.WithProject("<YOUR_PROJECT_ID>")
client.WithSession("")
)
service := account.New(client)
response, error := service.UpdateEmailVerification(
"<USER_ID>",
"<SECRET>",
)
@@ -0,0 +1,12 @@
mutation {
accountCreateEmailVerification(
url: "https://example.com"
) {
_id
_createdAt
userId
secret
expire
phrase
}
}
@@ -0,0 +1,13 @@
mutation {
accountUpdateEmailVerification(
userId: "<USER_ID>",
secret: "<SECRET>"
) {
_id
_createdAt
userId
secret
expire
phrase
}
}
@@ -0,0 +1,23 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Client client = new Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with
Account account = new Account(client);
account.createEmailVerification(
"https://example.com", // url
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
System.out.println(result);
})
);
@@ -0,0 +1,24 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Client client = new Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with
Account account = new Account(client);
account.updateEmailVerification(
"<USER_ID>", // userId
"<SECRET>", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
System.out.println(result);
})
);
@@ -0,0 +1,14 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
val client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession("") // The user session to authenticate with
val account = Account(client)
val response = account.createEmailVerification(
url = "https://example.com"
)
@@ -0,0 +1,15 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
val client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession("") // The user session to authenticate with
val account = Account(client)
val response = account.updateEmailVerification(
userId = "<USER_ID>",
secret = "<SECRET>"
)
@@ -0,0 +1,12 @@
const sdk = require('node-appwrite');
const client = new sdk.Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setSession(''); // The user session to authenticate with
const account = new sdk.Account(client);
const result = await account.createEmailVerification({
url: 'https://example.com'
});
@@ -0,0 +1,13 @@
const sdk = require('node-appwrite');
const client = new sdk.Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setSession(''); // The user session to authenticate with
const account = new sdk.Account(client);
const result = await account.updateEmailVerification({
userId: '<USER_ID>',
secret: '<SECRET>'
});
@@ -0,0 +1,15 @@
<?php
use Appwrite\Client;
use Appwrite\Services\Account;
$client = (new Client())
->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
->setProject('<YOUR_PROJECT_ID>') // Your project ID
->setSession(''); // The user session to authenticate with
$account = new Account($client);
$result = $account->createEmailVerification(
url: 'https://example.com'
);
@@ -0,0 +1,16 @@
<?php
use Appwrite\Client;
use Appwrite\Services\Account;
$client = (new Client())
->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
->setProject('<YOUR_PROJECT_ID>') // Your project ID
->setSession(''); // The user session to authenticate with
$account = new Account($client);
$result = $account->updateEmailVerification(
userId: '<USER_ID>',
secret: '<SECRET>'
);
@@ -0,0 +1,13 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.create_email_verification(
url = 'https://example.com'
)
@@ -0,0 +1,14 @@
from appwrite.client import Client
from appwrite.services.account import Account
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.update_email_verification(
user_id = '<USER_ID>',
secret = '<SECRET>'
)
@@ -0,0 +1,11 @@
POST /v1/account/verification HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"url": "https://example.com"
}
@@ -0,0 +1,12 @@
PUT /v1/account/verification HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"userId": "<USER_ID>",
"secret": "<SECRET>"
}
@@ -0,0 +1,14 @@
require 'appwrite'
include Appwrite
client = Client.new
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
.set_project('<YOUR_PROJECT_ID>') # Your project ID
.set_session('') # The user session to authenticate with
account = Account.new(client)
result = account.create_email_verification(
url: 'https://example.com'
)
@@ -0,0 +1,15 @@
require 'appwrite'
include Appwrite
client = Client.new
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
.set_project('<YOUR_PROJECT_ID>') # Your project ID
.set_session('') # The user session to authenticate with
account = Account.new(client)
result = account.update_email_verification(
user_id: '<USER_ID>',
secret: '<SECRET>'
)
@@ -0,0 +1,13 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession("") // The user session to authenticate with
let account = Account(client)
let token = try await account.createEmailVerification(
url: "https://example.com"
)
@@ -0,0 +1,14 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession("") // The user session to authenticate with
let account = Account(client)
let token = try await account.updateEmailVerification(
userId: "<USER_ID>",
secret: "<SECRET>"
)
+1 -1
View File
@@ -1 +1 @@
Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) API or directly from your database console.
Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
+1 -1
View File
@@ -1 +1 @@
Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) API or directly from your database console.
Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
+1 -1
View File
@@ -1 +1 @@
Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) API or directly from your database console.
Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
+1 -1
View File
@@ -1 +1 @@
Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) API or directly from your database console.
Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
+1 -1
View File
@@ -1 +1 @@
Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreateTable) API or directly from your database console.
Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
+4 -26
View File
@@ -158,22 +158,18 @@ class TransactionState
?string $transactionId = null,
array $queries = []
): int {
// If no transaction, use normal database count
if ($transactionId === null) {
return $this->dbForProject->count($collectionId, $queries, APP_LIMIT_COUNT);
}
$state = $this->getTransactionState($transactionId);
// Get base count from database
$baseCount = $this->dbForProject->count($collectionId, $queries, APP_LIMIT_COUNT);
// If no transaction state for this collection, return base count
if (!isset($state[$collectionId])) {
return $baseCount;
}
// Build a set of committed document IDs that match the query
$committedDocs = $this->dbForProject->find($collectionId, $queries);
$committedDocIds = [];
foreach ($committedDocs as $doc) {
@@ -184,27 +180,23 @@ class TransactionState
$filters = $this->extractFilters($queries);
// Apply transaction state changes to the count
foreach ($state[$collectionId] as $docId => $docState) {
if (!$docState['exists']) {
// Document was deleted in transaction
if (isset($committedDocIds[$docId])) {
$adjustedCount--; // Was in results, now deleted
$adjustedCount--;
}
} elseif ($docState['action'] === 'create') {
// Document was created in transaction
if ($this->documentMatchesFilters($docState['document'], $filters)) {
$adjustedCount++; // New document that matches
$adjustedCount++;
}
} elseif ($docState['action'] === 'update' || $docState['action'] === 'upsert') {
// Document was updated/upserted
$wasInResults = isset($committedDocIds[$docId]);
$nowMatches = $this->documentMatchesFilters($docState['document'], $filters);
if (!$wasInResults && $nowMatches && $docState['action'] === 'upsert') {
$adjustedCount++; // Upsert created new document that matches
$adjustedCount++;
} elseif ($wasInResults && !$nowMatches) {
$adjustedCount--; // Update/upsert made document no longer match
$adjustedCount--;
} elseif (!$wasInResults && $nowMatches) {
// Update shouldn't add a new doc, but upsert might have
if ($docState['action'] === 'upsert') {
@@ -259,7 +251,6 @@ class TransactionState
foreach ($state[$collectionId] as $docId => $doc) {
if ($this->documentMatchesFilters($doc, $filters)) {
// Apply the update to the state document
foreach ($updateData->getArrayCopy() as $key => $value) {
if ($key !== '$id') {
$doc->setAttribute($key, $value);
@@ -325,18 +316,14 @@ class TransactionState
continue;
}
// If document exists in state, update it and use the merged version
if (isset($state[$collectionId][$docId])) {
// Apply updates to existing state document
foreach ($doc->getArrayCopy() as $key => $value) {
if ($key !== '$id') {
$state[$collectionId][$docId]->setAttribute($key, $value);
}
}
// Use the full merged document from state
$mergedDocuments[] = $state[$collectionId][$docId];
} else {
// Document not in state - use original partial data for DB upsert
$mergedDocuments[] = $doc;
}
}
@@ -360,7 +347,6 @@ class TransactionState
return [];
}
// Fetch operations ordered by sequence to replay in exact order
$operations = Authorization::skip(fn () => $this->dbForProject->find('transactionLogs', [
Query::equal('transactionInternalId', [$transaction->getSequence()]),
Query::orderAsc(),
@@ -385,7 +371,6 @@ class TransactionState
case 'create':
$docId = $documentId ?? ($data['$id'] ?? null);
if ($docId) {
// Ensure document has the correct $id
if (!isset($data['$id'])) {
$data['$id'] = $docId;
}
@@ -399,7 +384,6 @@ class TransactionState
case 'update':
if (isset($state[$collectionId][$documentId])) {
// Update existing document in transaction state
$existingDocument = $state[$collectionId][$documentId]['document'];
foreach ($data as $key => $value) {
if ($key !== '$id') {
@@ -412,7 +396,6 @@ class TransactionState
$state[$collectionId][$documentId]['action'] = 'update';
}
} else {
// Document doesn't exist in transaction state, will be merged with committed version
$state[$collectionId][$documentId] = [
'action' => 'update',
'document' => new Document($data),
@@ -473,7 +456,6 @@ class TransactionState
return $doc;
}
// Extract selections from queries
$selections = [];
foreach ($queries as $query) {
if ($query->getMethod() === Query::TYPE_SELECT) {
@@ -487,7 +469,6 @@ class TransactionState
}
}
// If no selections or wildcard present, return document as-is
if (empty($selections) || \in_array('*', $selections)) {
return $doc;
}
@@ -525,7 +506,6 @@ class TransactionState
$filters = [];
foreach ($queries as $query) {
$method = $query->getMethod();
// Only process filter queries, not limit/offset/cursor/select/order
if (!\in_array($method, [
Query::TYPE_LIMIT,
Query::TYPE_OFFSET,
@@ -550,12 +530,10 @@ class TransactionState
*/
private function documentMatchesFilters(Document $doc, array $filters): bool
{
// If no filters, document matches
if (empty($filters)) {
return true;
}
// Check each filter
foreach ($filters as $filter) {
$attribute = $filter->getAttribute();
$values = $filter->getValues();
+8 -4
View File
@@ -312,13 +312,17 @@ class Realtime extends MessagingAdapter
throw new \Exception('Collection or the Table needs to be passed to Realtime for Document/Row events in the Database.');
}
$tableId = $payload->getAttribute('$tableId', '');
$collectionId = $payload->getAttribute('$collectionId', '');
$resourceId = $tableId ?: $collectionId;
$channels[] = 'rows';
$channels[] = 'databases.' . $database->getId() . '.tables.' . $payload->getAttribute('$tableId') . '.rows';
$channels[] = 'databases.' . $database->getId() . '.tables.' . $payload->getAttribute('$tableId') . '.rows.' . $payload->getId();
$channels[] = 'databases.' . $database->getId() . '.tables.' . $resourceId . '.rows';
$channels[] = 'databases.' . $database->getId() . '.tables.' . $resourceId . '.rows.' . $payload->getId();
$channels[] = 'documents';
$channels[] = 'databases.' . $database->getId() . '.collections.' . $payload->getAttribute('$collectionId') . '.documents';
$channels[] = 'databases.' . $database->getId() . '.collections.' . $payload->getAttribute('$collectionId') . '.documents.' . $payload->getId();
$channels[] = 'databases.' . $database->getId() . '.collections.' . $resourceId . '.documents';
$channels[] = 'databases.' . $database->getId() . '.collections.' . $resourceId . '.documents.' . $payload->getId();
$roles = $collection->getAttribute('documentSecurity', false)
? \array_merge($collection->getRead(), $payload->getRead())
@@ -50,7 +50,7 @@ class Create extends BooleanCreate
]
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Boolean(), 'Default value for column when not provided. Cannot be set when column is required.', true)
@@ -53,7 +53,7 @@ class Update extends BooleanUpdate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Boolean()), 'Default value for column when not provided. Cannot be set when column is required.')
@@ -53,7 +53,7 @@ class Create extends LineCreate
]
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true)
@@ -55,7 +55,7 @@ class Update extends LineUpdate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true)
@@ -53,7 +53,7 @@ class Create extends PointCreate
]
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true)
@@ -55,7 +55,7 @@ class Update extends PointUpdate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true)
@@ -53,7 +53,7 @@ class Create extends PolygonCreate
]
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true)
@@ -55,7 +55,7 @@ class Update extends PolygonUpdate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true)
@@ -53,7 +53,7 @@ class Create extends StringCreate
]
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('size', null, new Range(1, APP_DATABASE_ATTRIBUTE_STRING_MAX_LENGTH, Validator::TYPE_INTEGER), 'Column size for text columns, in number of characters.')
->param('required', null, new Boolean(), 'Is column required?')
@@ -56,7 +56,7 @@ class Update extends StringUpdate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Column Key.')
->param('required', null, new Boolean(), 'Is column required?')
->param('default', null, new Nullable(new Text(0, 0)), 'Default value for column when not provided. Cannot be set when column is required.')
@@ -56,7 +56,7 @@ class Create extends IndexCreate
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', null, new Key(), 'Index Key.')
->param('type', null, new WhiteList([Database::INDEX_KEY, Database::INDEX_FULLTEXT, Database::INDEX_UNIQUE, Database::INDEX_SPATIAL]), 'Index type.')
->param('columns', null, new ArrayList(new Key(true), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of columns to index. Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' columns are allowed, each 32 characters long.')
@@ -55,7 +55,7 @@ class Delete extends IndexDelete
contentType: ContentType::NONE
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', '', new Key(), 'Index Key.')
->inject('response')
->inject('dbForProject')
@@ -48,7 +48,7 @@ class Get extends IndexGet
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('key', null, new Key(), 'Index Key.')
->inject('response')
->inject('dbForProject')
@@ -48,7 +48,7 @@ class XList extends IndexXList
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('queries', [], new Indexes(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following columns: ' . implode(', ', Indexes::ALLOWED_ATTRIBUTES), true)
->inject('response')
->inject('dbForProject')
@@ -54,7 +54,7 @@ class Delete extends DocumentsDelete
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true)
->param('transactionId', null, new UID(), 'Transaction ID for staging the operation.', true)
->inject('response')
@@ -96,7 +96,7 @@ class Create extends DocumentCreate
])
->param('databaseId', '', new UID(), 'Database ID.')
->param('rowId', '', new CustomId(), 'Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true)
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows.')
->param('data', [], new JSON(), 'Row data as JSON object.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}')
->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true)
->param('rows', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of rows data as JSON objects.', true, ['plan'])
@@ -59,7 +59,7 @@ class Delete extends DocumentDelete
contentType: ContentType::NONE
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('rowId', '', new UID(), 'Row ID.')
->param('transactionId', null, new UID(), 'Transaction ID for staging the operation.', true)
->inject('requestTimestamp')
@@ -49,7 +49,7 @@ class Get extends DocumentGet
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).')
->param('rowId', '', new UID(), 'Row ID.')
->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true)
->param('transactionId', null, new UID(), 'Transaction ID to read uncommitted changes within the transaction.', true)
@@ -49,7 +49,7 @@ class XList extends DocumentXList
contentType: ContentType::JSON
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TableDB service [server integration](https://appwrite.io/docs/server/tablesdbdb#tablesdbCreate).')
->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/products/databases/tables#create-table).')
->param('queries', [], new ArrayList(new Text(APP_LIMIT_ARRAY_ELEMENT_SIZE), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true)
->param('transactionId', null, new UID(), 'Transaction ID to read uncommitted changes within the transaction.', true)
->inject('response')
@@ -51,7 +51,7 @@ class Create extends Base
description: <<<EOT
Create a deployment based on a template.
Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/server/functions#listTemplates) to find the template details.
Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/products/functions/templates) to find the template details.
EOT,
auth: [AuthType::KEY],
responses: [
@@ -53,7 +53,7 @@ class Create extends Base
description: <<<EOT
Create a deployment based on a template.
Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/server/sites#listTemplates) to find the template details.
Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/products/sites/templates) to find the template details.
EOT,
auth: [AuthType::KEY],
responses: [
+1 -1
View File
@@ -533,7 +533,7 @@ class StatsUsage extends Action
return strcmp($a['time'], $b['time']);
});
$dbForLogs->createOrUpdateDocumentsWithIncrease(
$dbForLogs->upsertDocumentsWithIncrease(
'stats',
'value',
$this->statDocuments
@@ -4711,12 +4711,16 @@ trait DatabasesBase
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [
Query::select(['library.*'])->toString(),
Query::equal('library.libraryName', ['Library 1'])->toString(),
],
]);
$this->assertEquals(400, $documents['headers']['status-code']);
$this->assertEquals('Invalid query: Cannot query nested attribute on: library', $documents['body']['message']);
$this->assertEquals(200, $documents['headers']['status-code']);
$this->assertEquals(1, $documents['body']['total']);
$this->assertCount(1, $documents['body']['documents']);
$this->assertEquals('Library 1', $documents['body']['documents'][0]['library']['libraryName']);
$this->assertEquals($person1['body']['$id'], $documents['body']['documents'][0]['$id']);
$response = $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $person['body']['$id'] . '/attributes/library', array_merge([
'content-type' => 'application/json',
@@ -4638,12 +4638,16 @@ trait DatabasesBase
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [
Query::select(['library.*'])->toString(),
Query::equal('library.libraryName', ['Library 1'])->toString(),
],
]);
$this->assertEquals(400, $rows['headers']['status-code']);
$this->assertEquals('Invalid query: Cannot query nested attribute on: library', $rows['body']['message']);
$this->assertEquals(200, $rows['headers']['status-code']);
$this->assertEquals(1, $rows['body']['total']);
$this->assertCount(1, $rows['body']['rows']);
$this->assertEquals('Library 1', $rows['body']['rows'][0]['library']['libraryName']);
$this->assertEquals($person1['body']['$id'], $rows['body']['rows'][0]['$id']);
$response = $this->client->call(Client::METHOD_DELETE, '/tablesdb/' . $databaseId . '/tables/' . $person['body']['$id'] . '/columns/library', array_merge([
'content-type' => 'application/json',
@@ -787,6 +787,8 @@ class RealtimeCustomClientTest extends Scope
$this->assertContains('documents', $response['data']['channels']);
$this->assertContains('databases.' . $databaseId . '.collections.' . $actorsId . '.documents.' . $documentId, $response['data']['channels']);
$this->assertContains('databases.' . $databaseId . '.collections.' . $actorsId . '.documents', $response['data']['channels']);
$this->assertContains('databases.' . $databaseId . '.tables.' . $actorsId . '.rows.' . $documentId, $response['data']['channels']);
$this->assertContains('databases.' . $databaseId . '.tables.' . $actorsId . '.rows', $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}.create", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.*.create", $response['data']['events']);
@@ -831,6 +833,8 @@ class RealtimeCustomClientTest extends Scope
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}.update", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.tables.{$actorsId}.rows", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.tables.{$actorsId}.rows.{$documentId}.update", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.*.update", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.*", $response['data']['events']);
@@ -884,6 +888,8 @@ class RealtimeCustomClientTest extends Scope
$this->assertContains('documents', $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.tables.{$actorsId}.rows.{$documentId}", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.tables.{$actorsId}.rows", $response['data']['channels']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}.delete", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.{$documentId}", $response['data']['events']);
$this->assertContains("databases.{$databaseId}.collections.{$actorsId}.documents.*.delete", $response['data']['events']);