mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge branch '1.8.x' into copilot/fix-3b5374b7-acb3-4c22-9573-00c1feec5bc1
This commit is contained in:
commit
35578bfada
104 changed files with 2790 additions and 568 deletions
|
|
@ -11,7 +11,7 @@ return [
|
|||
[
|
||||
'key' => 'web',
|
||||
'name' => 'Web',
|
||||
'version' => '20.1.0',
|
||||
'version' => '21.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-web',
|
||||
'package' => 'https://www.npmjs.com/package/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -60,7 +60,7 @@ return [
|
|||
[
|
||||
'key' => 'flutter',
|
||||
'name' => 'Flutter',
|
||||
'version' => '19.1.0',
|
||||
'version' => '20.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-flutter',
|
||||
'package' => 'https://pub.dev/packages/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -79,7 +79,7 @@ return [
|
|||
[
|
||||
'key' => 'apple',
|
||||
'name' => 'Apple',
|
||||
'version' => '12.1.0',
|
||||
'version' => '13.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-apple',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-apple',
|
||||
'enabled' => true,
|
||||
|
|
@ -116,7 +116,7 @@ return [
|
|||
[
|
||||
'key' => 'android',
|
||||
'name' => 'Android',
|
||||
'version' => '10.1.0',
|
||||
'version' => '11.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-android',
|
||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android',
|
||||
'enabled' => true,
|
||||
|
|
@ -139,7 +139,7 @@ return [
|
|||
[
|
||||
'key' => 'react-native',
|
||||
'name' => 'React Native',
|
||||
'version' => '0.14.0',
|
||||
'version' => '0.15.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-react-native',
|
||||
'package' => 'https://npmjs.com/package/react-native-appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -226,7 +226,7 @@ return [
|
|||
[
|
||||
'key' => 'cli',
|
||||
'name' => 'Command Line',
|
||||
'version' => '10.0.0',
|
||||
'version' => '10.0.1',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-cli',
|
||||
'package' => 'https://www.npmjs.com/package/appwrite-cli',
|
||||
'enabled' => true,
|
||||
|
|
@ -262,7 +262,7 @@ return [
|
|||
[
|
||||
'key' => 'nodejs',
|
||||
'name' => 'Node.js',
|
||||
'version' => '19.1.0',
|
||||
'version' => '20.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-node',
|
||||
'package' => 'https://www.npmjs.com/package/node-appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -281,7 +281,7 @@ return [
|
|||
[
|
||||
'key' => 'php',
|
||||
'name' => 'PHP',
|
||||
'version' => '17.1.0',
|
||||
'version' => '17.2.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-php',
|
||||
'package' => 'https://packagist.org/packages/appwrite/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -300,7 +300,7 @@ return [
|
|||
[
|
||||
'key' => 'python',
|
||||
'name' => 'Python',
|
||||
'version' => '13.1.0',
|
||||
'version' => '13.2.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-python',
|
||||
'package' => 'https://pypi.org/project/appwrite/',
|
||||
'enabled' => true,
|
||||
|
|
@ -319,7 +319,7 @@ return [
|
|||
[
|
||||
'key' => 'ruby',
|
||||
'name' => 'Ruby',
|
||||
'version' => '18.1.0',
|
||||
'version' => '19.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-ruby',
|
||||
'package' => 'https://rubygems.org/gems/appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -338,7 +338,7 @@ return [
|
|||
[
|
||||
'key' => 'go',
|
||||
'name' => 'Go',
|
||||
'version' => '0.12.0',
|
||||
'version' => '0.13.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-go',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-go',
|
||||
'enabled' => true,
|
||||
|
|
@ -357,7 +357,7 @@ return [
|
|||
[
|
||||
'key' => 'dotnet',
|
||||
'name' => '.NET',
|
||||
'version' => '0.18.0',
|
||||
'version' => '0.19.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
|
||||
'package' => 'https://www.nuget.org/packages/Appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -376,7 +376,7 @@ return [
|
|||
[
|
||||
'key' => 'dart',
|
||||
'name' => 'Dart',
|
||||
'version' => '18.1.0',
|
||||
'version' => '19.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-dart',
|
||||
'package' => 'https://pub.dev/packages/dart_appwrite',
|
||||
'enabled' => true,
|
||||
|
|
@ -395,7 +395,7 @@ return [
|
|||
[
|
||||
'key' => 'kotlin',
|
||||
'name' => 'Kotlin',
|
||||
'version' => '11.1.0',
|
||||
'version' => '12.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-kotlin',
|
||||
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin',
|
||||
'enabled' => true,
|
||||
|
|
@ -418,7 +418,7 @@ return [
|
|||
[
|
||||
'key' => 'swift',
|
||||
'name' => 'Swift',
|
||||
'version' => '12.1.0',
|
||||
'version' => '13.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-swift',
|
||||
'package' => 'https://github.com/appwrite/sdk-for-swift',
|
||||
'enabled' => true,
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -7533,7 +7637,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",
|
||||
|
|
@ -7562,7 +7666,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",
|
||||
|
|
@ -7624,7 +7728,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -7652,7 +7756,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",
|
||||
|
|
@ -7766,7 +7870,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",
|
||||
|
|
@ -7805,7 +7909,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",
|
||||
|
|
@ -7866,7 +7970,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -8105,7 +8209,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -12854,7 +12958,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",
|
||||
|
|
@ -12875,7 +12979,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}",
|
||||
|
|
@ -30132,7 +30236,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",
|
||||
|
|
@ -30153,7 +30257,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}",
|
||||
|
|
@ -33219,7 +33323,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",
|
||||
|
|
@ -33717,7 +33821,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",
|
||||
|
|
@ -33826,7 +33930,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",
|
||||
|
|
@ -35336,7 +35440,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",
|
||||
|
|
@ -35448,7 +35552,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",
|
||||
|
|
@ -35568,7 +35672,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",
|
||||
|
|
@ -35680,7 +35784,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",
|
||||
|
|
@ -35800,7 +35904,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",
|
||||
|
|
@ -35912,7 +36016,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",
|
||||
|
|
@ -36166,7 +36270,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",
|
||||
|
|
@ -36286,7 +36390,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",
|
||||
|
|
@ -36927,7 +37031,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",
|
||||
|
|
@ -37012,7 +37116,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",
|
||||
|
|
@ -37144,7 +37248,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",
|
||||
|
|
@ -37218,7 +37322,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",
|
||||
|
|
@ -37390,7 +37494,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",
|
||||
|
|
@ -37419,7 +37523,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",
|
||||
|
|
@ -37481,7 +37585,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -37507,7 +37611,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37535,7 +37639,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",
|
||||
|
|
@ -37588,7 +37692,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",
|
||||
|
|
@ -37646,7 +37750,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37865,7 +37969,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",
|
||||
|
|
@ -37961,7 +38065,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",
|
||||
|
|
@ -38000,7 +38104,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",
|
||||
|
|
@ -38061,7 +38165,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -38300,7 +38404,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -11635,7 +11743,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",
|
||||
|
|
@ -11656,7 +11764,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}",
|
||||
|
|
@ -20838,7 +20946,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",
|
||||
|
|
@ -20859,7 +20967,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}",
|
||||
|
|
@ -23633,7 +23741,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",
|
||||
|
|
@ -24137,7 +24245,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",
|
||||
|
|
@ -24247,7 +24355,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",
|
||||
|
|
@ -25770,7 +25878,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",
|
||||
|
|
@ -25883,7 +25991,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",
|
||||
|
|
@ -26004,7 +26112,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",
|
||||
|
|
@ -26117,7 +26225,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",
|
||||
|
|
@ -26238,7 +26346,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",
|
||||
|
|
@ -26351,7 +26459,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",
|
||||
|
|
@ -26607,7 +26715,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",
|
||||
|
|
@ -26728,7 +26836,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",
|
||||
|
|
@ -27375,7 +27483,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",
|
||||
|
|
@ -27461,7 +27569,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",
|
||||
|
|
@ -27594,7 +27702,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",
|
||||
|
|
@ -27669,7 +27777,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",
|
||||
|
|
@ -27757,7 +27865,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",
|
||||
|
|
@ -27786,7 +27894,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",
|
||||
|
|
@ -27849,7 +27957,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -27876,7 +27984,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -27906,7 +28014,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",
|
||||
|
|
@ -27959,7 +28067,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",
|
||||
|
|
@ -28018,7 +28126,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28240,7 +28348,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",
|
||||
|
|
@ -28338,7 +28446,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",
|
||||
|
|
@ -28377,7 +28485,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",
|
||||
|
|
@ -28439,7 +28547,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28684,7 +28792,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -7533,7 +7637,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",
|
||||
|
|
@ -7562,7 +7666,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",
|
||||
|
|
@ -7624,7 +7728,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -7652,7 +7756,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",
|
||||
|
|
@ -7766,7 +7870,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",
|
||||
|
|
@ -7805,7 +7909,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",
|
||||
|
|
@ -7866,7 +7970,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -8105,7 +8209,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -12854,7 +12958,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",
|
||||
|
|
@ -12875,7 +12979,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}",
|
||||
|
|
@ -30132,7 +30236,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",
|
||||
|
|
@ -30153,7 +30257,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}",
|
||||
|
|
@ -33219,7 +33323,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",
|
||||
|
|
@ -33717,7 +33821,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",
|
||||
|
|
@ -33826,7 +33930,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",
|
||||
|
|
@ -35336,7 +35440,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",
|
||||
|
|
@ -35448,7 +35552,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",
|
||||
|
|
@ -35568,7 +35672,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",
|
||||
|
|
@ -35680,7 +35784,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",
|
||||
|
|
@ -35800,7 +35904,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",
|
||||
|
|
@ -35912,7 +36016,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",
|
||||
|
|
@ -36166,7 +36270,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",
|
||||
|
|
@ -36286,7 +36390,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",
|
||||
|
|
@ -36927,7 +37031,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",
|
||||
|
|
@ -37012,7 +37116,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",
|
||||
|
|
@ -37144,7 +37248,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",
|
||||
|
|
@ -37218,7 +37322,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",
|
||||
|
|
@ -37390,7 +37494,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",
|
||||
|
|
@ -37419,7 +37523,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",
|
||||
|
|
@ -37481,7 +37585,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -37507,7 +37611,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37535,7 +37639,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",
|
||||
|
|
@ -37588,7 +37692,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",
|
||||
|
|
@ -37646,7 +37750,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37865,7 +37969,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",
|
||||
|
|
@ -37961,7 +38065,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",
|
||||
|
|
@ -38000,7 +38104,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",
|
||||
|
|
@ -38061,7 +38165,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -38300,7 +38404,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -11635,7 +11743,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",
|
||||
|
|
@ -11656,7 +11764,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}",
|
||||
|
|
@ -20838,7 +20946,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",
|
||||
|
|
@ -20859,7 +20967,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}",
|
||||
|
|
@ -23633,7 +23741,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",
|
||||
|
|
@ -24137,7 +24245,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",
|
||||
|
|
@ -24247,7 +24355,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",
|
||||
|
|
@ -25770,7 +25878,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",
|
||||
|
|
@ -25883,7 +25991,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",
|
||||
|
|
@ -26004,7 +26112,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",
|
||||
|
|
@ -26117,7 +26225,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",
|
||||
|
|
@ -26238,7 +26346,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",
|
||||
|
|
@ -26351,7 +26459,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",
|
||||
|
|
@ -26607,7 +26715,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",
|
||||
|
|
@ -26728,7 +26836,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",
|
||||
|
|
@ -27375,7 +27483,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",
|
||||
|
|
@ -27461,7 +27569,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",
|
||||
|
|
@ -27594,7 +27702,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",
|
||||
|
|
@ -27669,7 +27777,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",
|
||||
|
|
@ -27757,7 +27865,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",
|
||||
|
|
@ -27786,7 +27894,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",
|
||||
|
|
@ -27849,7 +27957,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -27876,7 +27984,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -27906,7 +28014,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",
|
||||
|
|
@ -27959,7 +28067,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",
|
||||
|
|
@ -28018,7 +28126,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28240,7 +28348,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",
|
||||
|
|
@ -28338,7 +28446,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",
|
||||
|
|
@ -28377,7 +28485,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",
|
||||
|
|
@ -28439,7 +28547,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28684,7 +28792,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -7612,7 +7716,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>",
|
||||
|
|
@ -7644,7 +7748,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",
|
||||
|
|
@ -7701,7 +7805,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -7727,7 +7831,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>",
|
||||
|
|
@ -7838,7 +7942,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>",
|
||||
|
|
@ -7878,7 +7982,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",
|
||||
|
|
@ -7934,7 +8038,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -8163,7 +8267,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>",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -12856,7 +12960,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",
|
||||
|
|
@ -12873,7 +12977,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}",
|
||||
|
|
@ -30314,7 +30418,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",
|
||||
|
|
@ -30331,7 +30435,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}",
|
||||
|
|
@ -33348,7 +33452,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",
|
||||
|
|
@ -33834,7 +33938,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>",
|
||||
|
|
@ -33943,7 +34047,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>",
|
||||
|
|
@ -35442,7 +35546,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>",
|
||||
|
|
@ -35546,7 +35650,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>",
|
||||
|
|
@ -35656,7 +35760,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>",
|
||||
|
|
@ -35760,7 +35864,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>",
|
||||
|
|
@ -35870,7 +35974,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>",
|
||||
|
|
@ -35974,7 +36078,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>",
|
||||
|
|
@ -36220,7 +36324,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>",
|
||||
|
|
@ -36342,7 +36446,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>",
|
||||
|
|
@ -36964,7 +37068,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>",
|
||||
|
|
@ -37046,7 +37150,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>",
|
||||
|
|
@ -37177,7 +37281,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>",
|
||||
|
|
@ -37249,7 +37353,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>",
|
||||
|
|
@ -37409,7 +37513,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>",
|
||||
|
|
@ -37441,7 +37545,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",
|
||||
|
|
@ -37498,7 +37602,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -37524,7 +37628,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37550,7 +37654,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>",
|
||||
|
|
@ -37609,7 +37713,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",
|
||||
|
|
@ -37663,7 +37767,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37875,7 +37979,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>",
|
||||
|
|
@ -37965,7 +38069,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>",
|
||||
|
|
@ -38005,7 +38109,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",
|
||||
|
|
@ -38061,7 +38165,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -38290,7 +38394,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>",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -11662,7 +11770,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",
|
||||
|
|
@ -11679,7 +11787,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}",
|
||||
|
|
@ -21063,7 +21171,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",
|
||||
|
|
@ -21080,7 +21188,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}",
|
||||
|
|
@ -23817,7 +23925,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",
|
||||
|
|
@ -24309,7 +24417,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>",
|
||||
|
|
@ -24419,7 +24527,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>",
|
||||
|
|
@ -25931,7 +26039,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>",
|
||||
|
|
@ -26036,7 +26144,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>",
|
||||
|
|
@ -26147,7 +26255,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>",
|
||||
|
|
@ -26252,7 +26360,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>",
|
||||
|
|
@ -26363,7 +26471,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>",
|
||||
|
|
@ -26468,7 +26576,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>",
|
||||
|
|
@ -26716,7 +26824,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>",
|
||||
|
|
@ -26839,7 +26947,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>",
|
||||
|
|
@ -27467,7 +27575,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>",
|
||||
|
|
@ -27550,7 +27658,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>",
|
||||
|
|
@ -27682,7 +27790,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>",
|
||||
|
|
@ -27755,7 +27863,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>",
|
||||
|
|
@ -27836,7 +27944,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>",
|
||||
|
|
@ -27868,7 +27976,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",
|
||||
|
|
@ -27926,7 +28034,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -27953,7 +28061,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -27981,7 +28089,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>",
|
||||
|
|
@ -28040,7 +28148,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",
|
||||
|
|
@ -28095,7 +28203,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28310,7 +28418,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>",
|
||||
|
|
@ -28402,7 +28510,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>",
|
||||
|
|
@ -28442,7 +28550,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",
|
||||
|
|
@ -28499,7 +28607,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28734,7 +28842,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>",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -7612,7 +7716,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>",
|
||||
|
|
@ -7644,7 +7748,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",
|
||||
|
|
@ -7701,7 +7805,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -7727,7 +7831,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>",
|
||||
|
|
@ -7838,7 +7942,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>",
|
||||
|
|
@ -7878,7 +7982,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",
|
||||
|
|
@ -7934,7 +8038,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -8163,7 +8267,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>",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -12856,7 +12960,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",
|
||||
|
|
@ -12873,7 +12977,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}",
|
||||
|
|
@ -30314,7 +30418,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",
|
||||
|
|
@ -30331,7 +30435,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}",
|
||||
|
|
@ -33348,7 +33452,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",
|
||||
|
|
@ -33834,7 +33938,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>",
|
||||
|
|
@ -33943,7 +34047,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>",
|
||||
|
|
@ -35442,7 +35546,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>",
|
||||
|
|
@ -35546,7 +35650,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>",
|
||||
|
|
@ -35656,7 +35760,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>",
|
||||
|
|
@ -35760,7 +35864,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>",
|
||||
|
|
@ -35870,7 +35974,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>",
|
||||
|
|
@ -35974,7 +36078,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>",
|
||||
|
|
@ -36220,7 +36324,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>",
|
||||
|
|
@ -36342,7 +36446,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>",
|
||||
|
|
@ -36964,7 +37068,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>",
|
||||
|
|
@ -37046,7 +37150,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>",
|
||||
|
|
@ -37177,7 +37281,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>",
|
||||
|
|
@ -37249,7 +37353,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>",
|
||||
|
|
@ -37409,7 +37513,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>",
|
||||
|
|
@ -37441,7 +37545,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",
|
||||
|
|
@ -37498,7 +37602,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -37524,7 +37628,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37550,7 +37654,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>",
|
||||
|
|
@ -37609,7 +37713,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",
|
||||
|
|
@ -37663,7 +37767,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -37875,7 +37979,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>",
|
||||
|
|
@ -37965,7 +38069,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>",
|
||||
|
|
@ -38005,7 +38109,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",
|
||||
|
|
@ -38061,7 +38165,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -38290,7 +38394,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>",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
@ -11662,7 +11770,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",
|
||||
|
|
@ -11679,7 +11787,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}",
|
||||
|
|
@ -21063,7 +21171,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",
|
||||
|
|
@ -21080,7 +21188,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}",
|
||||
|
|
@ -23817,7 +23925,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",
|
||||
|
|
@ -24309,7 +24417,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>",
|
||||
|
|
@ -24419,7 +24527,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>",
|
||||
|
|
@ -25931,7 +26039,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>",
|
||||
|
|
@ -26036,7 +26144,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>",
|
||||
|
|
@ -26147,7 +26255,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>",
|
||||
|
|
@ -26252,7 +26360,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>",
|
||||
|
|
@ -26363,7 +26471,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>",
|
||||
|
|
@ -26468,7 +26576,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>",
|
||||
|
|
@ -26716,7 +26824,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>",
|
||||
|
|
@ -26839,7 +26947,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>",
|
||||
|
|
@ -27467,7 +27575,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>",
|
||||
|
|
@ -27550,7 +27658,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>",
|
||||
|
|
@ -27682,7 +27790,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>",
|
||||
|
|
@ -27755,7 +27863,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>",
|
||||
|
|
@ -27836,7 +27944,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>",
|
||||
|
|
@ -27868,7 +27976,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",
|
||||
|
|
@ -27926,7 +28034,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"
|
||||
},
|
||||
{
|
||||
|
|
@ -27953,7 +28061,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -27981,7 +28089,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>",
|
||||
|
|
@ -28040,7 +28148,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",
|
||||
|
|
@ -28095,7 +28203,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28310,7 +28418,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>",
|
||||
|
|
@ -28402,7 +28510,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>",
|
||||
|
|
@ -28442,7 +28550,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",
|
||||
|
|
@ -28499,7 +28607,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"
|
||||
}
|
||||
],
|
||||
|
|
@ -28734,7 +28842,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>",
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ App::setResource('queueForMigrations', function (Publisher $publisher) {
|
|||
App::setResource('queueForStatsResources', function (Publisher $publisher) {
|
||||
return new StatsResources($publisher);
|
||||
}, ['publisher']);
|
||||
App::setResource('platforms', function (Request $request, Document $console, Document $project) {
|
||||
App::setResource('platforms', function (Request $request, Document $console, Document $project, Database $dbForPlatform) {
|
||||
$console->setAttribute('platforms', [ // Always allow current host
|
||||
'$collection' => ID::custom('platforms'),
|
||||
'name' => 'Current Host',
|
||||
|
|
@ -190,11 +190,40 @@ App::setResource('platforms', function (Request $request, Document $console, Doc
|
|||
], Document::SET_TYPE_APPEND);
|
||||
}
|
||||
|
||||
$origin = \parse_url($request->getOrigin(), PHP_URL_HOST);
|
||||
|
||||
if (empty($origin)) {
|
||||
$origin = \parse_url($request->getReferer(), PHP_URL_HOST);
|
||||
}
|
||||
|
||||
// Safe if rule with same project ID exists
|
||||
if (!empty($origin)) {
|
||||
if (System::getEnv('_APP_RULES_FORMAT') === 'md5') {
|
||||
$rule = Authorization::skip(fn () => $dbForPlatform->getDocument('rules', md5($origin ?? '')));
|
||||
} else {
|
||||
$rule = Authorization::skip(
|
||||
fn () => $dbForPlatform->find('rules', [
|
||||
Query::equal('domain', [$origin]),
|
||||
Query::limit(1)
|
||||
])
|
||||
)[0] ?? new Document();
|
||||
}
|
||||
|
||||
if (!$rule->isEmpty() && $rule->getAttribute('projectInternalId') === $project->getSequence()) {
|
||||
$project->setAttribute('platforms', [
|
||||
'$collection' => ID::custom('platforms'),
|
||||
'type' => Platform::TYPE_WEB,
|
||||
'name' => $origin,
|
||||
'hostname' => $origin,
|
||||
], Document::SET_TYPE_APPEND);
|
||||
}
|
||||
}
|
||||
|
||||
return [
|
||||
...$console->getAttribute('platforms', []),
|
||||
...$project->getAttribute('platforms', []),
|
||||
];
|
||||
}, ['request', 'console', 'project']);
|
||||
}, ['request', 'console', 'project', 'dbForPlatform']);
|
||||
|
||||
App::setResource('user', function ($mode, $project, $console, $request, $response, $dbForProject, $dbForPlatform) {
|
||||
/** @var Appwrite\Utopia\Request $request */
|
||||
|
|
@ -375,7 +404,7 @@ App::setResource('dbForProject', function (Group $pools, Database $dbForPlatform
|
|||
if (\in_array($dsn->getHost(), $sharedTables)) {
|
||||
$database
|
||||
->setSharedTables(true)
|
||||
->setTenant((int)$project->getSequence())
|
||||
->setTenant((int) $project->getSequence())
|
||||
->setNamespace($dsn->getParam('namespace'));
|
||||
} else {
|
||||
$database
|
||||
|
|
@ -428,7 +457,7 @@ App::setResource('getProjectDB', function (Group $pools, Database $dbForPlatform
|
|||
if (\in_array($dsn->getHost(), $sharedTables)) {
|
||||
$database
|
||||
->setSharedTables(true)
|
||||
->setTenant((int)$project->getSequence())
|
||||
->setTenant((int) $project->getSequence())
|
||||
->setNamespace($dsn->getParam('namespace'));
|
||||
} else {
|
||||
$database
|
||||
|
|
@ -458,7 +487,7 @@ App::setResource('getLogsDB', function (Group $pools, Cache $cache) {
|
|||
|
||||
return function (?Document $project = null) use ($pools, $cache, &$database) {
|
||||
if ($database !== null && $project !== null && !$project->isEmpty() && $project->getId() !== 'console') {
|
||||
$database->setTenant((int)$project->getSequence());
|
||||
$database->setTenant((int) $project->getSequence());
|
||||
return $database;
|
||||
}
|
||||
|
||||
|
|
@ -473,7 +502,7 @@ App::setResource('getLogsDB', function (Group $pools, Cache $cache) {
|
|||
|
||||
// set tenant
|
||||
if ($project !== null && !$project->isEmpty() && $project->getId() !== 'console') {
|
||||
$database->setTenant((int)$project->getSequence());
|
||||
$database->setTenant((int) $project->getSequence());
|
||||
}
|
||||
|
||||
return $database;
|
||||
|
|
@ -501,7 +530,7 @@ App::setResource('redis', function () {
|
|||
$pass = System::getEnv('_APP_REDIS_PASS', '');
|
||||
|
||||
$redis = new \Redis();
|
||||
@$redis->pconnect($host, (int)$port);
|
||||
@$redis->pconnect($host, (int) $port);
|
||||
if ($pass) {
|
||||
$redis->auth($pass);
|
||||
}
|
||||
|
|
@ -714,7 +743,7 @@ App::setResource('schema', function ($utopia, $dbForProject) {
|
|||
// NOTE: `params` and `urls` are not used internally in the `Schema::build` function below!
|
||||
$params = [
|
||||
'list' => function (string $databaseId, string $collectionId, array $args) {
|
||||
return [ 'queries' => $args['queries']];
|
||||
return ['queries' => $args['queries']];
|
||||
},
|
||||
'create' => function (string $databaseId, string $collectionId, array $args) {
|
||||
$id = $args['id'] ?? 'unique()';
|
||||
|
|
@ -963,7 +992,7 @@ App::setResource('resourceToken', function ($project, $dbForProject, $request) {
|
|||
}
|
||||
|
||||
$accessedAt = $token->getAttribute('accessedAt', 0);
|
||||
if (empty($accessedAt) || DatabaseDateTime::formatTz(DatabaseDateTime::addSeconds(new \DateTime(), - APP_RESOURCE_TOKEN_ACCESS)) > $accessedAt) {
|
||||
if (empty($accessedAt) || DatabaseDateTime::formatTz(DatabaseDateTime::addSeconds(new \DateTime(), -APP_RESOURCE_TOKEN_ACCESS)) > $accessedAt) {
|
||||
$token->setAttribute('accessedAt', DatabaseDateTime::now());
|
||||
Authorization::skip(fn () => $dbForProject->updateDocument('resourceTokens', $token->getId(), $token));
|
||||
}
|
||||
|
|
@ -1005,24 +1034,6 @@ App::setResource('httpReferrerSafe', function (Request $request, string $httpRef
|
|||
return $referrer;
|
||||
}
|
||||
|
||||
// Safe if rule with same project ID exists
|
||||
if (!empty($origin)) {
|
||||
if (System::getEnv('_APP_RULES_FORMAT') === 'md5') {
|
||||
$rule = Authorization::skip(fn () => $dbForPlatform->getDocument('rules', md5($origin ?? '')));
|
||||
} else {
|
||||
$rule = Authorization::skip(
|
||||
fn () => $dbForPlatform->find('rules', [
|
||||
Query::equal('domain', [$origin]),
|
||||
Query::limit(1)
|
||||
])
|
||||
)[0] ?? new Document();
|
||||
}
|
||||
|
||||
if (!$rule->isEmpty() && $rule->getAttribute('projectInternalId') === $project->getSequence()) {
|
||||
return $referrer;
|
||||
}
|
||||
}
|
||||
|
||||
// Unsafe; Localhost is always safe for ease of local development
|
||||
$origin = 'localhost';
|
||||
$protocol = \parse_url($request->getOrigin($httpReferrer), PHP_URL_SCHEME);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
]
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
"utopia-php/cache": "0.13.*",
|
||||
"utopia-php/cli": "0.15.*",
|
||||
"utopia-php/config": "0.2.*",
|
||||
"utopia-php/database": "1.*",
|
||||
"utopia-php/database": "2.*",
|
||||
"utopia-php/detector": "0.1.*",
|
||||
"utopia-php/domains": "0.8.*",
|
||||
"utopia-php/dns": "0.3.*",
|
||||
|
|
|
|||
118
composer.lock
generated
118
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "7553e976312b0423cc31544abb91caec",
|
||||
"content-hash": "773efb29b9b584b1249790e0016c823a",
|
||||
"packages": [
|
||||
{
|
||||
"name": "adhocore/jwt",
|
||||
|
|
@ -1159,16 +1159,16 @@
|
|||
},
|
||||
{
|
||||
"name": "open-telemetry/api",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/opentelemetry-php/api.git",
|
||||
"reference": "ee17d937652eca06c2341b6fadc0f74c1c1a5af2"
|
||||
"reference": "610b79ad9d6d97e8368bcb6c4d42394fbb87b522"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/opentelemetry-php/api/zipball/ee17d937652eca06c2341b6fadc0f74c1c1a5af2",
|
||||
"reference": "ee17d937652eca06c2341b6fadc0f74c1c1a5af2",
|
||||
"url": "https://api.github.com/repos/opentelemetry-php/api/zipball/610b79ad9d6d97e8368bcb6c4d42394fbb87b522",
|
||||
"reference": "610b79ad9d6d97e8368bcb6c4d42394fbb87b522",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1188,7 +1188,7 @@
|
|||
]
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "1.4.x-dev"
|
||||
"dev-main": "1.7.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
|
@ -1225,7 +1225,7 @@
|
|||
"issues": "https://github.com/open-telemetry/opentelemetry-php/issues",
|
||||
"source": "https://github.com/open-telemetry/opentelemetry-php"
|
||||
},
|
||||
"time": "2025-09-19T00:05:49+00:00"
|
||||
"time": "2025-10-02T23:44:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "open-telemetry/context",
|
||||
|
|
@ -1415,22 +1415,22 @@
|
|||
},
|
||||
{
|
||||
"name": "open-telemetry/sdk",
|
||||
"version": "1.8.0",
|
||||
"version": "1.9.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/opentelemetry-php/sdk.git",
|
||||
"reference": "105c6e81e3d86150bd5704b00c7e4e165e957b89"
|
||||
"reference": "8986bcbcbea79cb1ba9e91c1d621541ad63d6b3e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/105c6e81e3d86150bd5704b00c7e4e165e957b89",
|
||||
"reference": "105c6e81e3d86150bd5704b00c7e4e165e957b89",
|
||||
"url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/8986bcbcbea79cb1ba9e91c1d621541ad63d6b3e",
|
||||
"reference": "8986bcbcbea79cb1ba9e91c1d621541ad63d6b3e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"nyholm/psr7-server": "^1.1",
|
||||
"open-telemetry/api": "^1.6",
|
||||
"open-telemetry/api": "^1.7",
|
||||
"open-telemetry/context": "^1.4",
|
||||
"open-telemetry/sem-conv": "^1.0",
|
||||
"php": "^8.1",
|
||||
|
|
@ -1465,7 +1465,7 @@
|
|||
]
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "1.0.x-dev"
|
||||
"dev-main": "1.9.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
|
@ -1508,7 +1508,7 @@
|
|||
"issues": "https://github.com/open-telemetry/opentelemetry-php/issues",
|
||||
"source": "https://github.com/open-telemetry/opentelemetry-php"
|
||||
},
|
||||
"time": "2025-09-19T00:05:49+00:00"
|
||||
"time": "2025-10-02T23:44:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "open-telemetry/sem-conv",
|
||||
|
|
@ -1927,16 +1927,16 @@
|
|||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "3.0.46",
|
||||
"version": "3.0.47",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||
"reference": "56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6"
|
||||
"reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6",
|
||||
"reference": "56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/9d6ca36a6c2dd434765b1071b2644a1c683b385d",
|
||||
"reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -2017,7 +2017,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.46"
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.47"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -2033,7 +2033,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2025-06-26T16:29:55+00:00"
|
||||
"time": "2025-10-06T01:07:24+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
|
|
@ -3293,16 +3293,16 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/abuse",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/abuse.git",
|
||||
"reference": "c5e2232033b507a07f72180dc56d37e1872ee7be"
|
||||
"reference": "cd591568791556d246d901d6aaf9935ab02c3f9a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/c5e2232033b507a07f72180dc56d37e1872ee7be",
|
||||
"reference": "c5e2232033b507a07f72180dc56d37e1872ee7be",
|
||||
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/cd591568791556d246d901d6aaf9935ab02c3f9a",
|
||||
"reference": "cd591568791556d246d901d6aaf9935ab02c3f9a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -3310,7 +3310,7 @@
|
|||
"ext-pdo": "*",
|
||||
"ext-redis": "*",
|
||||
"php": ">=8.0",
|
||||
"utopia-php/database": "1.*"
|
||||
"utopia-php/database": "2.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/pint": "1.*",
|
||||
|
|
@ -3338,9 +3338,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/abuse/issues",
|
||||
"source": "https://github.com/utopia-php/abuse/tree/1.0.0"
|
||||
"source": "https://github.com/utopia-php/abuse/tree/1.0.1"
|
||||
},
|
||||
"time": "2025-08-13T09:12:54+00:00"
|
||||
"time": "2025-09-04T12:46:54+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/analytics",
|
||||
|
|
@ -3390,21 +3390,21 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/audit",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/audit.git",
|
||||
"reference": "c0ed75f4d068f1f6c2e7149a909490d4214e72bb"
|
||||
"reference": "5ef26d6a2ab2db7bb86288a1a6ef970307b46f22"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/audit/zipball/c0ed75f4d068f1f6c2e7149a909490d4214e72bb",
|
||||
"reference": "c0ed75f4d068f1f6c2e7149a909490d4214e72bb",
|
||||
"url": "https://api.github.com/repos/utopia-php/audit/zipball/5ef26d6a2ab2db7bb86288a1a6ef970307b46f22",
|
||||
"reference": "5ef26d6a2ab2db7bb86288a1a6ef970307b46f22",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0",
|
||||
"utopia-php/database": "1.*"
|
||||
"utopia-php/database": "2.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/pint": "1.*",
|
||||
|
|
@ -3431,9 +3431,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/audit/issues",
|
||||
"source": "https://github.com/utopia-php/audit/tree/1.0.0"
|
||||
"source": "https://github.com/utopia-php/audit/tree/1.0.1"
|
||||
},
|
||||
"time": "2025-08-13T09:09:00+00:00"
|
||||
"time": "2025-09-04T12:46:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/cache",
|
||||
|
|
@ -3635,16 +3635,16 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/database",
|
||||
"version": "1.5.1",
|
||||
"version": "2.3.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/database.git",
|
||||
"reference": "56efe4daaf23abb753553acffccdcc04cd6178c9"
|
||||
"reference": "35c978ddd20b649d119296094686d3cc9fcf161f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/database/zipball/56efe4daaf23abb753553acffccdcc04cd6178c9",
|
||||
"reference": "56efe4daaf23abb753553acffccdcc04cd6178c9",
|
||||
"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/1.5.1"
|
||||
"source": "https://github.com/utopia-php/database/tree/2.3.2"
|
||||
},
|
||||
"time": "2025-10-01T04:44:14+00:00"
|
||||
"time": "2025-10-07T03:09:32+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/detector",
|
||||
|
|
@ -3792,16 +3792,16 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/domains",
|
||||
"version": "0.8.0",
|
||||
"version": "0.8.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/domains.git",
|
||||
"reference": "650463d2a1525273eb03223c48da9fb1a768bbf7"
|
||||
"reference": "d5f903e93c105407da6374e411c4805b7decd8a8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/domains/zipball/650463d2a1525273eb03223c48da9fb1a768bbf7",
|
||||
"reference": "650463d2a1525273eb03223c48da9fb1a768bbf7",
|
||||
"url": "https://api.github.com/repos/utopia-php/domains/zipball/d5f903e93c105407da6374e411c4805b7decd8a8",
|
||||
"reference": "d5f903e93c105407da6374e411c4805b7decd8a8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -3847,9 +3847,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/domains/issues",
|
||||
"source": "https://github.com/utopia-php/domains/tree/0.8.0"
|
||||
"source": "https://github.com/utopia-php/domains/tree/0.8.1"
|
||||
},
|
||||
"time": "2025-05-16T10:03:59+00:00"
|
||||
"time": "2025-10-03T11:58:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/dsn",
|
||||
|
|
@ -4187,16 +4187,16 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/migration",
|
||||
"version": "1.2.0",
|
||||
"version": "1.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/migration.git",
|
||||
"reference": "42ff497c5231f5a727d1e229419ff1d2195d8093"
|
||||
"reference": "6fb6f8f032cd34c3c65728a55d494adeac2ff038"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/migration/zipball/42ff497c5231f5a727d1e229419ff1d2195d8093",
|
||||
"reference": "42ff497c5231f5a727d1e229419ff1d2195d8093",
|
||||
"url": "https://api.github.com/repos/utopia-php/migration/zipball/6fb6f8f032cd34c3c65728a55d494adeac2ff038",
|
||||
"reference": "6fb6f8f032cd34c3c65728a55d494adeac2ff038",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -4204,7 +4204,7 @@
|
|||
"ext-curl": "*",
|
||||
"ext-openssl": "*",
|
||||
"php": ">=8.1",
|
||||
"utopia-php/database": "1.*",
|
||||
"utopia-php/database": "2.*",
|
||||
"utopia-php/dsn": "0.2.*",
|
||||
"utopia-php/framework": "0.33.*",
|
||||
"utopia-php/storage": "0.18.*"
|
||||
|
|
@ -4237,9 +4237,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/migration/issues",
|
||||
"source": "https://github.com/utopia-php/migration/tree/1.2.0"
|
||||
"source": "https://github.com/utopia-php/migration/tree/1.1.0"
|
||||
},
|
||||
"time": "2025-09-24T10:32:24+00:00"
|
||||
"time": "2025-09-10T05:45:30+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/orchestration",
|
||||
|
|
@ -5004,16 +5004,16 @@
|
|||
"packages-dev": [
|
||||
{
|
||||
"name": "appwrite/sdk-generator",
|
||||
"version": "1.4.2",
|
||||
"version": "1.4.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appwrite/sdk-generator.git",
|
||||
"reference": "07a7d6276bd684b49469ad7b9e8c3c962121c6fd"
|
||||
"reference": "e1ca749398189f36ec6d6afb8e9f64e9cb37e0a3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/07a7d6276bd684b49469ad7b9e8c3c962121c6fd",
|
||||
"reference": "07a7d6276bd684b49469ad7b9e8c3c962121c6fd",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/e1ca749398189f36ec6d6afb8e9f64e9cb37e0a3",
|
||||
"reference": "e1ca749398189f36ec6d6afb8e9f64e9cb37e0a3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -5049,9 +5049,9 @@
|
|||
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
||||
"support": {
|
||||
"issues": "https://github.com/appwrite/sdk-generator/issues",
|
||||
"source": "https://github.com/appwrite/sdk-generator/tree/1.4.2"
|
||||
"source": "https://github.com/appwrite/sdk-generator/tree/1.4.3"
|
||||
},
|
||||
"time": "2025-10-01T03:23:04+00:00"
|
||||
"time": "2025-10-01T06:25:19+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/annotations",
|
||||
|
|
|
|||
|
|
@ -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 @@
|
|||
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 @@
|
|||
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 @@
|
|||
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 @@
|
|||
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 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log
|
||||
|
||||
## 10.0.1
|
||||
|
||||
* Fix CLI Dart model generation issues
|
||||
* Fix row permissions and security sync
|
||||
* Fix error when pushing columns with relationships
|
||||
* Fix resource name from attributes to columns for TablesDB indexes
|
||||
|
||||
## 10.0.0
|
||||
|
||||
* **Breaking:** Removed Avatars CLI command and all related subcommands; corresponding examples deleted
|
||||
|
|
|
|||
|
|
@ -273,6 +273,9 @@ class Oidc extends OAuth2
|
|||
{
|
||||
if (empty($this->wellKnownConfiguration)) {
|
||||
$response = $this->request('GET', $this->getWellKnownEndpoint());
|
||||
if (empty($response)) {
|
||||
throw new Exception('Invalid well-known configuration');
|
||||
}
|
||||
$this->wellKnownConfiguration = \json_decode($response, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ class Event
|
|||
$this->project = $event->getProject();
|
||||
$this->user = $event->getUser();
|
||||
$this->payload = $event->getPayload();
|
||||
$this->sensitive = $event->sensitive;
|
||||
$this->event = $event->getEvent();
|
||||
$this->params = $event->getParams();
|
||||
$this->context = $event->context;
|
||||
|
|
|
|||
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class Upsert extends Action
|
|||
|
||||
try {
|
||||
$modified = $dbForProject->withPreserveDates(function () use ($dbForProject, $database, $collection, $documents, $plan, &$upserted) {
|
||||
return $dbForProject->createOrUpdateDocuments(
|
||||
return $dbForProject->upsertDocuments(
|
||||
'database_' . $database->getSequence() . '_collection_' . $collection->getSequence(),
|
||||
$documents,
|
||||
onNext: function (Document $document) use ($plan, &$upserted) {
|
||||
|
|
|
|||
|
|
@ -108,10 +108,7 @@ class XList extends Action
|
|||
$audit = new Audit($dbForProject);
|
||||
$type = $this->getCollectionsEventsContext();
|
||||
$context = $this->getContext();
|
||||
$resource = match ($context) {
|
||||
ROWS => "database/$databaseId/grid/$type/$collectionId/$context/{$document->getId()}",
|
||||
default => "database/$databaseId/$type/$collectionId/$context/{$document->getId()}",
|
||||
};
|
||||
$resource = "database/$databaseId/$type/$collectionId/$context/{$document->getId()}";
|
||||
|
||||
$logs = $audit->getLogsByResource($resource, $queries);
|
||||
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ class Upsert extends Action
|
|||
$upserted = [];
|
||||
try {
|
||||
$dbForProject->withPreserveDates(function () use (&$upserted, $dbForProject, $database, $collection, $newDocument) {
|
||||
return $dbForProject->createOrUpdateDocuments(
|
||||
return $dbForProject->upsertDocuments(
|
||||
'database_' . $database->getSequence() . '_collection_' . $collection->getSequence(),
|
||||
[$newDocument],
|
||||
onNext: function (Document $document) use (&$upserted) {
|
||||
|
|
|
|||
|
|
@ -104,11 +104,7 @@ class XList extends Action
|
|||
|
||||
$audit = new Audit($dbForProject);
|
||||
$context = $this->getContext();
|
||||
$resource = match ($context) {
|
||||
TABLES => "database/$databaseId/grid/$context/$collectionId",
|
||||
default => "database/$databaseId/$context/$collectionId",
|
||||
};
|
||||
|
||||
$resource = "database/$databaseId/$context/$collectionId";
|
||||
$logs = $audit->getLogsByResource($resource, $queries);
|
||||
|
||||
$output = [];
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
|
|
|||
|
|
@ -94,7 +94,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.')
|
||||
->inject('requestTimestamp')
|
||||
->inject('response')
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
->inject('response')
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
// Make sure we have a clean slate.
|
||||
// Otherwise, all files in this dir will be pushed,
|
||||
// regardless of whether they were just generated or not.
|
||||
\exec('rm -rf ' . $result);
|
||||
\exec('chmod -R u+w ' . $result . ' 2>/dev/null; rm -rf ' . $result);
|
||||
|
||||
try {
|
||||
$sdk->generate($result);
|
||||
|
|
@ -309,7 +309,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
git checkout ' . $gitBranch . ' || git checkout -b ' . $gitBranch . ' && \
|
||||
git fetch origin ' . $gitBranch . ' || git push -u origin ' . $gitBranch . ' && \
|
||||
git pull origin ' . $gitBranch . ' && \
|
||||
rm -rf ' . $target . '/* && \
|
||||
find . -mindepth 1 ! -path "./.git*" -delete && \
|
||||
cp -r ' . $result . '/. ' . $target . '/ && \
|
||||
git add . && \
|
||||
git commit -m "' . $message . '" && \
|
||||
|
|
@ -317,7 +317,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
');
|
||||
|
||||
Console::success("Pushed {$language['name']} SDK to {$gitUrl}");
|
||||
|
||||
if ($createPr) {
|
||||
$prTitle = "feat: {$language['name']} SDK update for version {$language['version']}";
|
||||
$prBody = "This PR contains updates to the {$language['name']} SDK for version {$language['version']}.";
|
||||
|
|
@ -352,14 +351,32 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
} else {
|
||||
$errorMessage = implode("\n", $prOutput);
|
||||
if (strpos($errorMessage, 'already exists') !== false) {
|
||||
Console::warning("Pull request already exists for {$language['name']} SDK");
|
||||
Console::warning("Pull request already exists for {$language['name']} SDK, updating title and body...");
|
||||
|
||||
$updateCommand = 'cd ' . $target . ' && \
|
||||
gh pr edit "' . $gitBranch . '" \
|
||||
--repo "' . $repoName . '" \
|
||||
--title "' . $prTitle . '" \
|
||||
--body "' . $prBody . '" \
|
||||
2>&1';
|
||||
|
||||
$updateOutput = [];
|
||||
$updateReturnCode = 0;
|
||||
\exec($updateCommand, $updateOutput, $updateReturnCode);
|
||||
|
||||
if ($updateReturnCode === 0) {
|
||||
Console::success("Successfully updated pull request for {$language['name']} SDK");
|
||||
} else {
|
||||
$updateErrorMessage = implode("\n", $updateOutput);
|
||||
Console::error("Failed to update pull request for {$language['name']} SDK: " . $updateErrorMessage);
|
||||
}
|
||||
} else {
|
||||
Console::error("Failed to create pull request for {$language['name']} SDK: " . $errorMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
\exec('rm -rf ' . $target);
|
||||
\exec('chmod -R u+w ' . $target . ' && rm -rf ' . $target);
|
||||
Console::success("Remove temp directory '{$target}' for {$language['name']} SDK");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@ class StatsResources extends Action
|
|||
});
|
||||
|
||||
try {
|
||||
$dbForLogs->createOrUpdateDocuments(
|
||||
$dbForLogs->upsertDocuments(
|
||||
'stats',
|
||||
$this->documents,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ class StatsUsage extends Action
|
|||
return strcmp($a['time'], $b['time']);
|
||||
});
|
||||
|
||||
$dbForProject->createOrUpdateDocumentsWithIncrease('stats', 'value', $projectStats['stats']);
|
||||
$dbForProject->upsertDocumentsWithIncrease('stats', 'value', $projectStats['stats']);
|
||||
Console::success('Batch successfully written to DB');
|
||||
} catch (Throwable $e) {
|
||||
Console::error('Error processing stats: ' . $e->getMessage());
|
||||
|
|
@ -532,7 +532,7 @@ class StatsUsage extends Action
|
|||
return strcmp($a['time'], $b['time']);
|
||||
});
|
||||
|
||||
$dbForLogs->createOrUpdateDocumentsWithIncrease(
|
||||
$dbForLogs->upsertDocumentsWithIncrease(
|
||||
'stats',
|
||||
'value',
|
||||
$this->statDocuments
|
||||
|
|
|
|||
|
|
@ -1539,6 +1539,77 @@ class AccountCustomClientTest extends Scope
|
|||
return [];
|
||||
}
|
||||
|
||||
public function testCreateOidcOAuth2Token(): array
|
||||
{
|
||||
$provider = 'oidc';
|
||||
$appId = '1';
|
||||
|
||||
// Valid well-known configuration
|
||||
$secret = '{
|
||||
"wellKnownEndpoint": "https://accounts.google.com/.well-known/openid-configuration",
|
||||
"authorizationEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
"tokenEndpoint": "https://oauth2.googleapis.com/token",
|
||||
"userinfoEndpoint": "https://openidconnect.googleapis.com/v1/userinfo"
|
||||
}';
|
||||
|
||||
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $this->getProject()['$id'] . '/oauth2', array_merge([
|
||||
'origin' => 'http://localhost',
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => 'console',
|
||||
'cookie' => 'a_session_console=' . $this->getRoot()['session'],
|
||||
]), [
|
||||
'provider' => $provider,
|
||||
'appId' => $appId,
|
||||
'secret' => $secret,
|
||||
'enabled' => true,
|
||||
]);
|
||||
|
||||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
|
||||
$response = $this->client->call(Client::METHOD_GET, '/account/tokens/oauth2/' . $provider, array_merge([
|
||||
'origin' => 'http://localhost',
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
]), [
|
||||
'provider' => $provider,
|
||||
'success' => 'http://localhost/v1/mock/tests/general/oauth2/success',
|
||||
'failure' => 'http://localhost/v1/mock/tests/general/oauth2/failure',
|
||||
], true, false);
|
||||
|
||||
$this->assertEquals(301, $response['headers']['status-code']);
|
||||
|
||||
// Invalid well-known configuration
|
||||
$secret = '{}';
|
||||
|
||||
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $this->getProject()['$id'] . '/oauth2', array_merge([
|
||||
'origin' => 'http://localhost',
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => 'console',
|
||||
'cookie' => 'a_session_console=' . $this->getRoot()['session'],
|
||||
]), [
|
||||
'provider' => $provider,
|
||||
'appId' => $appId,
|
||||
'secret' => $secret,
|
||||
'enabled' => true,
|
||||
]);
|
||||
|
||||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
|
||||
$response = $this->client->call(Client::METHOD_GET, '/account/tokens/oauth2/' . $provider, array_merge([
|
||||
'origin' => 'http://localhost',
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
]), [
|
||||
'provider' => $provider,
|
||||
'success' => 'http://localhost/v1/mock/tests/general/oauth2/success',
|
||||
'failure' => 'http://localhost/v1/mock/tests/general/oauth2/failure',
|
||||
]);
|
||||
|
||||
$this->assertEquals(500, $response['headers']['status-code']);
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
public function testBlockedAccount(): array
|
||||
{
|
||||
$email = uniqid() . 'user@localhost.test';
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue